[Bug 735491] Re: apt can't recover from file corruptions
Jameson Collins
735491 at bugs.launchpad.net
Mon May 30 00:25:56 UTC 2011
*** This bug is a duplicate of bug 226361 ***
https://bugs.launchpad.net/bugs/226361
fixed this on my system by doing
Sudo rm /var/lib/apt/lists/*
Sudo rm /var/lib/apt/lists/partial/*
Sudo apt-get update -f
--
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