Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2004 17:25:22 -0700
From:      Brett Glass <brett@lariat.org>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        questions@freebsd.org
Subject:   Re: Un-GNOME-ing a FreeBSD box
Message-ID:  <6.2.0.14.2.20041211172443.05e4edf0@localhost>
In-Reply-To: <41BB8D71.6040801@mac.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
What a mess! I can't believe that he could do this just by typing "make",
and that there would be no easier way to back things out.

--Brett

At 05:14 PM 12/11/2004, Chuck Swiger wrote:
  
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.0.14.2.20041211172443.05e4edf0>