Results 1 to 2 of 2

Thread: Knoppix 6.2 CD - apt-get update, error

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    1

    Knoppix 6.2 CD - apt-get update, error

    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/sta...es/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?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    You will have to add a line like
    Code:
    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
    Code:
    apt-get update
    then you will see that the error has disappeared.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor picture

Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor

$66.25



VPS Windows / Linux Server - 12GB  RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year picture

VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year

$278.29



Canonical Ubuntu Linux - DVD / USB Drive - 24.04 LTS / 23.10 / 22.04 / 18 / 16 picture

Canonical Ubuntu Linux - DVD / USB Drive - 24.04 LTS / 23.10 / 22.04 / 18 / 16

$9.99



1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM picture

1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM

$428.00



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$899.95



The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server New Sealed picture

The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server New Sealed

$25.00



Linux Server Administration CBT Training Videos picture

Linux Server Administration CBT Training Videos

$5.25



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



VPS Windows / Linux Server 8GB RAM + 1TB HDD + Unlimited Bandwidth [ 1 Year ] picture

VPS Windows / Linux Server 8GB RAM + 1TB HDD + Unlimited Bandwidth [ 1 Year ]

$278.29