我正在尝试从中节省一些空间,/var/cache/apt
但是该apt autoclean
命令没有任何影响。这是为什么?
root@server:/var/cache# du -sh *
4.7G apt
3.2M debconf
20K ldconfig
1.9M man
8.0K PackageKit
8.0K postgresql
root@server:/var/cache# apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@server:/var/cache# du -sh *
4.7G apt
3.2M debconf
20K ldconfig
1.9M man
8.0K PackageKit
8.0K postgresql
在Debian 9上工作。
试试sudo apt clean
,本文将更详细地介绍这两个命令,但是基本上autoclean
删除了已卸载的程序包,同时clean
删除了已卸载的程序包和缓存的.deb文件。
https://www.how2shout.com/linux/apt-get-command-autoclean-clean-autoremove/
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句