2016-07-07 212 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