更新を使用するたびに、このエラーが表示されます。私はLinuxを初めて使用していますが、この問題をどのように解決できますか?
apt-get update -y
Ign:1 http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ InRelease
Err:2 http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ Release
404 Not Found [IP: 195.135.221.134 80]
Hit:3 http://repo.steampowered.com/steam precise InRelease
Hit:4 https://download.sublimetext.com apt/stable/ InRelease
Hit:5 https://mirror.karneval.cz/pub/linux/kali kali-rolling InRelease
Reading package lists... Done
E: The repository 'http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ Release' does not have a Release file.
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.
一部のシステム情報
Operating System: Kali GNU/Linux Rolling
Kernel: Linux 5.4.0-kali4-amd64
Architecture: x86-64
Release: 2020.2
これは私のsource.listファイルです。
deb https://http.kali.org/kali kali-rolling main non-free contrib
deb-src https://http.kali.org/kali kali-rolling main non-free contrib
アンインストールしてアップグレードしようとしましたが、まだアップグレードは許可されていません。
$ apt-get upgrade -y
eading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
[ ..packages.. ]
Use 'apt autoremove' to remove them.
The following packages have been kept back:
[ ..packages.. ]
0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
ベストアンサー1
リポジトリhttp://download.opensuse.org/repositories/home:/strycore/Debian_9.0
存在しません(削除済み)。 Debian 9の代わりにテストコード名を使用できます。
リリースキーを取得します。
wget http://download.opensuse.org/repositories/home:/strycore/Debian_Testing/Release.key -O- |sudo apt-key add -
次のようにディレクトリを変更し、/etc/apt/sources.list.d/
lutrisリポジトリ(と同様)を編集します。lutris.list
deb http://download.opensuse.org/repositories/home:/strycore/Debian_Testing/ ./
precise
ストレージを無効にします。次に、次を実行します。
sudo apt update
sudo apt dist-upgrade