Re: Deleting unused configuration files

2008-10-25 Thread Andrei Popescu
On Thu,23.Oct.08, 13:44:53, Marco Romano wrote: > John Merchant ha scritto: >> Hello all, I have a lot of unused configuration files left in /etc from >> removed packages. Is there any way I can automatically remove them all? > > You can get the list of all removed but not purged packages with: >

Re: Re: Deleting unused configuration files

2008-10-23 Thread Jan Muszynski
Simplest way: aptitude purge ~c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Deleting unused configuration files

2008-10-23 Thread Mehdi Dogguy
John Merchant wrote: > Hello all, I have a lot of unused configuration files left in /etc from > removed packages. Is there any way I can automatically remove them all? > Actually, there is even a simpler solution: - Start aptitude - Look for « Non-installed packages » in the list - Press « _ »

Re: Deleting unused configuration files

2008-10-23 Thread Mehdi Dogguy
John Merchant wrote: > Hello all, I have a lot of unused configuration files left in /etc from > removed packages. Is there any way I can automatically remove them all? > All packages flagged « c » by aptitude are deleted packages with configuration files still present on the disk. Another ide

Re: Deleting unused configuration files

2008-10-23 Thread Γιώργος Μιχαλογιωργάκη ς
O/H John Merchant έγραψε: > Hello all, I have a lot of unused configuration files left in /etc from > removed packages. Is there any way I can automatically remove them all? > Hi, with dpkg -l | grep '^rc' | awk '{print $2}' you can see all the packages that have been removed but there are lef

Re: Deleting unused configuration files

2008-10-23 Thread Johann Spies
On Thu, Oct 23, 2008 at 09:38:29PM +1030, John Merchant wrote: > Hello all, I have a lot of unused configuration files left in /etc from > removed packages. Is there any way I can automatically remove them all? aptitude purge Regards Johann -- Johann Spies Telefoon: 021-808 4036 Inf

Re: Deleting unused configuration files

2008-10-23 Thread Marco Romano
John Merchant ha scritto: Hello all, I have a lot of unused configuration files left in /etc from removed packages. Is there any way I can automatically remove them all? You can get the list of all removed but not purged packages with: $ dpkg -l | awk '/^rc/{print $2}' or, in case you prefer