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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/87sjklya2f.fsf@xxxxxxxxxxxxx



Relevant Pages

  • Re: Building Chromium from source on Debian 6.0.1 Stable
    ... is it a problem that some of the packages are being ... -t sid" command you ran simply installs a binary from sid, ... "build-dep" command there, so I'm not sure). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Apt-get autoremove question
    ... When I run the command "apt-get autoremove" it wants to remove 115 ... You probably removed some package that depended on those packages. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Automatically purging non-official packages
    ... :) Consider the command "rm" in the same ... priviledges, such as removing packages. ... don't like to automate packaging related tasks and why I'm not going to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • dpkg-query
    ... Does exist a command line which allows me to look for packages of the configured repository? ... Even though it is possible that I'm doing something wrong, whenever I use the command "dpkg-query --list" I don't get the same list of packages that the search form of Debian's web return to me ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • How to setup ADSL broadband connection
    ... How to make ADSL broadband connnection. ... Please advise which command shall I run to make connection. ... Can I select packages to download? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)