我试图在我的ubuntu桌面上安装pip,在sudo进行适当的更新之后,但问题是这样的。
0 to upgrade, 12 to newly install, 0 to remove and 262 not to upgrade.
Need to get 1,303 kB/29.6 MB of archives.
After this operation, 44.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip-whl all 8.1.1-2ubuntu0.1
Ign:2 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip all 8.1.1-2ubuntu0.1
Ign:3 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 python-wheel all 0.29.0-1
Err:1 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip-whl all 8.1.1-2ubuntu0.1
404 Not Found [IP: 202.158.214.106 80]
Err:2 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe i386 python-pip all 8.1.1-2ubuntu0.1
404 Not Found [IP: 202.158.214.106 80]
Err:3 http://au.archive.ubuntu.com/ubuntu xenial/universe i386 python-wheel all 0.29.0-1
404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/python-pip-whl_8.1.1-2ubuntu0.1_all.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/universe/p/python-pip/python-pip_8.1.1-2ubuntu0.1_all.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/pool/universe/w/wheel/python-wheel_0.29.0-1_all.deb 404 Not Found [IP: 202.158.214.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?我发现如果删除au,抛出404错误的链接是可访问的。那就成功了。我怎样才能解决这个问题?
提前感谢
发布于 2016-08-24 10:02:30
在安装任何东西之前,请始终使用以下内容更新您的软件包:
sudo apt-get update那就试试
sudo apt-get install python-pip python-pycurlhttps://stackoverflow.com/questions/38236193
复制相似问题