Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Request Info regarding current menu items for Knoppix 6.2.1 etc/apt/sources.list

  1. #1
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    Request Info regarding current menu items for Knoppix 6.2.1 etc/apt/sources.list

    Dear Mods and members,
    I have a very old laptop of 2006 which is still in prestine condition and runs best in Knoppix 6.2.1. Later versions slow it down.

    Of late I realised that I need to update the /etc/apt/sources.list to include certain packages. However, Debian Lenny has since moved to Archive. I would need to change the sources.list entries. Lenny archive is straightforward. Security info and line is bit complicated, I can't implement it.
    Please advise.
    Regards

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Perhaps https://www.howtoforge.com/using-old...r-sources.list may help you. Now also Debian wheezy is oldstable and without security support.

  3. #3
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    I thought since knoppix is a mix it would be complicated. However it appears straightforward! I was also worried about my invalid keys. Mant thanks!

  4. #4
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    apologies: two typos - (prestine and mant) Pristine and Many

  5. #5
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    Some VITAL INFO for Installation of Old Knoppix in old computers (go till end!)

    Read till the end:

    My current sources.list:
    Code:
    # Debian/Lenny is the stable base for this installation.
    # For update of key,  apt-get install debian-archive-keyring
    deb http://archive.debian.org/debian/ lenny contrib main non-free
    deb http://archive.debian.org/debian-security lenny/updates main contrib non-free
    
    # testing/unstable/experimental contain newer versions, but
    # packages from there are not being installed by default, unless
    # they came from there in the first place.
    deb http://ftp.de.debian.org/debian squeeze main contrib non-free
    deb http://security.debian.org/ squeeze/updates main contrib non-free
    deb http://ftp.de.debian.org/debian wheezy main contrib non-free
    deb http://security.debian.org/ wheezy/updates main contrib non-free
    deb http://ftp.de.debian.org/debian jessie main contrib non-free
    deb http://security.debian.org/ jessie/updates main contrib non-free
    
    # Debian/volatile contains quickly changing data like spam- and virusfilter databases
    # deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free
    
    # Knoppix repository
    # deb http://debian-knoppix.alioth.debian.org ./
    My /etc/apt/apt.conf.d/70debconf file:
    Code:
    // Pre-configure all packages with debconf before they are installed.
    // If you don't like it, comment it out.
    // DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
    APT::Cache::Limit "100000000";
    Code:
    apt-get clean && apt-get update --fix-missing
    yields:

    Code:
    Get:1 http://archive.debian.org lenny Release.gpg [1034B]                      
    Get:2 http://ftp.de.debian.org squeeze Release.gpg [1655B]  
    .........                  
    and 500 lines blah blah ...
    W: Unable to munmap
    E: The package lists or status file could not be parsed or opened.
    Increased the apt size to 100000000 in 70debconf, removed comment:
    Code:
    // DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
    APT::Cache::Limit "200000000";
    from 70debconf . Result:
    Code:
    apt-get clean && apt-get: update --fix-missing
    Err http://archive.debian.org lenny Release.gpg
      Cannot initiate the connection to archive.debian.org:80 (2607:f8f0:610:4000:6564:a62:ce0c:137e). - connect (101: Network is unreachable) [IP: 2607:f8f0:610:4000:6564:a62:ce0c:137e 80]
    ...
    and 1000 blah blah ...
    Nothing appeared to work, grrrrr ...

    Lastly, I found that
    Code:
    APT::Cache::Limit "100000000";
    was actually to be:
    Code:
    APT::Cache-Limit "100000000";

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Hello Rajib!

    Not only lenny, but also squeeze and wheezy are outdated and without security support; therefore you cannot use these within the sources.lst.

  7. #7
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    The earlier post was regarding "-" instead of "::".
    However, since you have already stated the question I would have asked next, tell me a workaround Please.

  8. #8
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    The usual way to define APT::Cache-Limit is within '/etc/apt/conf' (→ man apt.conf); but also the Knoppix way will do it: within '/etc/apt/apt.conf.d/00knoppix'
    Code:
    APT::Cache-Limit 80000000;
    apt-get clean && apt-get: update --fix-missing Err http://archive.debian.org lenny Release.gpg
    "http://archive.debian.org" is wrong; it has to be "http://archive.debian.org/debian"
    What do you get for
    Code:
    apt-config dump |grep Release
    and
    Code:
    lsb_release -rd

  9. #9
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Dear Mr. Schulz,
    I didn't have any problem with the APT::cache line. It was already rectified and resized.
    My sources.list doesn't have the lines with errors. So where is the error :: http://archive.debian.org lenny Release.gpg :: coming from?
    Here are the complete list of apt related files:
    Code:
    /.
    /etc
    /etc/apt
    /etc/apt/apt.conf.d
    /etc/apt/apt.conf.d/01autoremove
    /etc/apt/preferences.d
    /etc/apt/sources.list.d
    /etc/apt/trusted.gpg.d
    /etc/cron.daily
    /etc/cron.daily/apt
    /etc/logrotate.d
    /etc/logrotate.d/apt
    /usr
    /usr/bin
    /usr/bin/apt-cache
    /usr/bin/apt-cdrom
    /usr/bin/apt-config
    /usr/bin/apt-get
    /usr/bin/apt-key
    /usr/bin/apt-mark
    /usr/lib
    /usr/lib/apt
    /usr/lib/apt/methods
    /usr/lib/apt/methods/bzip2
    /usr/lib/apt/methods/cdrom
    /usr/lib/apt/methods/copy
    /usr/lib/apt/methods/file
    /usr/lib/apt/methods/ftp
    /usr/lib/apt/methods/gpgv
    /usr/lib/apt/methods/gzip
    /usr/lib/apt/methods/http
    /usr/lib/apt/methods/lzma
    /usr/lib/apt/methods/mirror
    /usr/lib/apt/methods/rred
    /usr/lib/apt/methods/rsh
    /usr/lib/apt/methods/ssh
    /usr/lib/apt/methods/xz
    /usr/lib/apt/solvers
    /usr/lib/dpkg
    /usr/lib/dpkg/methods
    /usr/lib/dpkg/methods/apt
    /usr/lib/dpkg/methods/apt/desc.apt
    /usr/lib/dpkg/methods/apt/install
    /usr/lib/dpkg/methods/apt/names
    /usr/lib/dpkg/methods/apt/setup
    /usr/lib/dpkg/methods/apt/update
    /usr/share
    /usr/share/bug
    /usr/share/bug/apt
    /usr/share/bug/apt/script
    /usr/share/doc
    /usr/share/doc/apt
    /usr/share/doc/apt/NEWS.Debian.gz
    /usr/share/doc/apt/changelog.gz
    /usr/share/doc/apt/copyright
    /usr/share/doc/apt/examples
    /usr/share/doc/apt/examples/apt-https-method-example.conf.gz
    /usr/share/doc/apt/examples/apt.conf
    /usr/share/doc/apt/examples/configure-index.gz
    /usr/share/doc/apt/examples/sources.list
    /usr/share/locale
    /usr/share/locale/ar
    /usr/share/locale/ar/LC_MESSAGES
    /usr/share/locale/ar/LC_MESSAGES/apt.mo
    /usr/share/locale/ast
    /usr/share/locale/ast/LC_MESSAGES
    /usr/share/locale/ast/LC_MESSAGES/apt.mo
    /usr/share/locale/bg
    /usr/share/locale/bg/LC_MESSAGES
    /usr/share/locale/bg/LC_MESSAGES/apt.mo
    /usr/share/locale/bs
    /usr/share/locale/bs/LC_MESSAGES
    /usr/share/locale/bs/LC_MESSAGES/apt.mo
    /usr/share/locale/ca
    /usr/share/locale/ca/LC_MESSAGES
    /usr/share/locale/ca/LC_MESSAGES/apt.mo
    /usr/share/locale/cs
    /usr/share/locale/cs/LC_MESSAGES
    /usr/share/locale/cs/LC_MESSAGES/apt.mo
    /usr/share/locale/cy
    /usr/share/locale/cy/LC_MESSAGES
    /usr/share/locale/cy/LC_MESSAGES/apt.mo
    /usr/share/locale/da
    /usr/share/locale/da/LC_MESSAGES
    /usr/share/locale/da/LC_MESSAGES/apt.mo
    /usr/share/locale/de
    /usr/share/locale/de/LC_MESSAGES
    /usr/share/locale/de/LC_MESSAGES/apt.mo
    /usr/share/locale/dz
    /usr/share/locale/dz/LC_MESSAGES
    /usr/share/locale/dz/LC_MESSAGES/apt.mo
    /usr/share/locale/el
    /usr/share/locale/el/LC_MESSAGES
    /usr/share/locale/el/LC_MESSAGES/apt.mo
    /usr/share/locale/es
    /usr/share/locale/es/LC_MESSAGES
    /usr/share/locale/es/LC_MESSAGES/apt.mo
    /usr/share/locale/eu
    /usr/share/locale/eu/LC_MESSAGES
    /usr/share/locale/eu/LC_MESSAGES/apt.mo
    /usr/share/locale/fi
    /usr/share/locale/fi/LC_MESSAGES
    /usr/share/locale/fi/LC_MESSAGES/apt.mo
    /usr/share/locale/fr
    /usr/share/locale/fr/LC_MESSAGES
    /usr/share/locale/fr/LC_MESSAGES/apt.mo
    /usr/share/locale/gl
    /usr/share/locale/gl/LC_MESSAGES
    /usr/share/locale/gl/LC_MESSAGES/apt.mo
    /usr/share/locale/hu
    /usr/share/locale/hu/LC_MESSAGES
    /usr/share/locale/hu/LC_MESSAGES/apt.mo
    /usr/share/locale/it
    /usr/share/locale/it/LC_MESSAGES
    /usr/share/locale/it/LC_MESSAGES/apt.mo
    /usr/share/locale/ja
    /usr/share/locale/ja/LC_MESSAGES
    /usr/share/locale/ja/LC_MESSAGES/apt.mo
    /usr/share/locale/km
    /usr/share/locale/km/LC_MESSAGES
    /usr/share/locale/km/LC_MESSAGES/apt.mo
    /usr/share/locale/ko
    /usr/share/locale/ko/LC_MESSAGES
    /usr/share/locale/ko/LC_MESSAGES/apt.mo
    /usr/share/locale/ku
    /usr/share/locale/ku/LC_MESSAGES
    /usr/share/locale/ku/LC_MESSAGES/apt.mo
    /usr/share/locale/lt
    /usr/share/locale/lt/LC_MESSAGES
    /usr/share/locale/lt/LC_MESSAGES/apt.mo
    /usr/share/locale/mr
    /usr/share/locale/mr/LC_MESSAGES
    /usr/share/locale/mr/LC_MESSAGES/apt.mo
    /usr/share/locale/nb
    /usr/share/locale/nb/LC_MESSAGES
    /usr/share/locale/nb/LC_MESSAGES/apt.mo
    /usr/share/locale/ne
    /usr/share/locale/ne/LC_MESSAGES
    /usr/share/locale/ne/LC_MESSAGES/apt.mo
    /usr/share/locale/nl
    /usr/share/locale/nl/LC_MESSAGES
    /usr/share/locale/nl/LC_MESSAGES/apt.mo
    /usr/share/locale/nn
    /usr/share/locale/nn/LC_MESSAGES
    /usr/share/locale/nn/LC_MESSAGES/apt.mo
    /usr/share/locale/pl
    /usr/share/locale/pl/LC_MESSAGES
    /usr/share/locale/pl/LC_MESSAGES/apt.mo
    /usr/share/locale/pt
    /usr/share/locale/pt/LC_MESSAGES
    /usr/share/locale/pt/LC_MESSAGES/apt.mo
    /usr/share/locale/pt_BR/LC_MESSAGES/apt.mo
    /usr/share/locale/ro/LC_MESSAGES/apt.mo
    /usr/share/locale/ru
    /usr/share/locale/ru/LC_MESSAGES
    /usr/share/locale/ru/LC_MESSAGES/apt.mo
    /usr/share/locale/sk
    /usr/share/locale/sk/LC_MESSAGES
    /usr/share/locale/sk/LC_MESSAGES/apt.mo
    /usr/share/locale/sl
    /usr/share/locale/sl/LC_MESSAGES
    /usr/share/locale/sl/LC_MESSAGES/apt.mo
    /usr/share/locale/sv/LC_MESSAGES/apt.mo
    /usr/share/locale/th
    /usr/share/locale/th/LC_MESSAGES
    /usr/share/locale/th/LC_MESSAGES/apt.mo
    /usr/share/locale/tl
    /usr/share/locale/tl/LC_MESSAGES
    /usr/share/locale/tl/LC_MESSAGES/apt.mo
    /usr/share/locale/uk
    /usr/share/locale/uk/LC_MESSAGES
    /usr/share/locale/uk/LC_MESSAGES/apt.mo
    /usr/share/locale/vi/LC_MESSAGES/apt.mo
    /usr/share/locale/zh_CN
    /usr/share/locale/zh_CN/LC_MESSAGES
    /usr/share/locale/zh_CN/LC_MESSAGES/apt.mo
    /usr/share/locale/zh_TW
    /usr/share/locale/zh_TW/LC_MESSAGES
    /usr/share/locale/zh_TW/LC_MESSAGES/apt.mo
    /usr/share/man
    /usr/share/man/de
    /usr/share/man/de/man5
    /usr/share/man/de/man5/apt.conf.5.gz
    /usr/share/man/de/man5/apt_preferences.5.gz
    /usr/share/man/de/man5/sources.list.5.gz
    /usr/share/man/de/man8
    /usr/share/man/de/man8/apt-cache.8.gz
    /usr/share/man/de/man8/apt-cdrom.8.gz
    /usr/share/man/de/man8/apt-config.8.gz
    /usr/share/man/de/man8/apt-get.8.gz
    /usr/share/man/de/man8/apt-key.8.gz
    /usr/share/man/de/man8/apt-mark.8.gz
    /usr/share/man/de/man8/apt-secure.8.gz
    /usr/share/man/es
    /usr/share/man/es/man5
    /usr/share/man/es/man5/apt.conf.5.gz
    /usr/share/man/es/man5/apt_preferences.5.gz
    /usr/share/man/es/man5/sources.list.5.gz
    /usr/share/man/es/man8
    /usr/share/man/es/man8/apt-cache.8.gz
    /usr/share/man/es/man8/apt-cdrom.8.gz
    /usr/share/man/es/man8/apt-config.8.gz
    /usr/share/man/es/man8/apt-get.8.gz
    /usr/share/man/es/man8/apt-key.8.gz
    /usr/share/man/es/man8/apt-mark.8.gz
    /usr/share/man/es/man8/apt-secure.8.gz
    /usr/share/man/fr
    /usr/share/man/fr/man5
    /usr/share/man/fr/man5/apt.conf.5.gz
    /usr/share/man/fr/man5/apt_preferences.5.gz
    /usr/share/man/fr/man5/sources.list.5.gz
    /usr/share/man/fr/man8
    /usr/share/man/fr/man8/apt-cache.8.gz
    /usr/share/man/fr/man8/apt-cdrom.8.gz
    /usr/share/man/fr/man8/apt-config.8.gz
    /usr/share/man/fr/man8/apt-get.8.gz
    /usr/share/man/fr/man8/apt-key.8.gz
    /usr/share/man/fr/man8/apt-mark.8.gz
    /usr/share/man/fr/man8/apt-secure.8.gz
    /usr/share/man/ja
    /usr/share/man/ja/man5
    /usr/share/man/ja/man5/apt.conf.5.gz
    /usr/share/man/ja/man5/apt_preferences.5.gz
    /usr/share/man/ja/man5/sources.list.5.gz
    /usr/share/man/ja/man8
    /usr/share/man/ja/man8/apt-cache.8.gz
    /usr/share/man/ja/man8/apt-cdrom.8.gz
    /usr/share/man/ja/man8/apt-config.8.gz
    /usr/share/man/ja/man8/apt-get.8.gz
    /usr/share/man/ja/man8/apt-key.8.gz
    /usr/share/man/ja/man8/apt-mark.8.gz
    /usr/share/man/ja/man8/apt-secure.8.gz
    /usr/share/man/man5
    /usr/share/man/man5/apt.conf.5.gz
    /usr/share/man/man5/apt_preferences.5.gz
    /usr/share/man/man5/sources.list.5.gz
    /usr/share/man/man8
    /usr/share/man/man8/apt-cache.8.gz
    /usr/share/man/man8/apt-cdrom.8.gz
    /usr/share/man/man8/apt-config.8.gz
    /usr/share/man/man8/apt-get.8.gz
    /usr/share/man/man8/apt-key.8.gz
    /usr/share/man/man8/apt-mark.8.gz
    /usr/share/man/man8/apt-secure.8.gz
    /usr/share/man/man8/apt.8.gz
    /usr/share/man/pl
    /usr/share/man/pl/man5
    /usr/share/man/pl/man5/apt_preferences.5.gz
    /usr/share/man/pl/man5/sources.list.5.gz
    /usr/share/man/pl/man8
    /usr/share/man/pl/man8/apt-cache.8.gz
    /usr/share/man/pl/man8/apt-cdrom.8.gz
    /usr/share/man/pl/man8/apt-config.8.gz
    /usr/share/man/pl/man8/apt-get.8.gz
    /usr/share/man/pl/man8/apt-key.8.gz
    /usr/share/man/pl/man8/apt-mark.8.gz
    /usr/share/man/pl/man8/apt-secure.8.gz
    /usr/share/man/pt
    /usr/share/man/pt/man5
    /usr/share/man/pt/man5/apt.conf.5.gz
    /usr/share/man/pt/man5/apt_preferences.5.gz
    /usr/share/man/pt/man5/sources.list.5.gz
    /usr/share/man/pt/man8
    /usr/share/man/pt/man8/apt-cache.8.gz
    /usr/share/man/pt/man8/apt-cdrom.8.gz
    /usr/share/man/pt/man8/apt-config.8.gz
    /usr/share/man/pt/man8/apt-get.8.gz
    /usr/share/man/pt/man8/apt-key.8.gz
    /usr/share/man/pt/man8/apt-mark.8.gz
    /usr/share/man/pt/man8/apt-secure.8.gz
    /var
    /var/cache
    /var/cache/apt
    /var/cache/apt/archives
    /var/cache/apt/archives/partial
    /var/lib
    /var/lib/apt
    /var/lib/apt/lists
    /var/lib/apt/lists/partial
    /var/lib/apt/mirrors
    /var/lib/apt/mirrors/partial
    /var/lib/apt/periodic
    /var/log
    /var/log/apt
    Of these only these three appear to control things:
    Code:
    /etc/apt/apt.conf.d
    /etc/apt/apt.conf.d/01autoremove
    /etc/apt/preferences.d
    /etc/apt/sources.list.d
    Of these, these two files have the same entries: /etc/apt/preferences.d and /etc/apt/sources.list.d . The entry directs to /UNIONONFS/etc/apt/ blah blah.
    So I went to those files. They are empty.
    Which files do you intend to change using your following codes:
    (1) apt-get clean && apt-get: update --fix-missing Err http://archive.debian.org lenny Release.gpg
    (2) apt-config dump |grep Release gives APT:efault-Release "Stable"
    (3) lsb_release -rd gives Debian 5.0.10
    Last edited by rajibando; 05-04-2015 at 08:39 AM.

  10. #10
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You may try a sources.lst only containing this line
    Code:
    deb http://archive.debian.org/debian/ lenny contrib main non-free
    and now
    Code:
    su
    aptitude update
    apt-key update
    to solve the GPG-error.

    But I fear you'll never get a working apt-cache for your very old Knoppix installation based on Debian lenny. If you doesn't have a backup of the Knoppix installation, then the apt-cache is already destroyed. With Debian you can update/upgrade from one release to the next following release. As I know it's impossible to skip two releases.

Page 1 of 2 12 LastLast

Posting Permissions

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


SGIN 17.3

SGIN 17.3" Laptop 8GB RAM 512GB SSD Notebook with IPS Full HD 2.8GHz Windows 11

$289.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



Lot of 50 4GB DDR3 PC3 Sticks Desktop Ram - mixed speeds and brands picture

Lot of 50 4GB DDR3 PC3 Sticks Desktop Ram - mixed speeds and brands

$88.00



HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB picture

HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB

$127.20