存储库...不再有发布文件?

存储库...不再有发布文件?

每当我使用更新时,它都会显示此错误。我是 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

相关内容