From owner-freebsd-ports Fri Dec 27 10:16:18 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3384437B401 for ; Fri, 27 Dec 2002 10:16:17 -0800 (PST) Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by mx1.FreeBSD.org (Postfix) with SMTP id 37E1943EE5 for ; Fri, 27 Dec 2002 10:16:16 -0800 (PST) (envelope-from reichert@numachi.com) Received: (qmail 24357 invoked by uid 1001); 27 Dec 2002 18:19:34 -0000 Date: Fri, 27 Dec 2002 13:19:34 -0500 From: Brian Reichert To: ports@freebsd.org Subject: 'pkgdb -F' choking on nonexistant package? Message-ID: <20021227181934.GD559@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've had great fun messing with upgrading my ports via portupgrade, et al., under 4.7-RELEASE. I seem to have tricked myself, somehow, though: # pkgdb -F ---> Checking the package registry database No such file or directory - "/var/db/pkg/galeon-1.2.6/+REQUIRED_BY" It looks like galeon went from 'galeon-1.2.6' to 'galeon-1.2.6_1' I deleted the gaelon package, and now it doesn't show up in my package list: # pkg_info -a | grep galeon Yet, 'pkgdb -F' keeps yielding the same error message. If I try to install a new package: # portupgrade -PP -new galeon ---> Session started at: Fri, 27 Dec 2002 13:13:53 -0500 ---> Checking the availability of the latest package of 'www/galeon' ---> Found a package of 'www/galeon': /mnt/build/packages/All/galeon-1.2.6_1.tgz ---> Upgrade of www/galeon started at: Fri, 27 Dec 2002 13:13:55 -0500 ---> Upgrading 'galeon-1.2.6' to 'galeon-1.2.6_1' (www/galeon) using a package OK? [no] ---> Upgrade of www/galeon ended at: Fri, 27 Dec 2002 13:13:55 -0500 (consumed 00:00:00) ---> Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed) + www/galeon (galeon-1.2.6) ---> Session ended at: Fri, 27 Dec 2002 13:13:55 -0500 (consumed 00:00:02) It doesn't really get installed, despite the 'succeeded' message. Retrying with '-f' doesn't help, either. I'm confused by the non-prompt 'using a package OK? [no]'; it just slaps by; it's not really a question I'm being asked. Does anyone know how to clear up this inconsistency, and how can I prevent it from happening again? -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message