Subject: Re: How to delete *all" packages at once?
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Nuno Teixeira <email@example.com>
Date: 03/05/2005 15:57:51
I'm thinking something like:
pkgdepgraph -Da > /tmp/delete_order
pkg_delete `cat /tmp/delete_order`
For what I read in the manual, -Da will list all packages in the
following order: ``least required first''.
Is this correct?
On Sat, Mar 05, 2005 at 10:37:01AM -0500, Steven M. Bellovin wrote:
> In message <20050305153325.GB361@nunotex.local>, Nuno Teixeira writes:
> >Hello to all,
> >I'm moving from pkgsrc-2004Q4 to pkgsrc-current and I decided to install
> >all my programs from scratch.
> >I have tried `pkg_delete "*"` and it works but I need to run this
> >command several times.
> >Does anyone knows a better way to do this?
> You could use pkgdepgraph to build the dependency list.
> --Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb
SDF Public Access UNIX System - http://sdf.lonestar.org