PDA

View Full Version : Knoppix 6.2 CD - apt-get update, error



Krazefish
01-27-2011, 01:46 PM
I was attempting to load the flash player (using LXTerminal Root) via "apt-get update" & received the following error:
root@Microknoppix:/home/knoppix# apt-get update
Ign http://debian-knoppix.alioth.debian.org ./ Release.gpg
Ign http://debian-knoppix.alioth.debian.org ./ Release
Ign http://debian-knoppix.alioth.debian.org ./ Packages/DiffIndex
Ign http://debian-knoppix.alioth.debian.org ./ Packages
Ign http://debian-knoppix.alioth.debian.org ./ Packages
Get:1 http://debian-knoppix.alioth.debian.org ./ Packages [13.9kB]
Get:2 http://volatile.debian.org stable/volatile Release.gpg [481B]
Get:3 http://volatile.debian.org stable/volatile Release [40.7kB]
Ign http://volatile.debian.org stable/volatile/main Packages/DiffIndex
Ign http://volatile.debian.org stable/volatile/contrib Packages/DiffIndex
Ign http://volatile.debian.org stable/volatile/non-free Packages/DiffIndex
Get:4 http://volatile.debian.org stable/volatile/main Packages [7866B]
Get:5 http://volatile.debian.org stable/volatile/contrib Packages [14B]
Get:6 http://volatile.debian.org stable/volatile/non-free Packages [791B]
Get:7 http://ftp.de.debian.org stable Release.gpg [1033B]
Get:8 http://ftp.de.debian.org testing Release.gpg [835B]
Get:9 http://ftp.de.debian.org unstable Release.gpg [835B]
Get:10 http://ftp.de.debian.org experimental Release.gpg [835B]
Get:11 http://ftp.de.debian.org stable Release [73.8kB]
Get:12 http://ftp.de.debian.org testing Release [89.9kB]
Get:13 http://ftp.de.debian.org unstable Release [104kB]
Get:14 http://ftp.de.debian.org experimental Release [102kB]
Get:15 http://ftp.de.debian.org experimental Release [102kB]
Ign http://ftp.de.debian.org stable/main Packages/DiffIndex
Ign http://ftp.de.debian.org stable/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org stable/non-free Packages/DiffIndex
Get:16 http://ftp.de.debian.org testing/main Packages/DiffIndex [2038B]
Get:17 http://ftp.de.debian.org testing/contrib Packages/DiffIndex [2023B]
Get:18 http://ftp.de.debian.org testing/non-free Packages/DiffIndex [2023B]
Get:19 http://ftp.de.debian.org unstable/main Packages/DiffIndex [2038B]
Get:20 http://ftp.de.debian.org unstable/contrib Packages/DiffIndex [2023B]
Get:21 http://ftp.de.debian.org unstable/non-free Packages/DiffIndex [2023B]
Get:22 http://ftp.de.debian.org stable/main Packages [5193kB]
Err http://security.debian.org stable/updates Release.gpg
Temporary failure resolving 'security.debian.org'
Get:23 http://security.debian.org testing/updates Release.gpg [835B]
Get:24 http://security.debian.org testing/updates Release [44.6kB]
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Get:25 http://security.debian.org testing/updates/main Packages [47.6kB]
Get:26 http://security.debian.org testing/updates/contrib Packages [14B]
Get:27 http://security.debian.org testing/updates/non-free Packages [14B]
Get:28 http://ftp.de.debian.org experimental/main Packages/DiffIndex [2023B]
Get:29 http://ftp.de.debian.org experimental/contrib Packages/DiffIndex [2023B]
Get:30 http://ftp.de.debian.org experimental/non-free Packages/DiffIndex [2023B]
Get:31 http://ftp.de.debian.org stable/contrib Packages [76.2kB]
Get:32 http://ftp.de.debian.org stable/non-free Packages [100kB]
Get:33 http://ftp.de.debian.org testing/main Packages [6568kB]
Get:34 http://ftp.de.debian.org testing/contrib Packages [54.1kB]
Get:35 http://ftp.de.debian.org testing/non-free Packages [109kB]
Get:36 http://ftp.de.debian.org unstable/main Packages [6955kB]
Get:37 http://ftp.de.debian.org unstable/contrib Packages [60.4kB]
Get:38 http://ftp.de.debian.org unstable/non-free Packages [122kB]
Get:39 http://ftp.de.debian.org experimental/main Packages [891kB]
Get:40 http://ftp.de.debian.org experimental/contrib Packages [6139B]
Get:41 http://ftp.de.debian.org experimental/non-free Packages [13.1kB]
Fetched 20.7MB in 4min 52s (70.8kB/s)
Reading package lists... Error!
W: Failed to fetch http://security.debian.org/dists/stable/updates/Release.gpg Temporary failure resolving 'security.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing gnokii (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.

What can do to increase the size of APT::Cache-Limit?

klaus2008
01-28-2011, 03:48 AM
You will have to add a line like
APT::Cache-Limit "50000000"; to a configuration file of the apt program. I would create a new file called /etc/apt/apt.conf.d/11cache-limit with an editor.

The value of 50000000 is a guess. It needs to be greater than 25165824 and I made the experience myself that 50000000 will be sufficient. If you reissue the command
apt-get update then you will see that the error has disappeared.