我有一个正常的消息来源清单:
$ 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但是,当我进行适当的更新时,我会发现这些错误:
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中解决这个问题?
发布于 2016-11-29 20:58:55
仍然不知道其他问题的答案,但我能够用以下方法解决源错误:
sudo dpkg --remove-architecture i386https://askubuntu.com/questions/855100
复制相似问题