![sudo apt install 可以工作,但 sudo apt-get purge --autoremove 在我的系统上留下了很多垃圾。无法删除它们](https://linux22.com/image/1195320/sudo%20apt%20install%20%E5%8F%AF%E4%BB%A5%E5%B7%A5%E4%BD%9C%EF%BC%8C%E4%BD%86%20sudo%20apt-get%20purge%20--autoremove%20%E5%9C%A8%E6%88%91%E7%9A%84%E7%B3%BB%E7%BB%9F%E4%B8%8A%E7%95%99%E4%B8%8B%E4%BA%86%E5%BE%88%E5%A4%9A%E5%9E%83%E5%9C%BE%E3%80%82%E6%97%A0%E6%B3%95%E5%88%A0%E9%99%A4%E5%AE%83%E4%BB%AC.png)
我刚刚使用 安装了 neofetch。sudo apt install neofetch.
当我使用 卸载它时sudo apt-get purge --autoremove
,我注意到它从未删除过许多软件包以及一堆字体。我不得不返回并自动删除它留下的每个软件包,释放 10MB 的空间,但它仍然无法删除字体文件夹,因为(文件夹不为空)。我使用这些命令错了吗?还是它本来就应该这样工作?
dpkg: warning: while removing fonts-urw-base35, directory '/usr/share/fonts/type1/urw-base35' not empty so not remove
dpkg: warning: while removing fonts-urw-base35, directory '/usr/share/fonts/opentype/urw-base35' not empty so not rem
Purging configuration files for poppler-data (0.4.11-1) ...
dpkg: warning: while removing poppler-data, directory '/usr/share/poppler/cMap/Adobe-Korea1' not empty so not removed
dpkg: warning: while removing poppler-data, directory '/usr/share/poppler/cMap/Adobe-Japan2' not empty so not removed
dpkg: warning: while removing poppler-data, directory '/usr/share/poppler/cMap/Adobe-Japan1' not empty so not removed
dpkg: warning: while removing poppler-data, directory '/usr/share/poppler/cMap/Adobe-GB1' not empty so not removed
dpkg: warning: while removing poppler-data, directory '/usr/share/poppler/cMap/Adobe-CNS1' not empty so not removed
dpkg: warning: while removing poppler-data, directory '/usr/share/fonts/cmap' not empty so not removed
dpkg: warning: while removing poppler-data, directory '/usr/share/fonts/cMap' not empty so not removed
Purging configuration files for gsfonts (1:8.11+urwcyr1.0.7~pre44-4.5) ...
dpkg: warning: while removing gsfonts, directory '/usr/share/fonts/type1/gsfonts' not empty so not removed
dpkg: warning: while removing fonts-noto-mono, directory '/usr/share/fonts/truetype/noto' not empty so not removed
Purging configuration files for fonts-droid-fallback (1:6.0.1r16-1.1build1) ...
dpkg: warning: while removing fonts-droid-fallback, directory '/usr/share/fonts/truetype/droid' not empty so not removed