Debian update failed

Thank You a lot.

I ll start Debian 11 in recovery.

Then:
sudo apt update && apt --fix-missing

sudo apt update && apt -- fix-broken

Regards
 


Code:
root@xxxx:~# sudo apt update && apt --fix-missing
OK:1 http://deb.debian.org/debian bullseye InRelease
Holen:2 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]     
Holen:3 http://security.debian.org/debian-security bullseye-security InRelease [48,4 kB]
Holen:4 http://dl.google.com/linux/chrome/deb stable InRelease [1.825 B]       
Holen:5 https://deb.opera.com/opera stable InRelease [2.590 B]                 
Ign:6 https://repo.vivaldi.com/stable/deb stable InRelease                     
Holen:7 https://repo.vivaldi.com/stable/deb stable Release [3.840 B]
Holen:8 https://repo.vivaldi.com/stable/deb stable Release.gpg [833 B]
Holen:9 http://deb.debian.org/debian bullseye-updates/main i386 Packages.diff/Index [20,7 kB]
Holen:10 http://deb.debian.org/debian bullseye-updates/main Translation-en.diff/Index [9.483 B]
Holen:11 http://deb.debian.org/debian bullseye-updates/main i386 Packages T-2023-08-26-1408.20-F-2023-08-26-1408.20.pdiff [464 B]
Holen:11 http://deb.debian.org/debian bullseye-updates/main i386 Packages T-2023-08-26-1408.20-F-2023-08-26-1408.20.pdiff [464 B]
Holen:12 http://deb.debian.org/debian bullseye-updates/main Translation-en T-2023-08-26-1408.20-F-2023-08-26-1408.20.pdiff [199 B]
Holen:12 http://deb.debian.org/debian bullseye-updates/main Translation-en T-2023-08-26-1408.20-F-2023-08-26-1408.20.pdiff [199 B]
Holen:13 http://security.debian.org/debian-security bullseye-security/main i386 Packages [244 kB]
Holen:14 http://security.debian.org/debian-security bullseye-security/main Translation-en [158 kB]
Fehl:4 http://dl.google.com/linux/chrome/deb stable InRelease   
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
Fehl:5 https://deb.opera.com/opera stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
Fehl:8 https://repo.vivaldi.com/stable/deb stable Release.gpg
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
Paketlisten werden gelesen… Fertig
W: GPG-Fehler: http://dl.google.com/linux/chrome/deb stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
E: Das Depot »http://dl.google.com/linux/chrome/deb stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: GPG-Fehler: https://deb.opera.com/opera stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
E: Das Depot »http://deb.opera.com/opera stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repo.vivaldi.com/stable/deb stable Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
root@xxxxx:~# sudo apt update && apt --fix-broken
OK:2 http://deb.debian.org/debian bullseye InRelease                           
OK:3 http://deb.debian.org/debian bullseye-updates InRelease                   
OK:4 http://security.debian.org/debian-security bullseye-security InRelease   
Holen:5 http://dl.google.com/linux/chrome/deb stable InRelease [1.825 B]       
Ign:1 https://repo.vivaldi.com/stable/deb stable InRelease                     
Holen:6 https://repo.vivaldi.com/stable/deb stable Release [3.840 B]
Holen:7 https://repo.vivaldi.com/stable/deb stable Release.gpg [833 B]
Fehl:5 http://dl.google.com/linux/chrome/deb stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
Holen:8 https://deb.opera.com/opera stable InRelease [2.590 B]
Fehl:7 https://repo.vivaldi.com/stable/deb stable Release.gpg
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
Fehl:8 https://deb.opera.com/opera stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
Paketlisten werden gelesen… Fertig
W: GPG-Fehler: http://dl.google.com/linux/chrome/deb stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
E: Das Depot »http://dl.google.com/linux/chrome/deb stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repo.vivaldi.com/stable/deb stable Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
W: GPG-Fehler: https://deb.opera.com/opera stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
E: Das Depot »http://deb.opera.com/opera stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).









sudo apt update && apt --fix-missing



99% it worked



sudo apt update && apt -- ix-broken

This did not.



What did I do wrong?

Sorry
it is German language.
Regards
 
To be honest, I had my doubts that it would fix everything, but has it done enough to get you up and running without problems
now just to be sure you are fully updated [if you have not already done so]

sudo apt update && apt upgrade

this may give you the result nothing to upgrade [which is fine]
 
Last edited:
Hold on a moment, you're both making a mistake. There has to be a sudo with each command.

So

Code:
sudo apt update && sudo apt --fix-missing

is what it should be for what @wedolearnlinux was trying, and

Code:
sudo apt update && sudo apt upgrade

for what @Brickwizard is suggesting.

Chris Turner
wizardfromoz
 
Hold on a moment, you're both making a mistake. There has to be a sudo with each command.

I have only ever used sudo to open the chain on Debian based distros, it's always worked for me.
 
Brian not sure what "the chain" refers to.

