Answers:
aptitude purge ~c也可以正常工作
~[user]是有效的POSIX代字扩展名。
c
对于那些不想安装的人aptitude:
sudo dpkg -P $(dpkg -l | awk '/^rc/ { print($2) }')
该--purge标志删除不再安装的软件包的配置文件。我不建议盲目删除所有已卸载软件包的配置文件。您可能要保留其中一些。对于单个包装,dpkg -P将起作用(-P代表--purge)。这里alacarte仅安装了其配置文件,因此带有rc标志。例如
orwell:/home/faheem# dpkg -l alacarte
[...]
rc alacarte 0.11.5-1 easy GNOME menu editing tool
orwell:/home/faheem# dpkg -P alacarte
(Reading database ... 345418 files and directories currently installed.)
Removing alacarte ...
Purging configuration files for alacarte ...
orwell:/home/faheem# dpkg -l alacarte
[...]
un alacarte <none> (no description available)
autoremove混乱。