Re: Another sysv-rc problem on Lenny to Squeeze upgrade
On 2011-12-15 18:58 +0100, Ken Heard wrote:
> Bob Proulx wrote:
>
>> It is a good time to tidy up the system. Look through your list of
>> removed packages that have not been purged. Those are ones that have
>> been removed 'r' but still have configuration files for them 'c' left
>> on the system.
>>
>> dpkg -l | grep ^rc
>
> I ran this command and found about 120 packages labelled "rc". Is there
> a command to remove all such packages in one swell foop?
aptitude purge "~c"
Back up your /etc directory before you do that!
Sven
Reply to: