DEBIAN:apt-getアップデート:証明書検証エラー

DEBIAN:apt-getアップデート:証明書検証エラー

Debian 9 バージョンをアップグレードしたいと思います。次の手順に従ってください。https://www.debian.org/doc/manuals/debian-faq/uptodate.en.html

起動時にapt-get update次のエラーが発生します。

Réception de:1 http://repo.mysql.com/apt/debian jessie InRelease [28,8 kB]
Réception de:3 http://ftp.fr.debian.org/debian buster InRelease [122 kB]
Ign:2 https://packages.dotdeb.org jessie InRelease
Err:1 http://repo.mysql.com/apt/debian jessie InRelease
  Les signatures suivantes ne sont pas valables : EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering <[email protected]>
Ign:3 http://ftp.fr.debian.org/debian buster InRelease
Err:4 https://packages.dotdeb.org jessie Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Lecture des listes de paquets... Fait
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/debian jessie InRelease: Les signatures suivantes ne sont pas valables : EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering <[email protected]>
W: Erreur de GPG : http://ftp.fr.debian.org/debian buster InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
W: The repository 'http://ftp.fr.debian.org/debian buster InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.dotdeb.org jessie Release' does no longer have a Release file.
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.
root@colinweb:/# apt-get update

色についてはスクリーンショットをご覧ください。 apt-getアップデートエラースクリーンショット

私の/etc/apt/sources.listコンテンツは次のとおりです。

deb http://ftp.fr.debian.org/debian/ stable main contrib

私もこの記事でこのコマンドを実行してみました。https://askubuntu.com/questions/277793/getting-server-certificate-verification-failed-during-apt-get-update/277796#277796: apt-get update -o Acquire::https::mirror.ufs.ac.za::Verify-Peer=false

しかし、同じエラーが発生します。

ベストアンサー1

実行すべき操作の説明は次のとおりです。 https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-repo-manual-setup

デフォルトでは、次のコマンドを実行する必要があります。

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8C718D3B5072E1F5

Debian 9 の場合、システムに次のものが必要です。/etc/apt/sources.list文書:

deb http://ftp.fr.debian.org/debian/ stretch main
deb-src http://ftp.fr.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

おすすめ記事