Comment 61 for bug 346386

Revision history for this message
Manfred Hampl (m-hampl) wrote :

@Steven and others:
The package management programs store information about available packages, their versions, and their sources in some files on your computer.
The problem that you encounter is caused by wrong contents in some of these files.
The recently published changes in the apt package prevent that running a package management update command creates new files with wrong contents, but they do not solve the problem if you have already such situation on your system.

To clean up this status please see https://answers.launchpad.net/ubuntu/+faq/1591

Either run:
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial

or perform a full package management troubleshooting as described in
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure