Our fileserver is running an ancient version of Debian:(Linux zebra 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown). I thought however it would be nice to try and install geneweb on it (if indeed this package is available for this ancient Debian). However when I try to do an apt-get I receive an error message saying that MMap has run out of room. I am a bit confused as there is about 4GB spare in /.
What has gone wrong?
Sagr.
################### zebra:~# apt-get install geneweb Reading Package Lists... Error! E: Dynamic MMap ran out of room E: Error occured while processing libobjc-lf2-dev (NewVersion1) E: Problem with MergeList /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stable_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened. zebra:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hdc5 5763616 1428352 4042484 27% / /dev/hdc7 28834716 2093684 25276308 8% /home /dev/hdc8 1921156 1074024 749540 59% /shared/CDROM /dev/hdc10 36131688 20 34296244 1% /backups zebra:~#
On Tue, Jul 24, 2007 at 07:24:59AM +0100, sagr wrote:
Our fileserver is running an ancient version of Debian:(Linux zebra 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown).
This doesn't actually tell us which version of debian it is, but from a guess as to how old that kernel is, and that it ends in bf2.4, I'd say that it's either woody or sarge.
What's the contents of the /etc/debian_version file? ;)
I thought however it would be nice to try and install geneweb on it (if indeed this package is available for this ancient Debian). However when I try to do an apt-get I receive an error message saying that MMap has run out of room. I am a bit confused as there is about 4GB spare in /.
MMap is memory allocation, not disk space - add the following like to /etc/apt/apt.conf (create the file if it doesn't exist):
APT::Cache-Limit "20000000";
And that should get it working. Other than serving files, does that machine do anything? It might be worth setting aside a (few) hours to upgrade it to a recent version of debian.
Cheers,
On Tuesday, July 24, 2007 8:30 AM, Brett Paker wrote:
What's the contents of the /etc/debian_version file? ;)
zebra:/etc# cat debian_version 3.0
MMap is memory allocation, not disk space - add the following like to /etc/apt/apt.conf (create the file if it doesn't exist):
APT::Cache-Limit "20000000";
And that should get it working.
Excellent! Thanks for that! apt-get now runs! Unfortunately however apt-get has now hit another problem when trying to install geneweb:
zebra:/etc/apt/apt.conf.d# apt-get install geneweb Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: coreutils debianutils e2fslibs e2fsprogs initscripts iso-codes libacl1 libattr1 libblkid1 libc6 libc6-dev libcomerr2 libdevmapper1.02 libselinux1 libsepol1 libss2 libuuid1 linux-kernel-headers lsb-base mktemp mount sysv-rc sysvinit sysvinit-utils tzdata The following packages will be REMOVED: libnss-db locales The following NEW packages will be installed: coreutils e2fslibs geneweb initscripts iso-codes libacl1 libattr1 libblkid1 libcomerr2 libdevmapper1.02 libselinux1 libsepol1 libss2 libuuid1 linux-kernel-headers lsb-base mktemp sysv-rc sysvinit-utils tzdata 6 packages upgraded, 20 newly installed, 2 to remove and 562 not upgraded. Need to get 0B/18.0MB of archives. After unpacking 31.0MB will be used. Do you want to continue? [Y/n] y E: This installation run will require temporarily removing the essential package e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option. E: Internal Error, Could not early remove e2fsprogs
I tried adding "APT::Force-LoopBreak" to the config file (as it seems to be suggesting) but I still get the same error message:
E: This installation run will require temporarily removing the essential package e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option. E: Internal Error, Could not early remove e2fsprogs
It is a bit worrying that it says "this is often bad". Do you think perhaps apt-get is trying to install too many things at once or is it the geneweb package itself which is causing problems?
Other than serving files, does that machine do anything?
It is a machine I inherited so I do not know exactly how it is set up but it is the companies main Samba File Server. I think it also does clever things with Spam Assassin and acts as a IMAP server for all the companies incoming mail.
It might be worth setting aside a (few) hours to upgrade it to a recent version of debian.
Bearing in mind how central it is to the running of the company I am very reluctant to upgrade it's OS in case I mess up it's configuration or break something especially as apt-get does seem to be suggesting that the geneweb package is available for our existing version of Debian.
Does anyone have any suggestions on how to get around my "E: Internal Error, Could not early remove e2fsprogs" apt-get error?
Sagr.
On Wed, Jul 25, 2007 at 08:08:30AM +0100, sagr wrote:
On Tuesday, July 24, 2007 8:30 AM, Brett Paker wrote:
What's the contents of the /etc/debian_version file? ;)
zebra:/etc# cat debian_version 3.0
MMap is memory allocation, not disk space - add the following like to /etc/apt/apt.conf (create the file if it doesn't exist):
APT::Cache-Limit "20000000";
And that should get it working.
Excellent! Thanks for that! apt-get now runs! Unfortunately however apt-get has now hit another problem when trying to install geneweb:
Err, woah! That's, err, woody. That's really quite old... when I say really quite old, I mean there's no longer security support for that, it's the release before "oldstable" (sarge)... you'll probably find that your package list is trying to pick up stable and that's why "strange" things are happening.
I'd be tempted, at this point, to say either (a) get someone that knows to upgrade the machine - probably outside of office hours or (b) install geneweb elsewhere (still, you'll want someone to upgrade the machine sometime soon!)
Cheers,