pkg (aka pkgng) 1.0 released

Bryan Drewery bryan at shatow.net
Thu Aug 30 16:53:18 UTC 2012


On 8/30/2012 10:43 AM, John Nielsen wrote:
> Thanks to everyone involved.
> 
> I've been lightly testing pkg for a little while, but I still mainly use ports. This announcement prompted me to switch from portupgrade to portupgrade-devel (20120827 version) to see how it works with PKGNG. I encountered a couple issues:
> 
> Portupgrade doesn't remove the pkgdb.db.lock reliably.
> Portupgrade doesn't handle stale lock files (just waits indefinitely for a nonexistent process to finish). A big problem when combined with the above.
> Running "portupgrade pkg" failed. It stalled trying to unregister the package installation after the old pkg was removed. I didn't dig too deeply but it seems like a dependency chicken-and-egg problem.
> 
> I was able to reinstall using /usr/sbin/pkg, and I also tested "make && make deinstall && make reinstall" of ports-mgmt/pkg successfully, so it may just be a portupgrade issue.
> 

Thank you. I'll add some sort of check to prevent this.


> JN
> 

Bryan (portupgrade maintainer)



More information about the freebsd-ports mailing list