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

Re: help in purging old packages



On Vi, 09 ian 15, 16:54:39, Darac Marjal wrote:
> 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?
 
    aptitude search '?narrow(?installed,?not(?archive(^stable$)))'

If you are satisfied with the result replace 'search' with 'purge'.
 
> 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 :)

I must be misunderstanding something, but why would anyone want to 
remove those?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: