⚠️ Archived Post
This is an archived post from my previous blog (2007-2014). It may contain outdated information, broken links, or deprecated technical content. For current writing, please see the main Writing section.

Speicherzugriffsfehleresen... 97%

Originally published on May 6, 2008

OK, Debian is strange. I just added a new package source to my sources.list which now looks like this:

deb http://ftp2.de.debian.org/debian etch main contrib non-free
deb http://ftp.de.debian.org/debian testing main contrib non-free

Then I added this to /etc/apt/apt.conf

APT::Default-Release "stable";

Now I naively thought I could just run apt-get update. ERRR. Wrong! Right at the end I was greeted with this:

Speicherzugriffsfehleresen... 97%

What a charming misspelled useless cryptic error message, just the way I like them. After some research I found out that this message seems to read

Segmentation faultsts ... x%

on English systems. Some more research brought me here. Possibly some good tips there, but none of them helped.

What did help was this: Increase the cache limit for apt-get! Add this to your apt.conf:

APT::Cache-Limit "20000000";

If it still doesn’t work, you might have to increase it even more. It would have saved me a lot of time if apt-get would just tell me “Your cache size is too small for the selected number of package sources. Increase the cache limit by setting the APT::Cache-Limit in your apt.conf file, for example APT::Cache-Limit “20000000”;”

Oh well.


Comments

goodhealth said...

did not work for me either on RHEL4
please help

December 18, 2008 10:02 AM

Chronos said...

Just gave the nail on the head!
6 month later, this is still not fixed...
Thank you!!

October 24, 2008 08:10 PM

Anonymous said...

It works, thank you!
Schorsch

May 13, 2008 12:49 PM