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
  •  


ALLEN BRADLEY 1494V-DS400 SER A DISCONNECT SWITCH 3PH 400AMP 600VAC  STK 5039 picture

ALLEN BRADLEY 1494V-DS400 SER A DISCONNECT SWITCH 3PH 400AMP 600VAC STK 5039

$1220.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$259.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$540.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$399.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$45.74



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$77.78



Intel Core i5-10505 SRH38 3.20GHz Processor | Grade A picture

Intel Core i5-10505 SRH38 3.20GHz Processor | Grade A

$105.00



T Intel Core i7-11700 2.5GHz 16MB 8-Core picture

T Intel Core i7-11700 2.5GHz 16MB 8-Core

$169.99