2013-07-18 135 views
0

我想通過我的Ubuntu下面的命令來安裝PHP的捲曲模塊性機器Ploblem在安裝PHP5捲曲

sudo apt-get install php5-curl 

但它沒有得到安裝和我得到以下控制檯上的錯誤信息。你能幫我解釋一下這裏發生了什麼嗎?爲什麼這些網址被禁止?

sudo apt-get install php5-curl 
[email protected]:/etc/apt# apt-get install php5-curl 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
The following extra packages will be installed: 
    libapache2-mod-php5 php5-cli php5-common php5-mysql 
Suggested packages: 
    php-pear php5-suhosin 
The following NEW packages will be installed: 
    php5-curl 
The following packages will be upgraded: 
    libapache2-mod-php5 php5-cli php5-common php5-mysql 
4 upgraded, 1 newly installed, 0 to remove and 29 not upgraded. 
Need to get 6,522kB of archives. 
After this operation, 127kB of additional disk space will be used. 
Do you want to continue [Y/n]? Y 
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main php5-cli i386 5.3.3-1ubuntu9.10 
    403 Forbidden 
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main php5-mysql i386 5.3.3-1ubuntu9.10 
    403 Forbidden 
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main libapache2-mod-php5 i386 5.3.3-1ubuntu9.10 
    403 Forbidden 
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main php5-common i386 5.3.3-1ubuntu9.10 
    403 Forbidden 
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main php5-curl i386 5.3.3-1ubuntu9.10 
    403 Forbidden 
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.3-1ubuntu9.10_i386.deb 403 Forbidden 
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-mysql_5.3.3-1ubuntu9.10_i386.deb 403 Forbidden 
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.3-1ubuntu9.10_i386.deb 403 Forbidden 
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.3-1ubuntu9.10_i386.deb 403 Forbidden 
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-curl_5.3.3-1ubuntu9.10_i386.deb 403 Forbidden 
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
+2

這屬於[超級用戶](http://superuser.com/)。去那裏尋找解決方法,並嘗試閱讀[FAQ]。 –

+0

看起來像那鏡子有一些問題,試圖改變apt-get版本庫 –

+0

或http://askubuntu.com/ – Mgetz

回答

0

我升級我的發行從Ubuntu的10.10 Ubuntu的LTS 12.04。它解決了我的問題。

-1

如果是這樣,請嘗試以下操作順序:

sudo apt-get update --fix-missing 

sudo apt-get update 

sudo apt-get install php5-curl