
apt-get updateを実行すると、次のような結果が得られます。
/root$ sudo apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [1,507 B]
Get:2 http://cdn.debian.net jessie InRelease [1,507 B]
Get:3 http://cdn.debian.net jessie-updates InRelease [1,507 B]
Err http://security.debian.org jessie/updates InReleaset/lists/partial/security.debian.org_dists_jessie_updates_InRelease into data and signature failed
Err http://cdn.debian.net jessie InReleasep /var/lib/apt/lists/partial/cdn.debian.net_debian_dists_jessie_InRelease into data and signature failed
Err http://cdn.debian.net jessie-updates InReleaseib/apt/lists/partial/cdn.debian.net_debian_dists_jessie-updates_InRelease into data and signature failed
Fetched 4,521 B in 1s (4,271 B/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://security.debian.org jessie/updates InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn.debian.net jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn.debian.net jessie-updates InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
W: Failed to fetch http://cdn.debian.net/debian/dists/jessie/InRelease
W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease
W: Failed to fetch http://cdn.debian.net/debian/dists/jessie-updates/InRelease
W: Some index files failed to download. They have been ignored, or old ones used instead.
この記事を読んでいますが、GPGキーがリポジトリでどのように機能するかについてはまだ少し混乱しています。
各リポジトリにはそれに関連するキーがあり、そのリポジトリで更新を許可する前に、自分のコンピュータでそのキーを信頼する必要があります。そうですか?もしそうなら、このエラーがキーの期限切れのために発生した場合、どのように新しいキーをインポートできますか?
編集:「Clearsignedファイルが無効です」というメッセージが表示される理由も疑問に思います。私はClearsignがタールボールではなくテキスト文書の包装にのみ使用されると思いました。これ間違っています。
答え1
この質問は非常に一般的なプロキシの問題であることがわかったので、削除する必要があるかどうかわかりません。
それではないと確信していますが、wgetを実行しました-O-http://cdn.debian.net/debian/dists/jessie/InRelease提案されているように、プロキシから応答が返されました。私たちの所属事務所を教えているのではないようですが、そうです!