From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 01:42:18 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 89B0916A4CE for ; Sun, 12 Dec 2004 01:42:18 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 445EC43D45 for ; Sun, 12 Dec 2004 01:42:18 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 20641 invoked from network); 12 Dec 2004 01:42:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Dec 2004 01:42:17 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 63DEC44; Sat, 11 Dec 2004 20:42:17 -0500 (EST) Sender: lowell@be-well.ilk.org To: Chuck Swiger References: <6.2.0.14.2.20041211162451.05b17c98@localhost> <41BB87FB.7090700@mac.com> <6.2.0.14.2.20041211165724.05a6a2d0@localhost> <41BB8D71.6040801@mac.com> From: Lowell Gilbert Date: 11 Dec 2004 20:42:17 -0500 In-Reply-To: <41BB8D71.6040801@mac.com> Message-ID: <44k6ro5m2u.fsf@be-well.ilk.org> Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Brett Glass cc: questions@freebsd.org Subject: Re: Un-GNOME-ing a FreeBSD box 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: Sun, 12 Dec 2004 01:42:18 -0000 Chuck Swiger writes: > Brett Glass wrote: > > I'm unfamiliar with "pkgdb". What does it do? > > When you change a huge number of dependencies by deleting gnome and/or > X11, it's a good idea to upgrade the pakacge database: > > The pkgdb command is a tool to create or update the system package data- > base which is used by the portupgrade(1) tool suite. It maintains a hash > that maps an installed file to a package name, a hash that maps a package > to an origin, and a list of installed packages. > [ ... ] > The pkgdb command also works as an interactive tool for fixing the pack- > age registry database when -F is specified. It helps you resolve stale > dependencies, unlink cyclic dependencies, complete stale or missing ori- > gins and remove duplicates. You should run this command periodically so > portupgrade(1) and other pkg_* tools can work effectively and reliably. > > You might find that portupgrade wants to pull in X11 again for some > port that was left over; you will then need to either delete such > ports, or recompile them without X11, or find an alternate, etc > depending on the specifics. That isn't supposed to happen. If another port has X11 listed as a dependency, "make deinstall" would have said so and refused to remove it..