On Saturday 20 August 2011 00:14:07 Walter Dnes wrote:

>   Here's my "autodepclean" script.  It parses the output of a pretend
> depclean and generates, but does not execute, a script called
> "cleanscript", which has to be run as root.  Note the warning to check
> "cleanscript" before running it.  Remove the commands to unmerge the
> stuff you want to keep.  In addition to some gentoo-sources kernels, it
> now wants to remove nano, ever since "virtual/editor" showed up in
> Gentoo.  I get the warning...
> 
> !!! 'app-editors/nano' (virtual/editor) is part of your system profile.
> !!! Unmerging it may be damaging to your system.
> 
>   Here's the script...

Interesting - thanks! It found an unused library file (qdbm) here that 
nothing else had.

One suggestion: I'd create cleanscript in /tmp rather than wherever I 
happened to be at the time.

-- 
Rgds
Peter           Linux Counter 5290, 1994-04-23

Reply via email to