apt can't recover from corrupted cache files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
If files in /var/apt/
I originally saw the error when trying to run update-manager, which just reported it couldn't read some configuration and suggested there might be dependency errors and then closed down, which was even more user-unfriendly.
See attached error log for an example output from apt-get.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apt 0.8.0ubuntu3
ProcVersionSign
Uname: Linux 2.6.35-19-generic i686
Architecture: i386
Date: Sat Sep 4 10:54:59 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
ProcEnviron:
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: apt
Have you tried to run
$ sudo apt-get clean
before manually removing any files? Usually this removes any offending cached files and they will get downloaded again.