Subject: Re: HEADS UP: deprecation and removal of xorg 6.9
To: Joerg Sonnenberger <email@example.com>
From: Steven M. Bellovin <firstname.lastname@example.org>
Date: 08/09/2007 11:28:00
On Thu, 9 Aug 2007 17:10:16 +0200
Joerg Sonnenberger <email@example.com> wrote:
> On Thu, Aug 09, 2007 at 05:00:45PM +0200, Jan Danielsson wrote:
> > What's the easiest way to upgrade? Hmm.. That's a pretty stupid
> > question, since you just wrote that. But what I actually want to
> > know is what the best way to "start from scratch" is. If I want to
> > remove all packages which in any way depend on xorg, how would I go
> > about doing that? Or is it simpler to just remove all packages and
> > start over?
> pkg_delete -r xorg-imake
> pkg_delete -r xorg-libs
> should do the trick.
I'd suggest using pkgdepgraph instead, since it will also generate a
script to rebuild what you've deleted.
What I really recommend, though, is using pkg_info -u to get a list of
the top-level packages you want, and build everything in a subtree via
pkg_comp. Then delete and reinstall.
--Steve Bellovin, http://www.cs.columbia.edu/~smb