Ubuntu apt update funktioniert nicht - GPG signatures invalid Error?
Hey! Wenn ich versuche, auf Ubuntu den apt update Befehl auszuführen, bekomme ich einen sehr langen Error:
tux@cruggserver:~$ sudo apt-get update
Ign:1 http://archive.ubuntu.com/ubuntu precise InRelease
Hit:2 http://archive.ubuntu.com/ubuntu precise Release
Get:3 http://archive.ubuntu.com/ubuntu precise-updates InRelease [55,7 kB]
Get:4 http://archive.ubuntu.com/ubuntu precise-security InRelease [55,7 kB]
Get:5 http://archive.ubuntu.com/ubuntu precise-backports InRelease [55,7 kB]
Get:6 http://archive.ubuntu.com/ubuntu precise Release.gpg [198 B]
Err:3 http://archive.ubuntu.com/ubuntu precise-updates InRelease
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
Err:4 http://archive.ubuntu.com/ubuntu precise-security InRelease
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
Err:5 http://archive.ubuntu.com/ubuntu precise-backports InRelease
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
Ign:6 http://archive.ubuntu.com/ubuntu precise Release.gpg
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.ubuntu.com/ubuntu precise-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.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-security InRelease: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.ubuntu.com/ubuntu precise-security 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.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-backports InRelease: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.ubuntu.com/ubuntu precise-backports 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.
W: GPG error: http://archive.ubuntu.com/ubuntu precise Release: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.ubuntu.com/ubuntu precise Release' 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.
Ich habe schon sehr vieles im Internet probiert, jedoch hat nichts geklappt.
2 Antworten
„precise“, das ist eine Ubuntu Version von 2012. Kein Wunder, dass das nicht funktioniert.
Daten sichern (falls welche vorhanden) und eine aktuelle Ubuntu Version wie 20.04 installieren :)
Hast du für irgendwas eine Anleitung von 2012 benutzt, die du nicht verstehst?
Abgesehen davon, dass der Support von 19.10 auch vorbei ist, wenn ich mich nicht täusche...
Sieht sehr nach Ubuntu 12 aus. Versuch mal folgendes:
# deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
In die Datei /etc/apt/sources.list
einzufügen. Das ist die aktuelle, die bei mir funktioniert. Leg aber unbedingt vorher eine Sicherungskopie an.
Anscheind war der Command aus dem Internet der angeblich die sources.list von Ubuntu 19 reparieren soll doch nicht so Up-To-Date. Davor waren es definitiv die Standart Repositories von Ubuntu 19 und auch diese haben nicht funktioniert.
Ich habe mich jetzt entschieden, das ganze einfach neu zu installieren.
Das ist Ubuntu 19...