错误:6 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 软件包 404 未找到

错误:6 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64 软件包 404 未找到

添加新存储库以在 kali-linux 上安装 WineHQ 并更新它之后

# sudo apt-get update

> Err:6 https://dl.winehq.org/wine-builds/debian DISTRO/main amd64
> Packages   404  Not Found

W: The repository 'https://dl.winehq.org/wine-builds/debian DISTRO Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://dl.winehq.org/wine-builds/debian/dists/DISTRO/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

回购协议是:

deb http://http.kali.org/kali kali-rolling 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

deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free 

deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
deb http://ftp.de.debian.org/debian/ oldstable main

答案1

您不应该DISTRO在那里输入 url,而是输入您想要的版本号的名称,即输入avlinuxjessiesidstretch之一wheezy。自从你运行 Kali 以来,我不确定你需要哪一个。我的理解是 Kali 是基于 Debian 测试的,所以你应该尝试输入stretchurl 而不是DISTRO.

不建议在 Kali 发行版中使用来自外部源的存储库,要安装 Wine,您/etc/apt/sources.list应该包含以下行,仅此而已:

deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib 
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

当该文件是这样的时,请执行以下操作:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine-bin:i386

非常重要的是,该文件/etc/apt/sources.list除了上述几行之外不包含任何其他内容。

相关内容