Re: pkg (aka pkgng) 1.0 released

看板FB_current作者時間13年前 (2012/09/08 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/16 (看更多)
On Aug 30, 2012, at 9:43 AM, John Nielsen <lists@jnielsen.net> wrote: > Thanks to everyone involved. >=20 > 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: >=20 > 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 tried this again so I could provide some more details. This is what = shows in the terminal when it stalls: ---> Backing up the old version ---> Uninstalling the old version USING PKGNG ---> Deinstalling 'pkg-1.0' ---> Preserving /usr/local/lib/libpkg.so.0 as = /usr/local/lib/compat/pkg/libpkg.so.0 The following packages will be deinstalled: pkg-1.0 The deinstallation will free 7 MB Deleting pkg-1.0... done [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ...=20 Running ps in another terminal shows "pkg query %n-%v". Since the actual = pkg is now gone, I suspect this is really /usr/sbin/pkg. I further = suspect that it's waiting for y/n input (whether to install the binary = pkg) on its nonexistent stdin somewhere. I killed it (pkg) and = portupgrade seemed to finish normally. > 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. >=20 > JN >=20 > On Aug 30, 2012, at 8:19 AM, Baptiste Daroussin <bapt@freebsd.org> = wrote: >=20 >> After 2 years of development (first commit "Tue Sep 7 2010"), more = than 2000 >> commits, 43 different contibutors. The pkgng team is proud to = release pkg-1.0! >>=20 >> [...] >>=20 >> Tools supporting natively pkgng >> - ports-mgmt/portupgrade-devel (soon the main portupgrade will = support) >> [...] >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GIjyh5S (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GIjyh5S (FB_current)