portupgrade and pkgng (again)

Bryan Drewery bdrewery at FreeBSD.org
Sat Oct 12 11:27:34 UTC 2013


On 10/12/2013 2:36 AM, Alexey Dokuchaev wrote:
> Hi there,
> 
> I have a remote -CURRENT box which i'd rather not src-update now (r248373,
> ca. March).  Apparently it's recent enough to default to pkgng.
> 
> I wanted to upgrade some ports of mine today, and installed my favorite
> portupgrade just to discover that it does not see any packages: it seems
> to fail to parse /var/db/pkg/local.sqlite (convert it to its own pkgdb.db)
> and reports that I have nothing installed.

This doesn't happen anymore. It just reads directly from pkg-query now.

> 
> Usual dances with adding WITH_PKGNG to make.conf, pkgdb -fu et al. did not
> help.  Any clues?
> 
> One note: I have rather old version of pkg installed, pkg-1.0.7.  I may

This is the problem. Portmaster and Portupgrade do not support 1.0.x.
They require 1.x.x now due to using 'pkg info -x' to look for pkg or
pkg-devel installed.

> try to forcibly deinstall it and reinstall from ports, but I want to be
> sure doing so won't render my existing package database unusable.  Is it
> safe (and worth) thing to do?
> 
> Thanks,
> 
> ./danfe
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131012/1e7474a0/attachment.sig>


More information about the freebsd-ports mailing list