Timeline for How do I remove configuration files for a program that's not installed?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 17, 2013 at 23:21 | comment | added | Hakanai | Hmm, that is not my experience. When I run purge, it says "Package $package is not installed, so not removed", and then it still shows up in the list. | |
Jul 18, 2012 at 6:26 | comment | added | Blacklight Shining |
Just tested this again. Did a dpkg --get-selections | grep deinstall , then picked one of the packages from that output. dpkg -L $package listed several configuration files the package had created. apt-get remove $package returned a not-installed-so-not-removed warning, but apt-get purge $package asked if I wanted to continue with removing the package, then did so. After that, it did not show up in dpkg --get-selections | grep deinstall .
|
|
Jul 13, 2012 at 20:11 | comment | added | nik |
Hmm. Did you try dpkg -L on these packages? Does it show any files?
|
|
Jul 13, 2012 at 19:00 | comment | added | Blacklight Shining |
Actally, it seems like if you apt-get remove a package that has configuration files, you can later remove them just with apt-get purge $package . IIRC, I'd tried that and it didn't work, through, giving me a package-not-installed error…
|
|
Jul 13, 2012 at 18:38 | history | answered | nik | CC BY-SA 3.0 |