Created
January 13, 2017 13:41
-
-
Save vladbabii/6f6739fc0a2dd9cac9a2b358ed826b3f to your computer and use it in GitHub Desktop.
Remove apt cached deb files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "DPkg::Post-Invoke {\"/bin/rm -f /var/cache/apt/archives/*.deb || true\";};" > /etc/apt/apt.conf.d/clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use an https://help.ubuntu.com/community/Apt-Cacher-Server so i have no need to cache the packages on each server individually.