dpkg --add-architecture i386 之后 apt-get update 出现错误

dpkg --add-architecture i386 之后 apt-get update 出现错误

我最近将 Chrubuntu 放在了我的 HP chromebook 11(它是 ARM)上。我目前有 Xubuntu-desktop lts,检查版本显示 Ubuntu 14.04。我正在遵循本教程:安装金山办公软件 ubuntu 14.04

后:

sudo dpkg --add-architecture i386

我写:

sudo apt-get update

但总是得到这个:

Err http://ports.ubuntu.com trusty-security/multiverse i386 Packages   404  Not Found [IP: 91.189.88.140 80] W: Failed to fetch htt=p://ppa.launchpad.net/iaz/battery-status/ubuntu/dists/trusty/main/binary-armhf/Packages 404  Not Found    
W: Failed to fetch http://ppa.launchpad.net/iaz/battery-status/ubuntu/dists/trusty/main/binary-i386/Packages 404  Not Found    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/restricted/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/universe/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/multiverse/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/main/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/restricted/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/universe/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/multiverse/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/main/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/restricted/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/universe/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/multiverse/binary-i386/Packages 404  Not Found [IP: 91.189.88.140 80]    
E: Some index files failed to download. They have been ignored, or old ones used instead.

我尝试更新 sources.list,但没有帮助,它用 us.archive.ubuntu 替换了 ports.ubuntu,但错误相同。

答案1

它甚至不应该工作。ports.ubuntu.com不包含 i386 软件包。您必须手动编辑/etc/apt/sources.conf并在那里添加适当的软件包镜像。

相关内容