noobdummy / blog

MIT License
0 stars 0 forks source link

qemu #14

Open noobdummy opened 3 years ago

noobdummy commented 3 years ago

在/etc/apt/sources.list中添加

deb-src ftp://ftp.de.debian.org/debian/ stable main contrib
noobdummy commented 3 years ago
apt update

报错

Get:17 ftp://ftp.de.debian.org/debian stable InRelease [121 kB]                                                                    
Err:17 ftp://ftp.de.debian.org/debian stable InRelease                                                                             
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY DCC9EFBF77E11517
Reading package lists... Done                                                                                                      
W: GPG error: ftp://ftp.de.debian.org/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY DCC9EFBF77E11517
E: The repository 'ftp://ftp.de.debian.org/debian stable 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.
noobdummy commented 3 years ago
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
Executing: /tmp/apt-key-gpghome.j8dovSYfB5/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
gpg: key E0B11894F66AEC98: 14 signatures not checked due to missing keys
gpg: key E0B11894F66AEC98: public key "Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
Executing: /tmp/apt-key-gpghome.LVqvykCdnF/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
gpg: key DC30D7C23CBBABEE: 5 signatures not checked due to missing keys
gpg: key DC30D7C23CBBABEE: public key "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517
Executing: /tmp/apt-key-gpghome.0B4hv2FUaM/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517
gpg: key DCC9EFBF77E11517: 3 signatures not checked due to missing keys
gpg: key DCC9EFBF77E11517: public key "Debian Stable Release Key (10/buster) <debian-release@lists.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1