问题:
Reading package lists... Error!
E: Problem parsing dependency Depends
E: Error occurred while processing xxxxx (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_squeeze_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
the one thing that stands out the most to me is that it’s happening with the same MergeList off the very same package mirror and directory of that mirror. This naturally leads me to wonder if there isnt something in that mirror folder thats corrupt, or something there thats causing users’ local package databases to become corrupt. Even that swapping around of the status file in /var/lib/dpkg didnt seem to help at all. Any suggestions?
Hmm, sorry chris, only just saw this post on the thread, so apologies for the necropost to ALL. But, since this thread started I have found out a couple of methods for fixing these sort of errors without reverting to any drastic measures, and that normally work. If for anything, I will document them here for posterity.
First, dpkg has some neat options for fixing some problems, especially those with the “available” file. Here’s the link…
…of particular use is the…
Code:
dpkg --clear-avail
…command, when update complains of problems with the available file. And when there are problems with the MergeList, as in your case, simply clear them out with…
Code:
rm /var/lib/apt/lists/* --force
For both cases, a subsequent apt-get update appears to fix most problems. I seem to have “discovered” that if you use dpkg, on Debian, taking the time to learn dpkg’s various command facets is one of the most worthwhile things you can do.