ich mache gerade ein Upgrade von Jessie nach Stretch. Das ist zum Teil durch. Wenn ich jetzt aber apt-get update durchführe, bekomme ich die Meldung
Code: Alles auswählen
# apt-get update
Ign:1 http://wertarbyte.de/apt ./ InRelease
Hit:2 http://wertarbyte.de/apt ./ Release
Hit:3 http://security.debian.org stretch/updates InRelease
Ign:4 http://ftp.de.debian.org/debian stretch InRelease
Get:5 http://ftp.de.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:6 http://ftp.de.debian.org/debian stretch Release
Err:7 http://wertarbyte.de/apt ./ Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5145B9CD752C0197
Get:8 http://ftp.de.debian.org/debian stretch-updates/main Sources [13.4 kB]
Get:9 http://ftp.de.debian.org/debian stretch-updates/main amd64 Packages [27.4 kB]
Get:10 http://ftp.de.debian.org/debian stretch-updates/main Translation-en [11.3 kB]
Get:11 http://ftp.de.debian.org/debian stretch-updates/main amd64 Contents (deb) [28.3 kB]
Fetched 171 kB in 0s (276 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://wertarbyte.de/apt ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5145B9CD752C0197
W: Failed to fetch http://wertarbyte.de/apt/./Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5145B9CD752C0197
W: Some index files failed to download. They have been ignored, or old ones used instead.
Code: Alles auswählen
# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch main contrib non-free
#deb ftp://mirror.hetzner.de/debian/packages stretch main contrib non-free
#deb ftp://mirror.hetzner.de/debian/security stretch/updates main contrib non-free
#deb http://ftp.uni-bayreuth.de/linux/Debian/debian/ stretch main non-free contrib
#deb-src http://ftp.uni-bayreuth.de/linux/Debian/debian/ stretch main non-free contrib
deb http://ftp.de.debian.org/debian/ stretch-updates main
deb-src http://ftp.de.debian.org/debian/ stretch-updates main
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
Code: Alles auswählen
# curl http://wertarbyte.de/apt/Release.gpg | apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 190 100 190 0 0 29888 0 --:--:-- --:--:-- --:--:-- 31666
gpg: no valid OpenPGP data found.
Code: Alles auswählen
gpg -–recv-keys 5145B9CD752C0197 | apt-key add –
gpg: invalid option "-–recv-keys"
gpg: can't open '–': No such file or directory
BrotherJ