![无法在 Ubuntu 16.04 lts 上安装 wine](https://linux22.com/image/894678/%E6%97%A0%E6%B3%95%E5%9C%A8%20Ubuntu%2016.04%20lts%20%E4%B8%8A%E5%AE%89%E8%A3%85%20wine%20.png)
因此我尝试wine
按照开发者网站上的说明进行安装https://wiki.winehq.org/Ubuntu出现错误:
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main i386 libtasn1-6 i386 4.7-3ubuntu0.16.04.1 404 Not Found [IP: 213.180.204.183 80]
Ign:2 http://security.ubuntu.com/ubuntu xenial-security/main i386 libgnutls30 i386 3.4.10-4ubuntu1.2
Err:3 http://ru.archive.ubuntu.com/ubuntu xenial-updates/main i386 libpulse0 i386 1:8.0-0ubuntu3.2 404 Not Found [IP: 213.180.204.183 80]
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main i386 libtasn1-6 i386 4.7-3ubuntu0.16.04.1 404 Not Found [IP: 213.180.204.183 80]
Err:2 http://security.ubuntu.com/ubuntu xenial-security/main i386 libgnutls30 i386 3.4.10-4ubuntu1.2 404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libt/libtasn1-6/libtasn1-6_4.7-3ubuntu0.16.04.1_i386.deb 404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gnutls28/libgnutls30_3.4.10-4ubuntu1.2_i386.deb 404 Not Found [IP: 213.180.204.183 80]
E: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse0_8.0-0ubuntu3.2_i386.deb 404 Not Found [IP: 213.180.204.183 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
尝试安装--fix-missing
- 还是一样
ping 213.180.204.183 - 0% packet loss
一些软件包是否从官方存储库中删除了?我该如何修复?
更新 1
在我得到这个之后sudo apt update
:
After this operation, 278 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main i386 libtasn1-6 i386 4.7-3ubuntu0.16.04.1
Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
Ign:2 http://security.ubuntu.com/ubuntu xenial-security/main i386 libgnutls30 i386 3.4.10-4ubuntu1.2
Err:3 http://ru.archive.ubuntu.com/ubuntu xenial-updates/main i386 libpulse0 i386 1:8.0-0ubuntu3.2
Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main i386 libtasn1-6 i386 4.7-3ubuntu0.16.04.1
Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
Err:2 http://security.ubuntu.com/ubuntu xenial-security/main i386 libgnutls30 i386 3.4.10-4ubuntu1.2
Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libt/libtasn1-6/libtasn1-6_4.7-3ubuntu0.16.04.1_i386.deb Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gnutls28/libgnutls30_3.4.10-4ubuntu1.2_i386.deb Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
E: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse0_8.0-0ubuntu3.2_i386.deb Cannot initiate the connection to ru.archive.ubuntu.com:80 (2a02:6b8::183). - connect (101: Network is unreachable) [IP: 2a02:6b8::183 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
答案1
您的本地软件包列表显然已过时,因为软件包源配置存在问题:Canonical 的存储库及其镜像不提供 armhf 软件包。由于您不需要在 amd64 和 i386 之上启用系统上的 armhf 架构,因此您可以禁用它:
sudo dpkg --remove-architecture armhf
现在更新软件包列表并恢复安装:
sudo apt update
sudo apt install -f