man apt-get
clean
clean clears out the local repository of retrieved package files.
It removes everything but the lock file from
/var/cache/apt/archives/ and /var/cache/apt/archives/partial/.
autoclean
Like clean, autoclean clears out the local repository of retrieved
package files. The difference is that it only removes package files
that can no longer be downloaded, and are largely useless. This
allows a cache to be maintained over a long period without it
growing out of control. The configuration option
APT::Clean-Installed will prevent installed packages from being
erased if it is set to off.
autoremove
autoremove is used to remove packages that were automatically
installed to satisfy dependencies for other packages and are now no
longer needed.
Is there a way to have sudo apt-get to not "clean, autoclean, or autoremove" those things which we actually need or use?
I use BleachBit which is actually in one of the directories set for "apt-get clean" so right now if I run "sudo apt-get clean" guess what will happen to my BleachBit.
In autoclean it says the configuration option will prevent installed packages from being erased if it is set to off. How can I know which ones are set to off and how do I set one to off?
Last time I ran autoremove...some automatically installed packages that I actually use were removed. How can I prevent autoremove from removing the ones I actually use?
- - , .
برچسب:
نویسنده: استخدام کار