2013-07-18 94 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