由于更新错误而无法下载 Wine?

由于更新错误而无法下载 Wine?

我正在寻找一种在我的 chromebook 上成功运行《帝国时代 II》的方法。我目前正在使用 xenial,并尝试了各种方法让 Wine 工作,但都没有成功。我的问题似乎是在我添加存储库后,我在下载 Wine2.0 之前进行了更新,但我收到了一大堆错误消息,我认为这些消息导致了问题。不幸的是,我没有任何编码经验,所以我真的不知道这意味着什么。无论如何,当我输入

sudo apt-get update

我得到回报

Hit:1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Err:4 https://dl/winehq.org/wine-builds/ubuntu xenial InRelease
  Could not resolve host: dl
Hit:5 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages    
Ign:9 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Err:8 http://ports.ubuntu.com/ubuntu-ports xenial/main i386 Packages
  404  Not Found [IP: 91.189.88.150 80]
Ign:9 http://ports.ubuntu.com/ubuntu-ports xenial/restricted i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports xenial/universe i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse i386 Packages
Get:12 http://dl.google.com/linux/chrome/deb stable Release [1189 B]
Ign:13 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Get:14 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B] 
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Err:13 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main i386 Packages
  404  Not Found [IP: 91.189.88.150 80]
Ign:15 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Ign:19 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Ign:20 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Ign:19 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Ign:20 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
Ign:19 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Ign:20 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Err:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/main i386 Packages
  404  Not Found [IP: 91.189.88.150 80]
Ign:19 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted i386 Packages
Ign:20 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe i386 Packages
Ign:21 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse i386 Packages
Ign:14 http://dl.google.com/linux/chrome/deb stable Release.gpg
Hit:22 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
Ign:22 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
Hit:22 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
Fetched 2008 B in 2s (767 B/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu xenial InRelease' doesn't support architecture 'arm64'
W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1397BC53640DB551
W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed.
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.
W: Failed to fetch https://dl/winehq.org/wine-builds/ubuntu/dists/xenial/InRelease  Could not resolve host: dl
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

这真的让我很烦,因为我已经为此奋斗了好几天,我只想能够使用 PlayOnLinux 来启动 AoEII。PS 我知道有一种更简单的方法来粘贴大量代码,但我不知道该怎么做,所以我只是在每行前面放了 4 个空格。如果有人能启发我,我将不胜感激。

答案1

具体来说,对于 Wine,您输入的存储库 URL 是错误的。

https://dl/winehq.org/wine-builds/ubuntu xenial InRelease是不正确的。

https://dl.winehq.org/wine-builds/ubuntu xenial InRelease是正确的。

您需要找到您添加存储库的位置并进行修复。检查/etc/apt/sources.list其中的每个.list文件/etc/apt/sources.list.d/以找到无效的 URL 并进行更新。


您使用的 Ubuntu 存储库镜像也存在 404 Not Found 问题;要解决这个问题,您可能需要使用不同于 的镜像ports.ubuntu.com

相关内容