[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get update: Fehlermeldung



Hallo, Andreas

>Von: Andreas Tille [mailto:tillea@rki.de]
>Gesendet: Mittwoch, 27. November 2002 13:55
>An: J.F. Lehmanns deutsche Debian Liste
>Betreff: apt-get update: Fehlermeldung

>Hallo,

>hat jemand schon mal sowas beobachtet:
>
>   ~> sudo apt-get update
>   ...
>   Fetched 2115B in 1s (1346B/s)
>   Reading Package Lists... Error!
>   E: Dynamic MMap ran out of room
>   E: Error occured while processing pine (NewVersion1)
>   E: Problem with MergeList /var/lib/dpkg/status
>   E: The package lists or status file could not be parsed or opened.
>
>Irgendwie scheint sich ein Fehler in /var/lib/dpkg/status eingeschlichen zu
>haben.  Wenn ich dies Datei probehalber verschiebe und ein einfaches
>    touch /var/lib/dpkg/status
>mache, funktioniert apt-get update - natürlich denkt sich natürlich das
>System - ich hätte überhaupt keine Pakete installiert.
>
>Es handelt sich bei mir um ein Woody-System mit einigen wenigen Paketen
>aus testing.
>
>Eine Idee, wie man die status - Datenbank wieder fixen kann?
>
>Viele Grüße
>
>       Andreas.


habe gerade etwas gefunden, was für dich vielleicht intessant wäre
(http://katspace.net/computers/linux_tips.shtml)

____________________________________________________________________________
________________________________________________

Debian-Specific
apt-get tips
After you have your apt-get set up to do basic stuff, you might want to
investigate pinning, which is basically something which enables you to
declare that you are following a particular branch (like "stable") but also
add in the URLs for the other ones, so that one can use apt-get to download
something from, say, unstable, without having to grab the package by hand
and install it by hand.

Here are some articles:

< http://lists.debian.org/debian-kde/2002/debian-kde-200201/msg00622.html > 
< http://www.sdn.or.id/share/SurvivalGuide/Pinning_Distributions.html > 
< http://www.argon.org/~roderick/apt-preferences > 
One problem I ran into after I set this up, was that I got the following
error:

        Reading Package Lists... Error!
        E: Dynamic MMap ran out of room
        E: Dynamic MMap ran out of room
        E: Error occured while processing libcgi-fast-perl (NewVersion1)
        E: Problem with MergeList /var/lib/dpkg/status
        E: The package lists or status file could not be parsed or opened.


This happened because Debian is so big now, that once I started listing
multiple sources, it couldn't cope with them all with its default settings
for its Dynamic MMap (which stands for Dynamic Memory Map I think). The way
this gets fixed is to add the APT::Cache-Limits parameter to your
/etc/apt/apt.conf file, with a size greater than 6MB. The value has to be in
bytes. Thus, when I changed mine to 12MB (I thought doubling it might be
enough) I put in the following line:

APT::Cache-Limit 12582912;

(12582912 is 12 * 1024 * 1024) See "man apt.conf" for more details. (And
"man apt-config" for a command to let you see what your current config is).
____________________________________________________________________________
_________________________________________________


Übrigens auf meinem System habe ich in diesem Verzeichnis kein apt.config
stehen

Gruss
Sergej




Reply to: