From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 00:14:44 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 E5B8816A4CE for ; Sun, 12 Dec 2004 00:14:44 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92C5C43D31 for ; Sun, 12 Dec 2004 00:14:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.250] (pool-68-160-207-47.ny325.east.verizon.net [68.160.207.47]) by pi.codefab.com (8.12.11/8.12.11) with ESMTP id iBC0EgZv041061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Dec 2004 19:14:43 -0500 (EST) Message-ID: <41BB8D71.6040801@mac.com> Date: Sat, 11 Dec 2004 19:14:41 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brett Glass References: <6.2.0.14.2.20041211162451.05b17c98@localhost> <41BB87FB.7090700@mac.com> <6.2.0.14.2.20041211165724.05a6a2d0@localhost> In-Reply-To: <6.2.0.14.2.20041211165724.05a6a2d0@localhost> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 00:14:45 -0000 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. -- -Chuck