Date: Wed, 10 Oct 2001 05:42:28 +0900 From: "Akinori MUSHA" <knu@iDaemons.org> To: Alfred Perlstein <bright@mu.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/sysutils/portupgrade Makefile distinfo Message-ID: <861ykc4kaz.wl@archon.local.idaemons.org> In-Reply-To: <20011009153001.Z59854@elvis.mu.org> References: <200110092023.f99KNlI60557@freefall.freebsd.org> <20011009153001.Z59854@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 9 Oct 2001 15:30:01 -0500, Alfred Perlstein wrote: > Both of these programs throw a really bad error message when > the package database is corrupt or broken, something like: > > "Can't instance IO" > > Perhaps the opening of the databases could be wrapped in a > try block that explains that the reason it may have failed was > because of a corrupt /var/db/pkg/pkg.db file and the user > should back it and and try to regenerate it. Yes, I have it on my ToDo list. I'm working on getting things more stable and robust. I've just made all the tools work either with or without a pkgdb.db file, and that is the next task I must accomplish. I'm going to make the pkg db routines to differentiate unrecoverable errors from recoverable errors and automatically regenerate a pkg db as necessary, so users won't need to take care of their db's themselves. -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861ykc4kaz.wl>