Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 22:12:09 -0500
From:      Dan Langille <dan@langille.org>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Cannot upgrade from custom repo
Message-ID:  <DD532562-FC46-49A7-ACFB-AFB510B540DB@langille.org>
In-Reply-To: <564E5142.4020408@FreeBSD.org>
References:  <9D053084-3D0D-4CAF-A309-37D3C5766D43@langille.org> <564E3C62.8070306@FreeBSD.org> <9EE4925F-1E32-4162-8E32-4A285D9E30B5@langille.org> <564E5142.4020408@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Nov 19, 2015, at 5:46 PM, Matthew Seaman <matthew@FreeBSD.org> =
wrote:
>=20
> On 19/11/2015 22:12, Dan Langille wrote:
>> See above and:
>>=20
>> # pkg upgrade -r local mysql56-server
>> Updating local repository catalogue...
>> local repository is up-to-date.
>> All repositories are up-to-date.
>> pkg: No packages available to upgrade matching 'mysql56-server' have =
been found in the repositories
>=20
> That is annoying.  Looks like the error message is telling you the =
wrong
> 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 =
conflict
> somewhere that's making pkg(8) want to install a different version of
> 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):

Installed packages to be UPGRADED:
	perl5: 5.18.4_17 -> 5.20.3_8

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)

The operation will free 494 KiB.
14 MiB to be downloaded.

> You shouldn't need to specify '-r local' all the time -- pkg remembers
> what repo a package came from initially, and will prefer to upgrade it
> from the same place.  It can't /always/ do that but I find it's been
> pretty reliable at it for many months now.

Thanks.

=E2=80=94=20
Dan Langille
http://langille.org/








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD532562-FC46-49A7-ACFB-AFB510B540DB>