Zvětšení cache pro apt

12.06.2007 13:49
Nálepky: linux

Dnes mi při apt-get update na jednom starším routeru (Debian 3.0) došla cache pro apt. To jsem se ale dozvěděl až po chvíli googlení. Rešení je jednoduché

Chyba, která se při apt-get update objevila:

Reading Package Lists… Error!
E: Dynamic MMap ran out of room
E: Error occured while processing wesnoth (NewVersion1)
E: Problem with MergeList /var/lib/apt/lis­ts/ftp.cz.debi­an.org_debian_dis­ts_etch_main_bi­nary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Řešení je zvýšit v konfikuračním souboru aptu cache:

APT::Cache-Limit 8388608;

Já jsem tento konfigurační soubor na Debian 3.0 nalezl v:  /etc/apt/apt.con­f.d/70debconf , ale normálně by asi měl být v /etc/apt/apt.conf .


Komentáře:

Tento zápisek ještě nikdo nekomentoval. Můžeš být první.