LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   remove /var/cache/apt files (https://www.linuxquestions.org/questions/debian-26/remove-var-cache-apt-files-418551/)

bhomass 02-22-2006 07:20 PM

remove /var/cache/apt files
 
I have critical need to cut down my file size. are the two big files

/var/cache/apt/pkgcache.bin and srcpkgcache.bin after all installation/configuration have been done?

I assume all the files in /var/lib/apt/list such as
ftp.debian.org_debian_dists_etch_main_binary-i386_Packages are no longer needed if you don't plan to run apt-get ever again? it is 15 MB big.

kushalkoolwal 02-22-2006 07:25 PM

Run
Code:

apt-get clean
apt-get autoclean


bhomass 02-22-2006 07:52 PM

I did apt-get clean and that freed up a lot of space. these are the big surviving files.


All times are GMT -5. The time now is 06:50 PM.