Probleme mit apt update

tuturu

New Member
Jul 10, 2022
2
0
1
Hallo liebe Community,
ich bin ein ziemlicher Neuling was Proxmox angeht und habe heute das erste mal damit angefangen, mich mit Containern zu befassen. Ich hab einen Container mit dem Ubuntu 22.04 Template erstellt und die Konsole geöffnet. Jetzt wollte ich erstmal apt update ausführen, leider stoße ich hier direkt auf Fehler.

Code:
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:2 http://ftp.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://ftp.debian.org/debian bullseye-updates InRelease [39.4 kB]
Err:1 http://security.debian.org/debian-security bullseye-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 112695A0E562B32A NO_PUBKEY 54404762BBB6E853
Err:2 http://ftp.debian.org/debian bullseye InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 605C66F00D6C9793
Err:3 http://ftp.debian.org/debian bullseye-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Reading package lists... Done
W: GPG error: http://security.debian.org/debian-security bullseye-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 112695A0E562B32A NO_PUBKEY 54404762BBB6E853
E: The repository 'http://security.debian.org/debian-security bullseye-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://ftp.debian.org/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 605C66F00D6C9793
E: The repository 'http://ftp.debian.org/debian bullseye 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://ftp.debian.org/debian bullseye-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: The repository 'http://ftp.debian.org/debian bullseye-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.

Hat jemand schonmal Erfahrung damit gemacht bzw weiß, was ich eventuell falsch gemacht habe? Netzwerkfunktionen sollten eig funktionieren. Ping auf google.de funktioniert soweit.

Danke für Eure Mithilfe!
 
In der Konsole als root/sudo:

Bash:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 54404762BBB6E853

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 605C66F00D6C9793

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9

Ggf. kann es sein, dass Du keyserver.ubuntu.com mit Port angeben musst, also keyserver.ubuntu.com:80

Danach nochmal ein apt-get update ausführen.
 
Last edited:
Hey, danke für eure Hilfe. Schlussendlich lag es glaube ich daran, dass ich beim Konfigurieren des Containers falsche Netzwerk Einstellungen genommen hatte, deswegen hatte ich bei der Installation von Ubuntu kein Internet, was zu Fehlern führte. Ich hab den Container noch einmal neu aufgesetzt und jetzt klappt's.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!