Kali仮想マシンにマウントされたISOを使用して、KaliLinuxを2017.2から2018.2にアップグレードしようとしています。
それで、私がしたことは、sources.list
ファイルを次のように編集したことです。
deb file:///media/cdrom0 kali-rolling main contrib non-free
#を使用して他の行にコメントしました。
今、私が試みるときはいつでもapt-get update
、私は得ます:
E: The repository 'file:/media/cdrom0 kali-rolling Release' is not signed.
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.
のDebianマニュアルページにapt-get
よると、次の--allow-unauthenticated
ようなオプションを使用できます。
apt-get update --allow-unauthenticated
のマニュアルページのエントリで--allow-unauthenticated
説明されているように:
パッケージを認証できない場合は無視し、プロンプトを表示しません。これは、ローカルリポジトリを操作するときに役立ちますが、データの信頼性がユーザー自身によって別の方法で保証されていない場合、大きなセキュリティリスクになります。通常、sources.list(5)エントリのTrustedオプションの使用は、このグローバルオーバーライドよりも優先されます。構成アイテム:APT :: Get :: AllowUnauthenticated。
それでも問題が解決しない場合は、次の--allow-insecure-repositories
ように実行してみてください。
apt-get update --allow-insecure-repositories
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加