From owner-cvs-all Tue Oct 9 13:42:37 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id 68DD237B401; Tue, 9 Oct 2001 13:42:30 -0700 (PDT) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id D6E954D805; Wed, 10 Oct 2001 05:42:28 +0900 (JST) Date: Wed, 10 Oct 2001 05:42:28 +0900 Message-ID: <861ykc4kaz.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/sysutils/portupgrade Makefile distinfo In-Reply-To: <20011009153001.Z59854@elvis.mu.org> References: <200110092023.f99KNlI60557@freefall.freebsd.org> <20011009153001.Z59854@elvis.mu.org> User-Agent: Wanderlust/2.7.4 (Too Funky) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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