Unless you have two appearances of "sudo", it will not process the commands separated by the double ampersand (&&).

Wiz
 
I should say in your case it won't process the 2nd command, only the 1st.
 
Chris
Chain.. 2 or more commands linked by && as I said I have never sudo the second part of the chain, and it has worked for me, and appears to have fixed most of the OP's problems, [ his only errors are signature missing/out of date with an APT-SECURE(8) reference, something I have not seen before]
If @wedolearnlinux would like to try again, adding sudo to the second command, I would be interested to see if it makes any difference to the signature errors.
 
sudo apt update && apt upgrade
the second command isn't working without sudo in a debian 12 vm or mx linux 21 (based on debian 11). the only place i can get that to run is in an lmde 5 vm. otherwise the second command always errors out. you can check the exit status of the last run command with echo $?. a status of 0 (zero) is generally no error otherwise there was a problem.

Code:
deb12xfce@deb12xfce:~$ deb12xfce@deb12xfce:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
deb12xfce@deb12xfce:~$ echo $?
0
deb12xfce@deb12xfce:~$ sudo apt update && apt --fix-missing
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease
Fetched 151 kB in 1s (233 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
89 packages can be upgraded. Run 'apt list --upgradable' to see them.
apt 2.6.1 (amd64)
Usage: apt [options] command

apt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.

Most used commands:
  list - list packages based on package names
  search - search in package descriptions
  show - show package details
  install - install packages
  reinstall - reinstall packages
  remove - remove packages
  autoremove - automatically remove all unused packages
  update - update list of available packages
  upgrade - upgrade the system by installing/upgrading packages
  full-upgrade - upgrade the system by removing/installing/upgrading packages
  edit-sources - edit the source information file
  satisfy - satisfy dependency strings

See apt(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
                                        This APT has Super Cow Powers.
deb12xfce@deb12xfce:~$ echo $?
1
deb12xfce@deb12xfce:~$ sudo apt update && apt upgrade
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian bookworm-backports InRelease
Hit:4 http://security.debian.org/debian-security bookworm-security InRelease
Fetched 151 kB in 1s (215 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
89 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
deb12xfce@deb12xfce:~$ echo $?
100
 
Last edited:
I did

sudo apt update && apt --fix-missing



sudo apt update && apt --fix-broken


This was wrong, isnt it?

What do I have to do.

I do updates once a week, Is this ok?



is this ok?


Thank You a lot.

It is DEBIAN 11.
 
i couldn't get --fix-missing or --fix-broken to run without also adding install. when in doubt, i always run them as separate commands. so i would try

sudo apt update

followed by

sudo apt install --fix-missing

followed by

sudo apt install --fix-broken
 
Am I missing something? Is he worried about the software on his machine? I'm guessing he probably hasn't heard of distro hopping. It's not windows, wipe the drive and start over. If you're getting kernel panic you've got a serious issue. Either your kernel is corrupt or some piece of hardware is causing. Some new AMD graphics cards have been causing kernel panic, it's no small thing.
 
I would be interested to see if it makes any difference to the signature errors.

As would I, why don't we see?

@wedolearnlinux , if you would be so kind (and patient), I would like you to complete the following commands, the the order I put them. Press Enter between each command, and wait until each step completes before beginning the next one.

If there are any errors (E), warnings (W) or Notes (N) please let us know as you have done above.

Code:
sudo apt --fix-missing update

sudo apt update

sudo apt --fix-broken install

sudo apt upgrade

Thanks, Sophie

Wizard

BTW I have more to add, but let's first get the OP (@wedolearnlinux ) up and running, first.

EDITED - "fix-broken, not "fix broken", also added "install" - my bad, thanks @z7vl7abxc
 
Last edited:
sudo apt --fix broken
does this command (missing the last - in --fix-broken) run on your system?
Code:
deb12xfce@deb12xfce:~$ sudo apt --fix-broken
E: Command line option --fix-broken is not understood in combination with the other options
deb12xfce@deb12xfce:~$ echo $?
100
deb12xfce@deb12xfce:~$ sudo apt install --fix-broken
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
 
Edited above, thanks.

You can actually interchange the positions with install and update, as well.

For example

sudo apt install --fix-broken

is the same as

sudo apt --fix-broken install

and

sudo apt update --fix-missing

is the same as

sudo apt --fix-missing update

I find it is easier to remember the second one in each case, because it makes it like a sentence.

Cheers

Wizard
 
sudo apt --fix-missing update

This did work


sudo apt update

This did work

sudo apt --fix broken

This did NOT work.

Im sorry.

Thank You.








Its Debian 11.
Do I have to install "fix-broken"?
 
No that's OK.

Did

Code:
sudo apt upgrade

provide a result?
 
OK, so I am a little out of date, sorry @wedolearnlinux
Chris.. I will update my notes.
 
This did happen


Code:
root@ddddd:~# sudo apt --fix-missing update
OK:3 http://deb.debian.org/debian bullseye InRelease                           
Holen:4 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]
Holen:5 http://security.debian.org/debian-security bullseye-security InRelease [48,4 kB]
Holen:6 http://dl.google.com/linux/chrome/deb stable InRelease [1.825 B]       
Holen:1 https://deb.opera.com/opera stable InRelease [2.590 B]                 
Ign:2 https://repo.vivaldi.com/stable/deb stable InRelease                     
Holen:7 https://repo.vivaldi.com/stable/deb stable Release [3.840 B]
Holen:8 https://repo.vivaldi.com/stable/deb stable Release.gpg [833 B]
Fehl:6 http://dl.google.com/linux/chrome/deb stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
Fehl:1 https://deb.opera.com/opera stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
Fehl:8 https://repo.vivaldi.com/stable/deb stable Release.gpg
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
Paketlisten werden gelesen… Fertig
W: GPG-Fehler: http://dl.google.com/linux/chrome/deb stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
E: Das Depot »http://dl.google.com/linux/chrome/deb stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: GPG-Fehler: https://deb.opera.com/opera stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
E: Das Depot »http://deb.opera.com/opera stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repo.vivaldi.com/stable/deb stable Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
root@ddddd:~# sudo apt update
OK:2 http://deb.debian.org/debian bullseye InRelease                           
OK:3 http://security.debian.org/debian-security bullseye-security InRelease   
Holen:4 http://dl.google.com/linux/chrome/deb stable InRelease [1.825 B]       
OK:6 http://deb.debian.org/debian bullseye-updates InRelease                   
Holen:1 https://deb.opera.com/opera stable InRelease [2.590 B]
Ign:5 https://repo.vivaldi.com/stable/deb stable InRelease
Holen:7 https://repo.vivaldi.com/stable/deb stable Release [3.840 B]
Holen:8 https://repo.vivaldi.com/stable/deb stable Release.gpg [833 B]
Fehl:4 http://dl.google.com/linux/chrome/deb stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
Fehl:1 https://deb.opera.com/opera stable InRelease
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
Fehl:8 https://repo.vivaldi.com/stable/deb stable Release.gpg
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
Paketlisten werden gelesen… Fertig
W: GPG-Fehler: http://dl.google.com/linux/chrome/deb stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4EB27DB2A3B88B8B
E: Das Depot »http://dl.google.com/linux/chrome/deb stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: GPG-Fehler: https://deb.opera.com/opera stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24A1004B1F11DCC9
E: Das Depot »http://deb.opera.com/opera stable InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repo.vivaldi.com/stable/deb stable Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 62993C724218647E
root@ddddd:~# sudo apt --fix broken
E: Befehlszeilenoption »--fix« kann in Kombination mit den anderen Optionen nicht interpretiert werden.
root@ddddd:~# sudo apt --fix-broken
E: Befehlszeilenoption »--fix-broken« kann in Kombination mit den anderen Optionen nicht interpretiert werden.
root@ddddd:~#


What did I do wrong?



Thank You
 
A roughish translation from Die folgenden Signaturen konnten nicht überprüft werden.....down is:

The following signatures could not be checked because your public key is not available: No_pubKey 4EB27DB2A3B8B8B
Feels: 1 https://deb.opera.com/opera stable inrelease
The following signatures could not be checked because your public key is not available: NO_PUBKEY 24A1004B1F11DCC9
False: 8 https://repo.vivaldi.com/stable/deb stable release.gpg
The following signatures could not be checked because your public key is not available: No_pubKey 62993c724218647e
Package lists are read ... ready
W: GPG error: http://dl.google.com/linux/chrome/deb stable inrelease: The following signatures could not be checked because their public key is not available: No_pubKey 4EB27DB2A3B8B8B
E: The Depot "http://dl.google.com/linux/chrome/deb stable inrelease" is not signed.
N: An update of such a depot cannot be carried out in a safe way, so it is deactivated by default.
N: Further details on the production of packet deposits and their user configuration can be found in the manual page APT-Secure (8).
W: GPG error: https://deb.opera.com/opera stable inrelease: The following signatures could not be checked because their public key is not available: No_pubKey 24A1004B1F1DCC9
E: The Depot "http://deb.opera.com/opera stable inrelease" is not signed.
N: An update of such a depot cannot be carried out in a safe way, so it is deactivated by default.
N: Further details on the production of packet deposits and their user configuration can be found in the manual page APT-Secure (8).
W:
An error occurred while checking the signature.The depot has not been updated and the previous index files are used.GPG error: https://repo.vivaldi.com/stab stable release: The following signatures could not be checked because their public key is not available: No_pubKey 62993c724218647e
root@ddddd: ~# sudo apt --fix broken
E: Command line option »--Fix« cannot be interpreted in combination with the other options.
root@ddddd: ~# sudo apt --fix-broken
E: Command line option »-Fix broken« cannot be interpreted in combination with the other options.
root@ddddd: ~#
 

Members online


Top