Perhaps https://www.howtoforge.com/using-old...r-sources.list may help you. Now also Debian wheezy is oldstable and without security support.
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
Perhaps https://www.howtoforge.com/using-old...r-sources.list may help you. Now also Debian wheezy is oldstable and without security support.
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!
apologies: two typos - (prestine and mant) Pristine and Many
Read till the end:
My current sources.list:
My /etc/apt/apt.conf.d/70debconf file: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 ./
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";yields:Code:apt-get clean && apt-get update --fix-missing
Increased the apt size to 100000000 in 70debconf, removed comment: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.
from 70debconf . Result:Code:// DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";}; APT::Cache::Limit "200000000";
Nothing appeared to work, grrrrr ...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 ...
Lastly, I found thatwas actually to be:Code:APT::Cache::Limit "100000000";Code:APT::Cache-Limit "100000000";
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.
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.
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;"http://archive.debian.org" is wrong; it has to be "http://archive.debian.org/debian"apt-get clean && apt-get: update --fix-missing Err http://archive.debian.org lenny Release.gpg
What do you get forandCode:apt-config dump |grep ReleaseCode:lsb_release -rd
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:
Of these only these three appear to control things: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, 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.Code:/etc/apt/apt.conf.d /etc/apt/apt.conf.d/01autoremove /etc/apt/preferences.d /etc/apt/sources.list.d
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.
You may try a sources.lst only containing this lineand nowCode:deb http://archive.debian.org/debian/ lenny contrib main non-free
to solve the GPG-error.Code:su aptitude update apt-key update
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.
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
Motorola 68060 68EC060 MC68EC060RC75 CPU / Processor AMIGA unused, new USA stock
$69.99
Commodore Amiga 600 Manual(s) A600+CBM+Introducing+Hard Drive+Warranty etc.
$54.00
Amiga Workbench v1.3 Boot Disk + Extras A500 A2000 1.3 on DD 3.5" Floppy Disks
$14.99
$850.00
Vintage Commodore amiga 1000 computer w keyboard as is no power
$400.00
13 Available Samsung SFD-321B Floppy Drive Modified for Commodore Amiga
$30.00
Amiga Sidecar 20mb External Hard Drive Supra Drive in Box
$1299.00
pi1541 Disk Emulator for Commodore -
$38.95
TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network
$65.00