Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to update serveral remote ubuntu servers running 6.06 (even LTS isn't that long). They are all at different remote locations. I would like to at least have a shot at upgrading without the trips, but (apparently) the sources are not available.

For example:

Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/dapper-updates/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.92.181 80]

This site suggested changing sources.list. It fails

E: Dynamic MMap ran out of room
E: Error occurred while processing brother-lpr-drivers-bh7 (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_pre cise_multiverse_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Suggestions?

share|improve this question

closed as off-topic by Thomas W., Braiam, Eric Carvalho, Avinash Raj, karel Jan 13 at 3:29

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
Since others have covered the apt issues adequately, here's my two cents on your grand upgrade plan: don't do it. Yes, in theory you can do an LTS chain-upgrade, i.e. 6.06-->8.04-->10.04-->12.04 (even remotely!) In practice, even if you were to do it in person, it's going to be a LOT more complicated than simply running do-release-upgrade, waiting, and running it again. You will most probably run into multiple issues at each step that will take time to resolve before you can move on to upgrading to the next LTS in your chain. Unless your time is worth (almost) nothing, you are probably b –  izx Jul 9 '12 at 0:23
1  
While I admit my answer may have prompted this question's closure, on reflection I don't think this is a duplicate of How do I fix a “Problem with MergeList” error when trying to do an update?. This appears to be a related but different issue, as explained quite well in Gilles's excellent answer. I suggest that this be reopened (then that answer will presumably be accepted). –  Eliah Kagan Jul 9 '12 at 14:59
add comment

2 Answers 2

This error is due to memory management limitations in older versions of APT. Edit /etc/apt/apt.conf to increase the memory size limit to get over this hurdle:

APT::Cache-Limit "16777216";

Try apt-get update again. If it still fails, increase the number until it works.

If you had enabled nonofficial software sources, disable them (comment them out in /etc/apt/sources.list.

Furthermore, you seem to be trying to upgrade directly from 6.06 to 12.04. This is not supported, and skipping so many versions is likely to cause trouble. No one tried this or made any effort to make it work. You should upgrade piecewise: from 6.06 to 8.04 (the next LTS), then to 10.04, then to 12.04. You might stick to 10.04 which will still be supported for some time (aren't you going to decommission this hardware which is presumably going on 6 years old?).

share|improve this answer
add comment

The error E: Dynamic MMap ran out of room is a little different from the more common MergeList errors, but it's still worth trying the standard approach to fix it:

First remove the Merge List by opening a terminal (Hit Ctrl-Alt-T to launch) and running this command

sudo rm /var/lib/apt/lists/* -vf

Next generate a new one by running a simple update

sudo apt-get update

Source: Answer to "Problem with MergeList" error when trying to do an update by Allan.

If that doesn't work, please provide feedback about whether or not anything is different.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.