Results 1 to 9 of 9

Thread: Changing source for packages: lines in sources.list apt.conf.d 00knoppix

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

    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.
    Attached Files Attached Files

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

    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
    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?

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

    The cause of the problem

    There is an error in the file /etc/apt/apt.conf.d/00knoppix in declaring the stable package. Discussed in post: Flash Player no longer Directly Supports Linux .
    ...the second line sets ... default release ...Wheezy in Knoppix 7.2.0 ... prevents a sizeable number of packages from being marked as upgradable ... Before commenting out this line ...
    The default apt line needs to be hashed. I will now try the next step: changing my nvidia drivers...

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    There is an error in the file /etc/apt/apt.conf.d/00knoppix in declaring the stable package.
    Why do you think so?

    Please read more about solving problems
    Administrators Handbook => 6.2
    Debian Reference => 2.7
    Last edited by Werner P. Schulz; 08-12-2014 at 10:01 AM.

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

    Where does Apt in Knoppix store its cache database?

    From the Debian Manual :
    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:
    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.

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

    Apt works, Synaptic doesn't

    Apt is obedient.
    only Synaptic is creating all sorts of problems...

  7. #7
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Correction! apt-get update is obedient when synaptic is not. apt-get install *nvidia* is showing the error line once. Synaptic shows the error line when invoked, and when ok is pressed, it exits. Tasksel, when invoked, shows the error line numerous times and exits. The error lines, as stated earlier, are displayed despite the 2nd line in /etc/apt/apt.conf.d/00knoppix has been silenced.
    So apt must be accessing another configuration file from somewhere.
    The maintainers of Apt appear to be oblivious of the fact that while apt.conf is nowhere to be found, apt still has the file mentioned in its list of files.

  8. #8
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    This reason is this: Apt is the culprit
    APT's Default Priority Assignments
    If there is no preferences file or if there is no entry in the file
    that applies to a particular version then the priority assigned to that
    version is the priority of the distribution to which that version
    belongs.

  9. #9
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Ultimately, I saw reason and installed the latest downloaded Unix/Linux driver from nvidia and resolved the conflicts rather than an uneasy living with a conflicted, debian reconfigured nvidia.

Posting Permissions

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


H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



CSE-118 Supermicro 1U 3x GPU Server  2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails

$450.03



R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS picture

R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS

$1180.24



CSE-118 Supermicro 1U GPU Server 2.6Ghz 20-C 256GB 2x Nvidia K40 GPU 2x1600W PSU picture

CSE-118 Supermicro 1U GPU Server 2.6Ghz 20-C 256GB 2x Nvidia K40 GPU 2x1600W PSU

$674.03



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$355.00