1 Attachment(s)
Changing source for packages: lines in sources.list apt.conf.d 00knoppix
I wish to change the default source for Synaptic. I changed the line in:
Code:
/etc/apt/apt.conf.d/00knoppix
From:
Code:
APT::Default-Release "wheezy";
To:
Code:
APT::Default-Release "squeeze-backports";
and
Code:
/etc/apt/sources.list
From:
Code:
deb http://ftp.de.debian.org/debian stable main contrib non-free
and other lines
To:
Code:
deb http://ftp.de.debian.org/debian-backports/ squeeze-backports main non-free
The original files have been renamed and kept, and can be restored.
Synaptic gives this error message
Code:
E: The value 'squeeze-backports' is invalid for APT::Default-Release as such a release is not available in the sources
E: _cache->open() failed, please report.
and closes.
What more needs to be done?
The change is required to clean reinstall nvidia drivers and repair the following error codes as Output:
Synaptic_Changes_Applied_terminal.txt
For nvidia drivers the following errors are known to the system:
Code:
ERROR: The conflicting library '/usr/lib/i386-linux-gnu/libGL.so.1.2.0' is known to dpkg.
Which local database file is updated by aptitude update?
Backport is deprecated, I read in the instructions http://backports.debian.org/Instructions/
So, when I write squeeze-backports in 00knoppix in
Code:
/etc/apt/apt.conf.d
I get the following errors.
Code:
aptitude update
E: The value 'squeeze' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'squeeze' is invalid for APT::Default-Release as such a release is not available in the sources
Hit http://download.jitsi.org unstable/ Release.gpg
Hit http://download.jitsi.org unstable/ Release
Ign http://ftp.debian.org squeeze-backports Release.gpg
Hit http://download.jitsi.org unstable/ Packages
Ign http://ftp.debian.org squeeze-backports Release
Ign http://download.jitsi.org unstable/ Translation-en_US
Ign http://download.jitsi.org unstable/ Translation-en
Err http://ftp.debian.org squeeze-backports/main i386 Packages
404 Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org squeeze-backports/contrib i386 Packages
404 Not Found [IP: 130.89.148.12 80]
Err http://ftp.debian.org squeeze-backports/non-free i386 Packages
404 Not Found [IP: 130.89.148.12 80]
Ign http://ftp.debian.org squeeze-backports/contrib Translation-en_US
Ign http://ftp.debian.org squeeze-backports/contrib Translation-en
Ign http://ftp.debian.org squeeze-backports/main Translation-en_US
Ign http://ftp.debian.org squeeze-backports/main Translation-en
Ign http://ftp.debian.org squeeze-backports/non-free Translation-en_US
Ign http://ftp.debian.org squeeze-backports/non-free Translation-en
80% [Working]W: Failed to fetch http://ftp.debian.org/debian/dists/squeeze-backports/main/binary-i386/Packages: 404 Not Found [IP: 130.89.148.12 80]
W: Failed to fetch http://ftp.debian.org/debian/dists/squeeze-backports/contrib/binary-i386/Packages: 404 Not Found [IP: 130.89.148.12 80]
W: Failed to fetch http://ftp.debian.org/debian/dists/squeeze-backports/non-free/binary-i386/Packages: 404 Not Found [IP: 130.89.148.12 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
E: The value 'squeeze' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'squeeze' is invalid for APT::Default-Release as such a release is not available in the sources
I read the page on backport and the section on Installation from backport
Quote:
Install a package from backports
All backports are deactivated by default (i.e. the packages are pinned to 100 by using ButAutomaticUpgrades: yes in the Release files. If you want to install something from backports run:
Code:
apt-get -t squeeze-backports install "package"
of course you can use aptitude as well:
Code:
aptitude -t squeeze-backports install "package"
After necessary amendments, when I type aptitude update, I get the following error message:
Code:
aptitude update
E: The value 'squeeze-backports' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'squeeze-backports' is invalid for APT::Default-Release as such a release is not available in the sources
Hit http://download.jitsi.org unstable/ Release.gpg
Hit http://download.jitsi.org unstable/ Release
Hit http://download.jitsi.org unstable/ Packages
Ign http://http.debian.net squeeze-backports(-sloppy) Release.gpg
Ign http://http.debian.net squeeze-backports(-sloppy) Release
Ign http://download.jitsi.org unstable/ Translation-en_US
Ign http://download.jitsi.org unstable/ Translation-en
Err http://http.debian.net squeeze-backports(-sloppy)/main i386 Packages
404 Not Found
Ign http://http.debian.net squeeze-backports(-sloppy)/main Translation-en_US
Ign http://http.debian.net squeeze-backports(-sloppy)/main Translation-en
83% [Working]W: Failed to fetch http://http.debian.net/debian-backports/dists/squeeze-backports(-sloppy)/main/binary-i386/Packages: 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
E: The value 'squeeze-backports' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'squeeze-backports' is invalid for APT::Default-Release as such a release is not available in the sources
What is my mistake?
Where does Apt in Knoppix store its cache database?
From the Debian Manual :
Quote:
A cache is a temporary storage system used to speed up frequent data access when the usual access method is expensive (performance-wise). This concept can be applied in numerous situations and at different scales, from the core of microprocessors up to high-end storage systems.
In the case of APT, the reference Packages files are those located on Debian mirrors. That said, it would be very ineffective to go through the network for every search that we might want to do in the database of available packages. That is why APT stores a copy of those files (in /var/lib/apt/lists/) and searches are done within those local files
I changed /etc/apt/sources.list and /etc/apt/apt.conf.d/00knoppix (double-slashing '//), as pasted below;
Code:
// Debian/squeeze is the "stable" release for this version of KNOPPIX
// APT::Default-Release "wheezy";
Apt::Get::Purge;
APT::Force-LoopBreak 1;
APT::Cache-Limit 80000000;
// Acquire::http::timeout 36000;
// Acquire::http { Proxy "http://localhost:9999"; };
and removed the list database from /var/lib/apt/lists but synaptic still responds like it did when those changes were not included, and reports:
Quote:
E: The value 'wheezy' is invalid for APT::default-Release as such a release is not available in the sources
E: _cache->open() failed, please report.
D replaced by ::d as the system is converting the characters into a smiley.
Apt works, Synaptic doesn't
Apt is obedient.
only Synaptic is creating all sorts of problems...