Cleaning up apt repositories
There are several ways to clean up the aptitude manager
apt clean
→ cleans the packages and install script in /var/cache/apt/archives/apt autoclean
→ cleans obsolete deb-packages, less than cleanapt autoremove
→ removes orphaned packages which are not longer needed from the system, but not purges them, use the--purge
option together with the command for that.
WARNING
--purge
removes also the configuration files, so be careful!
This post is licensed under CC BY 4.0 by the author.