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

Re: help in purging old packages



On Fri, Jan 09, 2015 at 11:23:17AM -0500, Comer Duncan wrote:
>    Hi,
> 
>    I have a situation in which I am running wheezy 7.7 and for various
>    reasons now want to purge all packages which for some reason are still
>    present from etch, lenny, and squeeze.  What I would like to know is how
>    can I purge all such packages using dpkg?  I can not seem to find how to
>    select just those old packages for purging. Can those who know about this
>    please help?

If you want to purge all packages which have been uninstalled but for
which configuration remains: aptitude purge ?config-files

If you want to purge all packages which are installed but which no
longer have a candidate in debian: aptitude purge ?obsolete

If you want to purge all packages which are installed and installable,
but where the version is the same as in an earlier release... that's
probably going to need some scripting :)

> 
>    Thanks.

Attachment: signature.asc
Description: Digital signature


Reply to: