LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-19-2023, 11:16 AM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
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
 
Old 07-20-2023, 03:30 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
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.
 
2 members found this post helpful.
Old 07-20-2023, 03:38 PM   #3
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
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

Last edited by zvivered; 07-20-2023 at 04:11 PM.
 
Old 07-20-2023, 04:25 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by zvivered View Post
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????
 
Old 07-21-2023, 12:43 PM   #5
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
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
 
Old 07-21-2023, 01:28 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by zvivered View Post
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

Last edited by TB0ne; 07-21-2023 at 05:30 PM.
 
Old 07-21-2023, 11:46 PM   #7
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
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

Last edited by zvivered; 07-22-2023 at 12:05 AM.
 
Old 07-22-2023, 12:48 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
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.
 
1 members found this post helpful.
Old 07-22-2023, 01:48 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by zvivered View Post
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???
 
Old 03-01-2024, 11:39 PM   #10
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Original Poster
Rep: Reputation: 23
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I Can't Install Synaptic And I Keep Getting This "Unable to fetch some archives, maybe run apt-get update or try with --fix-mis " Ismael.mtbx Ubuntu 2 02-07-2019 08:45 PM
[SOLVED] System Failed to fetch an apt-get update Ztcoracat Debian 21 09-12-2012 01:51 AM
mplayer fetch subtitles option: --fetch-subs frenchn00b Linux - General 1 11-09-2009 11:21 PM
Is there knoppix-like distro, that we can: apt-get update; apt-get install programs ? frenchn00b Linux - Distributions 7 04-28-2008 02:06 PM
apt-get Failed to fetch...Size mismatch noeffort Linux - Software 2 03-24-2007 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration