Cannot upgrade from custom repo
Matthew Seaman
matthew at FreeBSD.org
Thu Nov 19 22:46:39 UTC 2015
On 19/11/2015 22:12, Dan Langille wrote:
> See above and:
>
> # 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
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.
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.
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.
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 957 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20151119/964bcf53/attachment.bin>
More information about the freebsd-pkg
mailing list