Fwd: re: Portupgrade now supports pkgng [/usr/ports/UPDATING]
alexander.kapshuk at gmail.com
Sat Oct 27 19:38:45 UTC 2012
If my reading the code snippet below is right, portupgrade-126.96.36.199 does
not support pkgng yet if pkgdb has been converted for use with pkgng
# FIXME: pkgng
if $use_packages && $pkgdb.with_pkgng?
STDERR.puts "Packages are not yet suported. Use pkg(8) directly."
-------- Original Message --------
Subject: re: Portupgrade now supports pkgng [/usr/ports/UPDATING]
Date: Sat, 27 Oct 2012 21:22:32 +0300
From: Alexander Kapshuk <alexander.kapshuk at gmail.com>
To: freebsd-questions at freebsd.org
Quick question about portupgrade's support for pkgng.
The /usr/ports/UPDATING says:
AFFECTS: users of ports-mgmt/portupgrade
AUTHOR: bdrewery at FreeBSD.org
Portupgrade now supports pkgng. To use pkgng, enable it in your
and convert your databases.
This is optional and not currently required.
# make -C /usr/ports/ports-mgmt/pkg install clean
# echo 'WITH_PKGNG=yes' >> /etc/make.conf
# pkgdb -fu
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'
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?
box0=; uname -a
FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2
17:11:45 UTC 2012
root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
More information about the freebsd-questions