アップデートを使用するたびにこのエラーが表示されます。私は 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