kali linuxのapt-getアップデートエラー

kali linuxのapt-getアップデートエラー

解決策を見つけるために本当に頑張っていますが、入力するapt-get updateたびに次のメッセージが表示されます。

Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease              
Get:2 https://download.virtualbox.org/virtualbox/debian vivid InRelease [7,140 B]
Err:2 https://download.virtualbox.org/virtualbox/debian vivid InRelease
The following signatures were invalid: 7B0FAB3A13B907435925D9C954422A4B98AB5139
Err:3 http://repo.kali.org/kali kali-rolling InRelease
403  Forbidden

Reading package lists... Done

W: GPG error: https://download.virtualbox.org/virtualbox/debian vivid InRelease: The following signatures were invalid: 7B0FAB3A13B907435925D9C954422A4B98AB5139

E: The repository 'https://download.virtualbox.org/virtualbox/debian vivid InRelease' 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.

W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

W: Target Translations (contrib/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list.d/virtualbox.list:1

私のsource.listファイルには次のものが含まれています。

#The Kali Repository

# deb cdrom:[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49]/ kali-rolling contrib main non-free



deb http://repo.kali.org/kali kali-rolling main contrib non-free

# deb-src http://repo.kali.org/kali kali-rolling main contrib non-free

私は本当に懸命に調査し、オンラインで多くの問題を解決しましたが、何も起こりませんでした。

誰でもこの問題に対する解決策を提案できますか?ありがとうございます。

ベストアンサー1

現在、2つ以上の問題が発生しているようです。初期の問題は正しいGPG署名が不足しているようです。サイトを信頼する準備ができたら、エラー メッセージの URL にアクセスしてください。https://download.virtualbox.org/virtualbox/debian、そこに3つの* .ascファイルが表示されます。apt-key add使用しているパッケージで実行してみてください。

2番目の問題は、間違ったURLを使用していることです。http://repo.kali.org/kali何かのために。

3番目の問題は、ファイルのsources.list13行目に何らかの形で重複があるようです。長すぎない場合は投稿してください。

最後に、公式kali linuxフォーラムのウェブサイトがあります。https://forums.kali.org/サインアップするのに役立ちます。

おすすめ記事