xenial i386 源

xenial i386 源

我有一个正常的来源列表:

$ cat /etc/apt/sources.list
deb http://ports.ubuntu.com/ xenial main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse

deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse

但是我在 apt 更新时收到这些错误:

W: The repository 'http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu xenial Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu/dists/xenial/main/binary-armhf/Packages  404  Not Found
E: Failed to fetch http://ports.ubuntu.com/dists/xenial/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/dists/xenial-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/dists/xenial-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/dists/xenial-backports/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

这些错误是有道理的,因为它们不在实际目录中:http://ports.ubuntu.com/dists/xenial-backports/main/但是我还能怎样获取 i386 软件包呢?如果我使用依赖项安装脚本并且失败了,是否意味着脚本需要更新其软件包以供:i386最终使用?

这是我的源列表中需要更改的内容吗?还是我使用的镜像有问题?我该如何从 CLI 修复此问题?

答案1

仍然不知道其他问题的答案,但我能够使用以下方法解决源错误:

sudo dpkg --remove-architecture i386

相关内容