Sources.list の重大な脆弱性リンクの更新

Sources.list の重大な脆弱性リンクの更新

この質問はこのGitHubの投稿

リンクが正しく取得され、エラーが発生していないことを確認したかったので、ma.archiveUbuntuリンクを次のように置き換えました。出典: http://security.ubuntu.com

スクリーンショット

これは正しいでしょうか、それとも何か他のことをするべきでしょうか?

答え1

セキュリティ リポジトリのみに焦点を当てる場合は、すべてを 1 行にまとめることができます。

deb http://security.ubuntu.com/ubuntu lunar-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu lunar-security main restricted universe multiverse

残りのリポジトリについては次のものが必要です (現時点ではパートナー リポジトリはここに含めないことに注意してください)。

deb http://ma.archive.ubuntu.com/ubuntu lunar main restricted universe multiverse
#deb-src http://ma.archive.ubuntu.com/ubuntu lunar main restricted universe multiverse
deb http://ma.archive.ubuntu.com/ubuntu lunar-updates main restricted universe multiverse
#deb-src http://ma.archive.ubuntu.com/ubuntu lunar-updates main restricted universe multiverse

そうすればほとんどのニーズは満たされるはずです。

(注:パートナーリポジトリが有効になっている場合はそのままにしておくことを前提としています。また、deb-src必要に応じてコメントアウトした行も含めました。未来ある時点で。)

関連情報