Portupgrade now supports pkgng [/usr/ports/UPDATING]

Patrick Lamaiziere patfbsd at davenulle.org
Sun Oct 28 14:28:17 UTC 2012


Le Sat, 27 Oct 2012 21:22:32 +0300,
Alexander Kapshuk <alexander.kapshuk at gmail.com> a écrit :

> Having done all of the above, I ran portupgrade to update all the
> pkgs that needed upgrading on my system, and got the message below:
> root at box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s'
> USING PKGNG
> Packages are not yet suported. Use pkg(8) directly.
> 
> That doesn't sound like portupgrade supports pkgng, or did I misread
> the message in the UPDATING file?

pkg is able to make packages upgrade by itself. I think the good way
to update with packages is "pkg updgrade" then portupgrade to build the
ports without packages avalaible.

Anyway I had many problems with portupgrade and pkg (basically It was
not able to build its database because of inconsistency in
ports dependencies), portmaster with pkgng patch looks better.

Regards.


More information about the freebsd-questions mailing list