Tag Archives: debian

apt-get error “Dynamic MMap ran out of room”

Posted on .

After adding a few extra repositories to /etc/apt/sources.list I then ran an apt-get update and came accross the following error:

Fetched 8399kB in 5s (1427kB/s)
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing umbrello (NewVersion1)
E: Problem with MergeList [...]
E: The package lists or status file could not be parsed or opened.

The reason being is that the disk cache used by apt when parsing packages is now too small to handle the number of packages available.

On debian, I created a new file at /etc/apt/apt.conf.d/99user adding the following line:

APT::Cache-Limit "20000000";

Don’t forget the trailing semicolon (;).

This fix is for any distro using apt-get, like debian, ubuntu etc.

exiv2 — compile issue

Posted on .

Being given a DVD of photos, I ran my exifsort script to sort the images into date stamped folders and found the camera that had taken the pictures had the year set to 2026.

I came accross a handy utility to modify the EXIF timestamp of the images called exiv2 at www.exiv2.org. Unfortunately Debians repository is horribly out of date, so I grabbed the source from their site.

I began with a ./configure and came accross this error:

configure: error: either specify a valid expat installation with --with-expat=DIR or disable XMP support with --disable-xmp

It was easily fixed by installing the libexpat1-dev package,
apt-get install libexpat1-dev

Exiv2 compiled nicely after that.