[Bug 735491] Re: apt can't recover from file corruptions
Julian Andres Klode
juliank at ubuntu.com
Tue May 31 11:05:18 UTC 2011
*** This bug is a duplicate of bug 346386 ***
https://bugs.launchpad.net/bugs/346386
** This bug is no longer a duplicate of bug 226361
apt-get update fails forever for corrupted /var/lib/apt/lists/foo_Packages
** This bug has been marked a duplicate of bug 346386
[MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/735491
Title:
apt can't recover from file corruptions
Status in “apt” package in Ubuntu:
New
Bug description:
Binary package hint: apt
This morning I'm getting lots of errors from apt-get update of the
form:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_restricted_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
This affects files such as
us.archive.ubuntu.com_ubuntu_dists_natty_main_i18n_Translation-en
us.archive.ubuntu.com_ubuntu_dists_natty_main_i18n_Translation-en%5fUS
us.archive.ubuntu.com_ubuntu_dists_natty_multiverse_i18n_Translation-en
us.archive.ubuntu.com_ubuntu_dists_natty_multiverse_i18n_Translation-en%5fUS
The resolution appears to be to move the files aside and re-update,
however it seems like apt should just do that itself. Self-recovery
would be much more user friendly.
I'll attach the offending files in the event that would be helpful.
More information about the foundations-bugs
mailing list