Results 1 to 10 of 11

Thread: How do I remove "residual config" through the Terminal?

Threaded View

  1. #1
    Join Date
    Feb 2012
    Beans
    2

    How do I remove "residual config" through the Terminal?

    The Synaptic Package Manager has the option to selection all of the unused packages in "Not Installed (Residual Config)" section.

    What I want to know is how do I do this in the Terminal?

    I have used the usual commands: apt-get clean/autoclean/autoremove but some unused packages still remain and show up in the Synaptic Package Manager and the Terminal:

    $ sudo apt-get clean && sudo apt-get autoremove --purge -y $(dpkg -l | grep '^rc' | awk '{print $2}')
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED
    (list of packages)
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    How can I use the same function that the Synaptic Package Manager has but in the Terminal?
    Last edited by Sevenleafbranch; February 13th, 2012 at 03:12 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •