PDA

View Full Version : [ubuntu] Corrupted Packages inside /var/cache/apt/archives ?



Mr_VeRiTy
May 17th, 2010, 06:06 AM
Hi, sometimes when installing a package that I un-installed a while ago, it installs it from /var/cache/apt/archives but whenever it does that it always fails, and says something about "short read buffer [location]" if i download the package manually at packages.ubuntu.com then install it, it works fine, is this because the packages in /var/cache/apt/archives are corrupted, and if so how do I clear them?




Thanks.

davidgutu
September 27th, 2010, 03:13 AM
someone please help. i'd like to know too.

thanks:KS

plucky
September 27th, 2010, 01:11 PM
someone please help. i'd like to know too.

thanks:KS

From a terminal (Applications > Accessories > Terminal)
sudo apt-get clean will clear out the .deb files from /var/cache/apt/archives.

Read
man apt-get in the terminal window to find out what apt-get does.

Good Luck

Mr_VeRiTy
October 7th, 2010, 06:19 PM
someone please help. i'd like to know too.

thanks:KS
@davidgutu
Since I first made this thread I've already figured out what was causing the corruption, it turns out that my hard drive had lots of bad sectors, and they were spreading, so if I were you i'd check your smart status by going to System>administration>disk utility, and locating your hard drive, as bad sectors can cause your whole hard drive to go corrupt.