From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 12:45:32 2003 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 BB4D637B401 for ; Wed, 11 Jun 2003 12:45:32 -0700 (PDT) Received: from tchoubou.scientiae.net (scientiae.net [62.4.18.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FDC043FB1 for ; Wed, 11 Jun 2003 12:45:31 -0700 (PDT) (envelope-from viny@scientiae.net) Received: from tchoubou.scientiae.net (localhost.scientiae.net [127.0.0.1]) h5BJpA67048633 for ; Wed, 11 Jun 2003 21:51:10 +0200 (CEST) (envelope-from viny@scientiae.net) Received: (from viny@localhost) by tchoubou.scientiae.net (8.12.9/8.12.9/Submit) id h5BJpAXA048632 for freebsd-questions@FreeBSD.ORG; Wed, 11 Jun 2003 21:51:10 +0200 (CEST) Date: Wed, 11 Jun 2003 21:51:10 +0200 From: Viny To: FREEBSD-questions Message-ID: <20030611195110.GA48453@tchoubou.scientiae.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-STABLE i386 X-Spam-Status: No, hits=-2.5 required=5.0 tests=USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Pkgdb corrupted : doesn't recognized installed ports 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, 11 Jun 2003 19:45:33 -0000 Hi As I was upgrading my ports, my system crashed (have to find out why, but this is another problem) and rebooted. I was using portupgrade and it seems to have messed up the port/pkg db because now, when I run pkgdb -F, it tells me about stale depencies like 'x11-toolkits/vte', 'mozilla-gtk2', 'yelp' and so on, though these are already installed. Of course, as it considers them not installed, it doesn't show them as a "possibility", I can't deinstall them using pkg_deinstall... Any way to fix this other than reinstalling the "missing" ports by hand (cd /usr/ports/[missing port] && make install clean) ? And because some of these ports have been updated in the port tree (e.g. vte), I'm afraid to mess up the db even more (not sure reinstalling the new version of vte over the old one would do any good). Thanks in advance