This page is READ-ONLY. It is generated from the old site.
If you are looking for TeX support, please use the VietTUG Google Group
If you are looking for TeX support, please use the VietTUG Google Group
Debian: get more spaces by deleteing /var/{cache,lib}/apt/
Oh this is really tricky :)
»
Votes:
1/1
Sometimes the system disk is full, and a very quick way to fix the problem is to delete all unnecessary files. The two directories /var/{cache,lib}/apt/ are the first ones you would concern: The cache contains binary files and binary packages for apt-get program, you can safely delete it
$ rm -vf /var/cache/apt/*.bin $ rm -vf /var/cache/apt/archives/*.* $ rm -vf /var/lib/apt/lists/*.*
The following directories should be kept to help apt-get to work fine:
# /partial/ contains partial downloaded files /var/cache/apt/archives/partial/ /var/lib/apt/lists/partial/
Next time when you want to install/update packages, you would use apt-get autoclean first
$ apt-get autoclean $ apt-get update $ # Other apt-get commands
See another post Apt Get Cache Clean
Comments
Commited in https://github.com/icy/pacapt/commit/bc3dca10c5856831ca50e34ae853a998eaad27a9