Re: Why is help so hard to find?
Am Sonntag, 16. Januar 2011 schrieb Marc Haber:
> On Sat, 15 Jan 2011 18:02:06 -0800, Russ Allbery <rra@debian.org>
>
> wrote:
> >Adam Borowski <kilobyte@angband.pl> writes:
> >> On Fri, Jan 14, 2011 at 04:07:58PM -0800, Russ Allbery wrote:
> >>> Huh. Every system I've upgraded had no problems.
> >>
> >> I find this strange, since every system that has ever been etch will
> >> have at least libdevmapper1.02 which stops insserv from migrating.
> >
> >Judging from further discussion, it looks like the reason why I've never
> >seen this is that I routinely purge deinstalled packages on all my
> >systems
>
> $ cat lennyupdate/update.d/060_dpkg-purge-removed
> #!/bin/bash
>
> echo "purge removed packages"
> dpkg --purge $(dpkg --list | grep '^rc' | awk '{print $2}') foo
>
> RESULT="done"
>
> # end of file
>
> Good to hear that I won't be having _this_ problem.
>
> Greetings
> Marc
Hi Marc,
I believe "aptitude purge ~c" does the same. Also you might want to take a
look at "orphaner" or "deborphan" to get rid of orphaned libs.
Using those regularly I keep my system clean now since debian sarge.
Good luck!
Hans
Reply to: