From owner-freebsd-questions@FreeBSD.ORG Tue May 25 20:35:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74A1416A4CE for ; Tue, 25 May 2004 20:35:33 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA85343D2F for ; Tue, 25 May 2004 20:35:32 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BSpC8-00042j-00 for ; Wed, 26 May 2004 05:35:08 +0200 Received: from vt-middlebury-1b-73.bur.adelphia.net ([24.48.174.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 05:35:08 +0200 Received: from scott by vt-middlebury-1b-73.bur.adelphia.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 05:35:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Scott I. Remick" Date: Tue, 25 May 2004 23:35:05 -0400 Lines: 36 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: vt-middlebury-1b-73.bur.adelphia.net User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) X-Archive: encrypt Sender: news Subject: Package database corruption... need assistance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 03:35:33 -0000 Hello. A friend of mine is running 5.1-REL and has somehow managed to get some serious corruption on her package database. It's more than I've come across before so I wanted to find out the easiest way to clean this up. The way things stand now, she gets lots of stale dependency errors when doing an pkgdb -F. Such as: Stale dependency: AbiWord2-gnome-2.0.3 -> libIDL-0.8.2 (devel/libIDL): libvorbis-1.0.1,3 (score:18%) ? ([y]es/[n]o/[a]ll) [no] Which suggests that libIDL isn't installed... but according to ls /var/db/pkg it actually is. I had her try going into /usr/ports/devel/libIDL to do a "make clean install" but we get this: ===> Checking if devel/glib20 already installed pkg_info: /var/db/pkg/XFree86-fontCyrillic-4.3.0/+CONTENTS: No such file or directory *** Error code 1 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/libIDL. She has the folder /var/db/pkg/XFree86-fontCyrillic-4.3.0/ with some files (+COMMENT,+DESC,+MTREE_DIRS,+REQUIRED_BY) but not +CONTENTS. Presumably a lot of her other stale-dependency errors (and there are many from pkgdb -F) are also corrupted /var/db/pkg folders. What's the easiest way of fixing this? Do each of the problem programs need to be "make deinstall" and "make clean reinstall"? That's a lot. :(