4

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?

Leon
  • 41

2 Answers2

3

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?).

1

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 How do I fix a "Problem with MergeList" or "status file could not be parsed" error when trying to do an update? by Allan.

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

Eliah Kagan
  • 119,640