On Thu, Feb 16, 2012 at 12:12 PM,  <kei...@strucktower.com> wrote:
>
>> You can check which packages are uninstalled but still have their
>> config hanging around with "aptitude search '?config-files'".
>>
>> You can then run "apt-get purge <package>" to get rid of the config
>> one particular package or "apt-get purge $(aptitude search
>> '?config-files' -F '%p" to get rid of all the leftover configs.
>
> Thanks for posting this gem!
>
> However, I could be wrong, but I think there is a typo. Might just be how
> my web translation came across. The last command should be:
>
> $sudo apt-get purge $(aptitude search '?config-files' -F %p)
>
> No tick in front of the %p and a close-parenthesis at the end. One might
> also use the --dry-run option first as well just in case...

You're welcome.

Yes. TYPO! I'm sorry, thanks for correcting it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sykg3ekpeaipqrkaefdmtuslgj8nz8cmomtm8vtyf0...@mail.gmail.com

Reply via email to