pkg upgrade not working properly [was: pkgng messed up]

Matthew Seaman matthew at freebsd.org
Wed May 21 16:44:41 UTC 2014


On 05/21/14 17:29, Nagy László Zsolt wrote:
>> Essentially, if you want other than the default versions of perl,
>> postgresql etc. then you're going to have to compile any packages in
>> those dependency trees yourself.  <Obligatory mention of poudriere goes
>> here.>

> I would be very happy to update every package to the current
> pkg.freebsd.org version. But how do I do that?

You need to identify every package generating these sort of conflicts,
and then tell pkg that it should use a different port (identified by
port origin) for any upgrades using 'pkg set' like so:

    pkg set -o category/old-port:category/new-port

So in the case of replacing postgresql93-client with postgresql90-client
you run:

   pkg set -o databases/postgresql93-client:databases/postgresql90-client

Now when you run your 'pkg upgrade' it will tell you it is upgrading
(sic) postgresql93-client to postgresql90-client.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1029 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140521/b279e6d9/attachment.sig>


More information about the freebsd-questions mailing list