Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2015 08:13:23 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Cannot upgrade from custom repo
Message-ID:  <564ED623.5060005@FreeBSD.org>
In-Reply-To: <DD532562-FC46-49A7-ACFB-AFB510B540DB@langille.org>
References:  <9D053084-3D0D-4CAF-A309-37D3C5766D43@langille.org> <564E3C62.8070306@FreeBSD.org> <9EE4925F-1E32-4162-8E32-4A285D9E30B5@langille.org> <564E5142.4020408@FreeBSD.org> <DD532562-FC46-49A7-ACFB-AFB510B540DB@langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QNfvgMv3rjjflSLCCKAIGacwspjjPnOQj
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 20/11/2015 03:12, Dan Langille wrote:
>> That is annoying.  Looks like the error message is telling you the wro=
ng
>> > reason about why pkg(8) doesn't want to upgrade mysql56-server.
>> >=20
>> > What do you get if you tell pkg(8) to plan an upgrade of everything?=

>> > ie. what does 'pkg upgrade -n' produce?  I wonder if there's a confl=
ict
>> > somewhere that's making pkg(8) want to install a different version o=
f
>> > mysql or some such.

> $ sudo pkg upgrade -n
> Updating local repository catalogue...
> local repository is up-to-date.
> All repositories are up-to-date.
> Checking for upgrades (11 candidates): 100%
> Processing candidates (11 candidates): 100%
> The following 10 package(s) will be affected (of 0 checked):
>=20
> Installed packages to be UPGRADED:
> 	perl5: 5.18.4_17 -> 5.20.3_8
>=20
> Installed packages to be REINSTALLED:
> 	pam_ssh_agent_auth-0.10.2_1 (direct dependency changed: perl5)
> 	p5-Proc-WaitStat-1.00_1 (direct dependency changed: perl5)
> 	p5-MIME-Types-2.12 (direct dependency changed: perl5)
> 	p5-MIME-Base64-3.15 (direct dependency changed: perl5)
> 	p5-IPC-Signal-1.00_1 (direct dependency changed: perl5)
> 	nagios-plugins-2.1.1_3,1 (direct dependency changed: perl5)
> 	mime-construct-1.11_2 (direct dependency changed: perl5)
> 	logcheck-1.3.17 (direct dependency changed: perl5)
> 	aspell-0.60.6.1_5 (direct dependency changed: perl5)
>=20
> The operation will free 494 KiB.
> 14 MiB to be downloaded.

Hmmm... So your repo has perl5-5.20.x but your machine is still on 5.18.x=
?

On my own machine:

% pkg info -dr mysql56-server
mysql56-server-5.6.27
Depends on     :
	mysql56-client-5.6.27
	perl5-5.22.0_4

mysql server has a dependency on perl5, so pkg(8) should be proposing to
upgrade perl5 as part of the update of mysql56-server.

Is there any reason you can't upgrade perl5 on this machine?  I've a
feeling doing that will help.  Or if you can't upgrade perl5, how about
changing the default version back to 5.18 in your repo?  Perl is one of
those packages that (almost) everything depends on, and pkg(8) will find
it difficult to handle updates if it can't bring perl up to the version
all the other packages in the repo are expecting.

	Cheers,

	Matthew




--QNfvgMv3rjjflSLCCKAIGacwspjjPnOQj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2

iQJ8BAEBCgBmBQJWTtYpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATRekP/jPlsmbpRlHM+Egn/RhZHTwl
ASQR9XId3H8YSMBTGXU9TEEydaGuFvUKzpE47uTGLs7RFGYHiQ3JQZpGbN8mnJ2H
kksd5Kwr0O3/69P33+az4eYxqh+gHNZ8XYYha1/K2WQzo1BuSqH/UcJD7n6PbNeK
0XQCtVHvCt+trxdCe/99haBVXyllNzTDOY562x4T5TvNavYxy3yMKhZog37w113/
+k9dTZ3yr6oXToSBaaKpBEcrJHyjmzGqnZ6ZtAi27crmyAtjCx1gF53IhD61Anj3
uzyeG6d25ikBRvRIYfwAHXFunheexRjyWgYs7Ji9xDflvKbBk5pEs0mFJFU2E90F
jnO8f9nakedUfa5nxZwzcu0r4wI9cxNT2ZxhyG63M7RVImTjte2u/JawqEjRY6da
9bHnGYyYk4T8v4HjdJ3VEqsLbr9ILsEoRW6/Wyeb/pMnCugrTThJhjcIjfAHvXyD
aNMR3aQz9W+Kx2bxBtK9TArrtq88hPTizefHYolC6h8J7ROG6PrzUmX1E2wFMFX0
8HzDlP5p9k88CGroTSHjFf3VdKiszC2SUpMvabiPfcr29tw0zZYF68S23/qUwusl
Uhg206A0/IBjXUBdP3iiW/2TIQxCjn0OCi1doMOy5GYBSjbUhO4rmlFOoudDiJqw
YRQUKVAS4P4RYMuLjIOv
=WXs8
-----END PGP SIGNATURE-----

--QNfvgMv3rjjflSLCCKAIGacwspjjPnOQj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564ED623.5060005>