LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Knoppix 8.6: Failed to fetch during apt-get update (https://www.linuxquestions.org/questions/debian-26/knoppix-8-6-failed-to-fetch-during-apt-get-update-4175727120/)

zvivered 07-19-2023 11:16 AM

Knoppix 8.6: Failed to fetch during apt-get update
 
Hello,

I booted my PC with knoppix 8.6
Then I ran:
sudo apt-get update

I got few messages like the following:
Code:

W: GPG error: http://ftp.de.debian.org/debian stable-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://ftp.de.debian.org/debian stable-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

So I ran:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
sudo apt-get update


Then I got:
Code:

E: The repository 'http://security.debian.org stable/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

So I added:
[trusted=yes]

to /etc/apt/sources.list

Then I ran:
sudo apt-get update

and got:
Code:

E: Failed to fetch http://security.debian.org/dists/sta...-i386/Packages  404  Not Found [IP: 146.75.54.132 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Can you please tell what is the reason for this ?

Thank you,
Zvika

mrmazda 07-20-2023 03:30 AM

8.6 is based on Buster, which when Bookworm was released last month became old old stable. To use the mirrors you need to tweak /etc/apt/sources.list, replacing stable strings with buster, testing strings with bullseye, and unstable strings with bookworm. Comment or delete the oldstable line, and any other lines you may have enabled & modified that are no longer valid with Buster. When I did that, after apt update, apt-get upgrade wanted to upgrade 1020 packages using 278 MB of additional disk space, which I didn't try on my USB stick. Knoppix is not intended for normal installations like for most distros on HDDs, SSDs, etc. IIRC, last time I tried doing so Knoppix was around v4.0.

zvivered 07-20-2023 03:38 PM

Dear mrmazda,

Thank you very much !

I tried the same in knoppix9.1 which is the latest knoppix.

I had to do the same steps as in knoppix8.6
1. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ..
2. add [trusted=yes] in /etc/apt/sources.list
3. sudo apt-get update
4. I got:

E: Failed to fetch http://security.debian.org/dists/sta...-i386/Packages 404 Not Found [IP: 199.232.82.132 80]
E: Some index files failed to download. They have been ignored, or old ones used instead


Can you please advise ?

I'm using knoppix for several years.
Never had to work so hard to install packages.
The reason I'm using knoppix: it's very simple to install it on DOK, easy to boot x86 embedded PCs via VGA, serial.

Best regards,
Zvika

TB0ne 07-20-2023 04:25 PM

Quote:

Originally Posted by zvivered (Post 6443331)
Dear mrmazda, Thank you very much !

I tried the same in knoppix9.1 which is the latest knoppix. I had to do the same steps as in knoppix8.6
1. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ..
2. add [trusted=yes] in /etc/apt/sources.list
3. sudo apt-get update
4. I got:

E: Failed to fetch http://security.debian.org/dists/sta...-i386/Packages 404 Not Found [IP: 199.232.82.132 80]
E: Some index files failed to download. They have been ignored, or old ones used instead


Can you please advise ?

I'm using knoppix for several years. Never had to work so hard to install packages. The reason I'm using knoppix: it's very simple to install it on DOK, easy to boot x86 embedded PCs via VGA, serial.

Did you read/understand what you posted??? Do you know what a 404 error is, and (AGAIN) did you try anything??? That URL you posted is not valid; that means, it won't update, right??? Put in a VALID URL...try looking at the base:
https://security.debian.org/dists/

...and thinking about which one you need. mrmazda even told you, very clearly, that it became "old stable". Now, when you visit that link (that you had to be spoon fed), you should be able to figure out which one you need. You've not gone back to many (if ANY) of your old threads and updated them or answered questions, and hardly ever show any effort of your own. What is our incentive to continue to try to help you????

zvivered 07-21-2023 12:43 PM

Hi TBOne,

I highly appreciate your knowledge and experience.
But I disagree.

Knoppix 9.0.1 is the latest version available.
Update should work without modifying any file.

Thank you,
Zvika

TB0ne 07-21-2023 01:28 PM

Quote:

Originally Posted by zvivered (Post 6443503)
Hi TBOne,
I highly appreciate your knowledge and experience. But I disagree.

Knoppix 9.0.1 is the latest version available. Update should work without modifying any file.

Knoppix 9.1 is the latest version; there is no 9.0.1; simply going to their website tells you this, or putting "what is the latest version of Knoppix" into Google.

And instead of doing any basic research (such as putting "how to update Knoppix" into a search engine), you edited a file and were somehow surprised that it caused things to break. You were told to use bullseye; did you??? Did you look at that root link that had to be given to you??? Did you try to look up the real way Knoppix says to update???
https://technical-tips.com/blog/soft...--how-to-23094

zvivered 07-21-2023 11:46 PM

Hello,

I installed a new copy of knoppix 9.1

Then I modified /etc/apt/sources.list:

deb http://ftp.de.debian.org/debian bullseye main contrib non-free

I did it because knoppix 9.1 is based on bullseye.
Currently I blocked all other "deb" lines (#).


The output of: apt-get update is:
Quote:

Hit:1 http://ftp.de.debian.org/debian bullseye InRelease
Reading package lists... Done
I only want to install grub-efi. So I ran:
sudo apt-get install grub-efi

The install completed without any errors.

Thank you,
Zvika

mrmazda 07-22-2023 12:48 AM

Current Debian Stable is Bookworm. Knoppix 9.1 is Bullseye, so yes, you need to follow my post #2 instruction, but using Bullseye (11), Bookworm (12) and Trixie (13) in place of Buster (10), Bullseye (11) and Bookworm (12), for stable, testing and unstable.

TB0ne 07-22-2023 01:48 PM

Quote:

Originally Posted by zvivered (Post 6443576)
Hello,
I installed a new copy of knoppix 9.1 Then I modified /etc/apt/sources.list:

deb http://ftp.de.debian.org/debian bullseye main contrib non-free

I did it because knoppix 9.1 is based on bullseye. Currently I blocked all other "deb" lines (#).

The output of: apt-get update is:
Code:

Hit:1 http://ftp.de.debian.org/debian bullseye InRelease
Reading package lists... Done

I only want to install grub-efi. So I ran: sudo apt-get install grub-efi
The install completed without any errors.

So instead of NOT modifying anything and just running the two commands you were given ("apt-get update" and "apt-get dist-upgrade"), you decided to ignore the system and edit things???

And yes, we know Knoppix is based on Bullseye...since you had to be told that, because you couldn't look on the Knoppix website or read their docs. Since you started off by saying you were using 8.6, did you even TRY to just type in "apt-get install grub-efi" on 9.1???

zvivered 03-01-2024 11:39 PM

apt-get update in 9.1
 
Hello,

In a previous reply I had a mistake.
In knoppix 9.1, the right line is:
deb http://ftp.de.debian.org/debian buster main contrib non-free

This is the first deb line in /etc/apt/sources.list
I disabled all other deb lines.

Thank you,
Zvika


All times are GMT -5. The time now is 05:40 PM.