2016-07-07 209 views
0

我试图在sudo apt更新它之后在我的ubuntu桌面上安装pip 但问题来了。在ubuntu上安装pip 16.04 ...链接不工作

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? 

我发现了那个扔404错误的链接是可访问的,如果我删除AU。那么它的工作。我该如何解决这个问题?

在此先感谢

回答

1

之前,总是更新安装任何东西你的包:

sudo apt-get update 

然后尝试

sudo apt-get install python-pip python-pycurl