无法获取.... i386 - 404 未找到 - Jetson TK1 主板

无法获取.... i386 - 404 未找到 - Jetson TK1 主板

因此,我在设置 TK1 板并准备进行开发时遇到了很多困难。

我尝试安装 Chrome,但出现与“i386”相关的错误。我还尝试安装 Teamviewer,但同样出现同样的错误。

现在,每当我尝试运行“sudo apt-get update”或任何类似命令时,我都会收到与无法获取 i386 包相关的错误:

ubuntu@tegra-ubuntu:/var/lib/apt/lists$ sudo apt-get update
Ign http://ports.ubuntu.com trusty InRelease
Hit http://ports.ubuntu.com trusty-updates InRelease
Hit http://ports.ubuntu.com trusty-security InRelease
Hit http://ports.ubuntu.com trusty Release.gpg
Hit http://ports.ubuntu.com trusty-updates/main Sources
Hit http://ports.ubuntu.com trusty-updates/restricted Sources
Hit http://ports.ubuntu.com trusty-updates/main armhf Packages
Hit http://ports.ubuntu.com trusty-updates/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-updates/main Translation-en
Hit http://ports.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ports.ubuntu.com trusty-security/main Sources
Hit http://ports.ubuntu.com trusty-security/restricted Sources
Hit http://ports.ubuntu.com trusty-security/main armhf Packages
Hit http://ports.ubuntu.com trusty-security/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-security/main Translation-en
Hit http://ports.ubuntu.com trusty-security/restricted Translation-en
Hit http://ports.ubuntu.com trusty Release
Hit http://ports.ubuntu.com trusty/main Sources
Hit http://ports.ubuntu.com trusty/restricted Sources
Hit http://ports.ubuntu.com trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty/restricted armhf Packages
Hit http://ports.ubuntu.com trusty/main Translation-en
Hit http://ports.ubuntu.com trusty/restricted Translation-en
Err http://ports.ubuntu.com trusty-updates/main i386 Packages
  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com trusty-updates/restricted i386 Packages
  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com trusty-security/main i386 Packages
  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com trusty-security/restricted i386 Packages
  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com trusty/main i386 Packages
  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com trusty/restricted i386 Packages
  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]
Ign http://ports.ubuntu.com trusty/main Translation-en_US
Ign http://ports.ubuntu.com trusty/restricted Translation-en_US
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-security/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/binary-i386/Packages  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/restricted/binary-i386/Packages  404  Not Found [IP: 2001:67c:1360:8001:1::2 80]

这是我的 /etc/apt/sources.list 中的内容:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty universe
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted

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

我尝试使用“sudo apt-get clean”和“sudo apt-get autoclean”等清理东西,但没用。我不确定为什么在下载并尝试安装后铬合金或者团队查看器,我会收到这个错误。

我将非常感激任何对此提供的帮助...

答案1

因此,经过一晚的安睡后,我决定用 Google 搜索“sudo apt-get update”失败的问题,我发现以下内容解决了我的问题:

ubuntu@tegra-ubuntu:~$ dpkg --print-foreign-architectures
i386
ubuntu@tegra-ubuntu:~$ sudo dpkg --remove-architecture i386

显然,我添加了一个外部架构“i386”,这导致了所有问题,我不确定为什么我之前没有看到这个问题。

就这样,我希望这对其他人有帮助。

这是帮助我尝试此方法的链接。这不是完全相同的问题,但解决方案是相同的: Ubuntu 14.04 apt-get 更新失败

相关内容