Date: Fri, 27 Dec 2002 16:38:13 -0500 From: Brian Reichert <reichert@numachi.com> To: ports@freebsd.org Subject: Re: 'pkgdb -F' choking on nonexistant package? Message-ID: <20021227213813.GB26396@numachi.com> In-Reply-To: <20021227181934.GD559@numachi.com> References: <20021227181934.GD559@numachi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 27, 2002 at 01:19:34PM -0500, Brian Reichert wrote: > 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. My workaround, which seems to have helped in my case: I noticed that I could do a pkg_add of galeon-1.2.6_1.tgz. That created a dirctory called /var/db/pkg/galeon-1.2.6_1. I symlinked this to /var/db/pkg/galeon-1.2.6, and re-ran pkgdb: # pkgdb -F ---> Checking the package registry database [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 204 packages found (-1 +25) (...)......................... done] Duplicated origin: www/galeon - galeon-1.2.6 galeon-1.2.6_1 Unregister any of them? [no] y Unregister galeon-1.2.6 keeping the installed files intact? [no] yes -> galeon-1.2.6_1 is kept. --> Saving the galeon-1.2.6's +CONTENTS file as /var/db/pkg/galeon-1.2.6_1/+CONTENTS.galeon-1.2.6 --> Unregistering galeon-1.2.6 --> Done. [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 203 packages found (-1 +0) (...) done] Stale dependency: gnome-fifth-toe-1.4.1b2_2 -> galeon-1.2.6 (www/galeon): Fixed. (-> galeon-1.2.6_1) Stale dependency: xanim-2.80.2 -> freetype2-2.1.2 (print/freetype2): Fixed. (-> freetype2-2.1.2_1) Stale dependency: xanim-2.80.2 -> XFree86-libraries-4.2.1_1 (x11/XFree86-4-libraries): Fixed. (-> XFree86-libraries-4.2.1_5) My symlink seems to have been deleted, and pkgdb is satisfied, and I can continue with my upgrade, for now... -- Brian 'you Bastard' Reichert <reichert@numachi.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021227213813.GB26396>