Subject: Re: HEADS UP: deprecation and removal of xorg 6.9
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 08/09/2007 11:28:00
On Thu, 9 Aug 2007 17:10:16 +0200
Joerg Sonnenberger <joerg@britannica.bec.de> 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