http://users.cis.fiu.edu/~lusec001/moin.cgi/Software/OBSD_Recursive_pkg_del

Luis

On Sat, Feb 19, 2011 at 7:03 PM, Jona Joachim <j...@hcl-club.lu> wrote:

> On 2011-02-19, Marc Espie <es...@nerim.net> wrote:
> > At least jeremy@ and landry@ got confused about this, so I expect more
> people
> > to ask.
> >
> > The algorithms for package updates are a bit complicated, to say the
> least.
> > When you update a package with shared libraries, those can get split off
> > into a separate package with a .lib name (which is well known).
>
> FWIW, I have this ugly python script that I wrote some years ago and use
> regularly:
> http://www.pastie.org/1583994
>
> It shows all packages which are not required by any other package and
> lets you remove them recursively. It will also show .libs which are not
> required anymore. I use it after every pkg_add -ui and every once in a
> while to get rid of stuff I don't need anymore.
> It would perhaps be interesting to reimplement it in python using the
> OpenBSD::Pkg* libraries.
>
> Best regards,
> Jona
>
> --
> Worse is better
>    Richard P. Gabriel

Reply via email to