Debianstretchは私の個人的なストレージを許可しません

Debianstretchは私の個人的なストレージを許可しません

長年(woody、IIRC以降)私はすべてのサーバーを管理するためにプライベートDebianリポジトリを使用してきました(一部のパッケージのインストール)。

最近、JessieからStretchに切り替えました。それ以来、Release.gpg は使用できなくなります。

以前は、次は正しく機能しました。 sudo apt-key adv --keyserver keys.gnupg.net--search-keys C9384E910F2B8604

存在するhttps://wiki.debian.org/DebianRepository/UseThirdPartyこの方法をもう使用しないことを読んでください。なぜですか?

それで、そこに言及された方法を試してみました。 Types: deb URIs: http://debian.consecom.org/debian64/ Suites: consecom Architectures: i386 amd64 Components: config Signed-By: /etc/consecom/consecom-archive-keyring.gpg

これにより、次のエラーメッセージが表示されます。 Ign:1 http://debian.consecom.org/debian64 consecom InRelease Get:2 http://debian.consecom.org/debian64 consecom Release [3,365 B] Get:3 http://debian.consecom.org/debian64 consecom Release.gpg [836 B] Get:4 http://security.debian.org stretch/updates InRelease [62.9 kB] Err:3 http://debian.consecom.org/debian64 consecom Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C9384E910F2B8604 ... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://debian.consecom.org/debian64 consecom Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C9384E910F2B8604 W: Failed to fetch http://debian.consecom.org/debian64/dists/consecom/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C9384E910F2B8604 W: Some index files failed to download. They have been ignored, or old ones used instead.

成功しませんでした(注:私はhttpSを使わずに/ etc / consecomに設定を入れました)。

私の質問は:個人リポジトリをJessieからStretchに移行する最も簡単な方法は何ですか?また、これらのパッケージにはバイナリは含まれておらず、Debianのバージョンに依存しないため、jessieを提供して単一のリポジトリから拡張する必要があります。

ベストアンサー1

この問題を解決するのは実際には非常に簡単です。

  • apt-keyが信頼できると見なすダイジェスト(SHA-256など)を使用してリリースファイルに再署名します。

問題の原因を特定するのは痛いことです。

おすすめ記事