[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cleaning Up Alternatives

Mike McClain wrote:
> If these leftovers are due to packages removed but not purged, this
> will tell you:
>     grep -B1 "Status: deinstall ok config-files" /var/lib/dpkg/status \
>         | grep "Pac" | cut -d" " -f2
> and
>     for f in $( the above line ); do dpkg -P $f; done
> will clean up.

Just for fun:
  aptitude purge '~c'
would do the same, I think.

Reply to: