0

I installed a number of apt packages via synaptic. After running the update I was asked to define additional mirror-servers. I tried to do this with ubuntu and debian servers. I see the apt packages installed, but if I want to update the apt-system using sudo apt update && sudo apt upgrade && sudo apt auto-remove.

This failed and I tried various hints around that subject including gpg measures with no real progress.

The effect can be seen here:

friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$ sudo apt full-upgrade
E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/archive_uri-https_deb_debian_org_debian_noble-noble.list (Component)
E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/archive_uri-https_security_ubuntu_com_ubuntu_noble-noble.list (Component)
E: Die Liste der Quellen konnte nicht gelesen werden.
E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/archive_uri-https_deb_debian_org_debian_noble-noble.list (Component)
E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/archive_uri-https_security_ubuntu_com_ubuntu_noble-noble.list (Component)
E: Die Liste der Quellen konnte nicht gelesen werden.
friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$ sudo apt update && sudo apt upgrade && sudo apt auto-remove
Holen:1 https://dl.winehq.org/wine-builds/ubuntu noble InRelease [6.261 B]
Ign:2 https://deb.debian.org/debian noble InRelease                            
Fehl:1 https://dl.winehq.org/wine-builds/ubuntu noble InRelease                
  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 76F1A20FF987672F
Fehl:3 https://deb.debian.org/debian noble Release                             
  404  Not Found [IP: 2a04:4e42:8d::644 443]
OK:4 https://ftp.uni-stuttgart.de/ubuntu noble InRelease                       
OK:5 http://security.ubuntu.com/ubuntu noble-security InRelease                
OK:6 https://ftp.uni-stuttgart.de/ubuntu noble-updates InRelease               
Ign:7 https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble InRelease  
OK:8 https://ftp.uni-stuttgart.de/ubuntu noble-backports InRelease             
Fehl:9 https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release   
  404  Not Found [IP: 2620:2d:4000:1::81 443]
Holen:10 https://security.ubuntu.com/ubuntu noble InRelease [256 kB]           
Holen:11 https://security.ubuntu.com/ubuntu noble/main amd64 Packages [1.401 kB]
Holen:12 https://security.ubuntu.com/ubuntu noble/main i386 Packages [1.041 kB]
Holen:13 https://security.ubuntu.com/ubuntu noble/main Translation-de [504 kB]
Holen:14 https://security.ubuntu.com/ubuntu noble/main Translation-en [513 kB]
Holen:15 https://security.ubuntu.com/ubuntu noble/main amd64 Components [464 kB]
Holen:16 https://security.ubuntu.com/ubuntu noble/main Icons (48x48) [106 kB]
Holen:17 https://security.ubuntu.com/ubuntu noble/main Icons (64x64) [156 kB]
Holen:18 https://security.ubuntu.com/ubuntu noble/main Icons (64x64@2) [21,8 kB]
Holen:19 https://security.ubuntu.com/ubuntu noble/main amd64 c-n-f Metadata [30,5 kB]
Paketlisten werden gelesen… Fertig                                             
W: GPG-Fehler: https://dl.winehq.org/wine-builds/ubuntu noble InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 76F1A20FF987672F
E: Das Depot »https://dl.winehq.org/wine-builds/ubuntu noble 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).
E: Das Depot »https://deb.debian.org/debian noble Release« enthält keine Release-Datei.
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).
E: Das Depot »https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release« enthält keine Release-Datei.
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).
friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$

I'm sorry that all the output is in German language, but I think the main content can be understood.

Update #1

The most recent state after another trial to deal with one of the gpg-keys is ...

friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$ sudo gpg --keyserver pgpkeys.mit.edu --recv-key '76F1A20FF987672F'
gpg: WARNUNG: Unsichere Zugriffsrechte des Home-Verzeichnis `/root/.gnupg'

gpg: /root/.gnupg/trustdb.gpg: trust-db erzeugt gpg: Schlüssel 76F1A20FF987672F: Öffentlicher Schlüssel "WineHQ packages <wine-devel@winehq.org>" importiert gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1 gpg: importiert: 1 friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$ sudo apt-get update [sudo] Passwort für friedrich: OK:1 https://dl.winehq.org/wine-builds/ubuntu noble InRelease Holen:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Ign:3 https://deb.debian.org/debian noble InRelease
OK:4 https://ftp.uni-stuttgart.de/ubuntu noble InRelease
Holen:5 https://ftp.uni-stuttgart.de/ubuntu noble-updates InRelease [126 kB]
Fehl:6 https://deb.debian.org/debian noble Release
404 Not Found [IP: 2a04:4e42:6f::644 443] Holen:7 https://ftp.uni-stuttgart.de/ubuntu noble-backports InRelease [126 kB]
Holen:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [8.976 B]
Ign:9 https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble InRelease
Ign:10 https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu noble InRelease Holen:11 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B] Holen:12 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [51,9 kB]
Holen:13 https://ftp.uni-stuttgart.de/ubuntu noble-updates/main amd64 Components [151 kB]
Fehl:14 https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release
404 Not Found [IP: 2620:2d:4000:1::81 443] Holen:15 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Fehl:16 https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu noble Release
404 Not Found [IP: 2620:2d:4000:1::81 443] Holen:17 https://ftp.uni-stuttgart.de/ubuntu noble-updates/restricted amd64 Components [212 B] Holen:18 https://ftp.uni-stuttgart.de/ubuntu noble-updates/universe amd64 Packages [1.013 kB] OK:19 https://security.ubuntu.com/ubuntu noble InRelease
Holen:20 https://ftp.uni-stuttgart.de/ubuntu noble-updates/universe i386 Packages [621 kB] Holen:21 https://ftp.uni-stuttgart.de/ubuntu noble-updates/universe Translation-en [253 kB] Holen:22 https://ftp.uni-stuttgart.de/ubuntu noble-updates/universe amd64 Components [362 kB] Holen:23 https://ftp.uni-stuttgart.de/ubuntu noble-updates/multiverse amd64 Components [940 B] Holen:24 https://ftp.uni-stuttgart.de/ubuntu noble-backports/main amd64 Components [208 B] Holen:25 https://ftp.uni-stuttgart.de/ubuntu noble-backports/restricted amd64 Components [216 B] Holen:26 https://ftp.uni-stuttgart.de/ubuntu noble-backports/universe amd64 Components [17,6 kB] Holen:27 https://ftp.uni-stuttgart.de/ubuntu noble-backports/multiverse amd64 Components [212 B] Paketlisten werden gelesen… Fertig
W: https://dl.winehq.org/wine-builds/ubuntu/dists/noble/InRelease: Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details. E: Das Depot »https://deb.debian.org/debian noble Release« enthält keine Release-Datei. 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). E: Das Depot »https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release« enthält keine Release-Datei. 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). E: Das Depot »https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu noble Release« enthält keine Release-Datei. 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). friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$

Update #2

A picture may show the effect of selecting additional mirror servers in the surface of synaptic.

Synaptic "Other programs" setting dialog

Removing the two hooks at

  • security.ubuntu.com/ubuntu/noble main and
  • deb.debian.org/debian/noble main

Change in settings of packet sources

... changes the result a little removing some of the errors:

friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$ sudo apt-get update
OK:1 https://dl.winehq.org/wine-builds/ubuntu noble InRelease
OK:2 https://ftp.uni-stuttgart.de/ubuntu noble InRelease                                                                                                                          
OK:3 https://ftp.uni-stuttgart.de/ubuntu noble-updates InRelease          
Ign:4 https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble InRelease
OK:5 http://security.ubuntu.com/ubuntu noble-security InRelease
OK:6 https://ftp.uni-stuttgart.de/ubuntu noble-backports InRelease
Ign:7 https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu noble InRelease
Fehl:8 https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release
  404  Not Found [IP: 2620:2d:4000:1::81 443]
Fehl:9 https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu noble Release
  404  Not Found [IP: 2620:2d:4000:1::81 443]
Paketlisten werden gelesen… Fertig
W: https://dl.winehq.org/wine-builds/ubuntu/dists/noble/InRelease: Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details.
E: Das Depot »https://ppa.launchpadcontent.net/ubuntu-wine/ppa/ubuntu noble Release« enthält keine Release-Datei.
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).
E: Das Depot »https://ppa.launchpadcontent.net/webupd8team/y-ppa-manager/ubuntu noble Release« enthält keine Release-Datei.
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).
friedrich@friedrich-xyz-Laptop-15-cs3xxx:/etc/apt/sources.list.d$ 

I understand that I lost the gpg-keys for the repositories. I can find some hints about retrieving these keys, but the missing links are

  • the URLs, where to download them from and
  • the names of the key-files to retrieve.

Every kind of help appreciated. TIA

FrSch
  • 21

1 Answers1

0

Thank you @Thomas Ward, your answer directed me the right way. Together with another hint I removed two of the entries (based on ppa.launchpadcontent.net in the Software Update Management (tab "Other Software"). Compare that list of "Other Software" with the one from the Question! This solved the issues with "no Release-File". The remaining issue "key too old" could be solved by copying the /etc/apt/trusted.gpg to /etc/apt/trusted.gpg.d and always applying by apt update:

friedrich@friedrich-xyz-Laptop-15-cs3xxx:~$ sudo apt update
OK:1 http://security.ubuntu.com/ubuntu noble-security InRelease
OK:2 https://dl.winehq.org/wine-builds/ubuntu noble InRelease                     
OK:3 https://ftp.uni-stuttgart.de/ubuntu noble InRelease                          
Holen:4 https://ftp.uni-stuttgart.de/ubuntu noble-updates InRelease [126 kB]
OK:5 https://ftp.uni-stuttgart.de/ubuntu noble-backports InRelease
Holen:6 https://ftp.uni-stuttgart.de/ubuntu noble-updates/universe amd64 Packages [1.014 kB]
Holen:7 https://ftp.uni-stuttgart.de/ubuntu noble-updates/universe i386 Packages [621 kB]
Es wurden 1.761 kB in 1 s geholt (1.509 kB/s).            
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Aktualisierung für 6 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
friedrich@friedrich-xyz-Laptop-15-cs3xxx:~$

I am happy with Ubuntu 24.04 replacing most of my Win10 solution before. Thanks to the community.

FrSch
  • 21