小编Mer*_*erk的帖子

Xenial 无法在任何软件包安装上获取...404

如果我使用,apt-get install git我会收到以下错误:

Err:1 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf git- man all 1:2.7.4-0ubuntu1.3 404  Not Found [IP: 91.189.88.150 80]

Err:2 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf git armhf 1:2.7.4-0ubuntu1.3 404  Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/g/git/git-man_2.7.4-0ubuntu1.3_all.deb  404  Not Found [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/g/git/git_2.7.4-0ubuntu1.3_armhf.deb  404  Not Found [IP: 91.189.88.150 80]
Run Code Online (Sandbox Code Playgroud)

当我安装任何其他软件包时会抛出类似的错误。

我一直在更改我的sources.list文件,但似乎没有任何帮助。

这是我的sources.list文件的内容:

deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted …
Run Code Online (Sandbox Code Playgroud)

package-management apt 16.04

4
推荐指数
1
解决办法
6736
查看次数

标签 统计

16.04 ×1

apt ×1

package-management ×1