安装mysqlnd时出错

时间:2016-07-01 10:20:53

标签: php mysql ubuntu

我被告知通过运行sudo apt-get install php5-mysqlnd来安装mysqlnd。但是,我似乎收到了一个错误。知道发生了什么以及如何解决它?我正在运行Ubuntu Server。

zerg@server:~$ sudo apt-get install php5-mysqlnd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
php5-mysql
The following NEW packages will be installed: php5-mysqlnd
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 134 kB of archives.
After this operation, 247 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe php5-        mysqlnd amd64 5.5.9+dfsg-1ubuntu4.14
404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/universe php5-mysqlnd amd64 5.5.9+dfsg-1ubuntu4.14
404  Not Found [IP: 2001:67c:1560:8001::11 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/p/php5/php5-mysqlnd_5.5.9+dfsg-1ubuntu4.14_amd64.deb  404  Not Found [IP: 2001:67c:1560:8001::11 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
zerg@server:~$ sudo apt-get install php5-mysqlnd --fix-missing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED: php5-mysql
The following NEW packages will be installed:
php5-mysqlnd
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 134 kB of archives.
After this operation, 247 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe php5- mysqlnd amd64 5.5.9+dfsg-1ubuntu4.14
404  Not Found [IP: 2001:67c:1560:8001::11 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/universe php5-mysqlnd amd64 5.5.9+dfsg-1ubuntu4.14
404  Not Found [IP: 2001:67c:1560:8001::11 80]
(Reading database ... 28529 files and directories currently installed.)
Removing php5-mysql (5.5.9+dfsg-1ubuntu4.14) ...
php5_invoke prerm: Disable module mysql for fpm SAPI
php5_invoke prerm: Disable module mysql for cli SAPI
php5_invoke prerm: Disable module mysqli for fpm SAPI
php5_invoke prerm: Disable module mysqli for cli SAPI
php5_invoke prerm: Disable module pdo_mysql for fpm SAPI
php5_invoke prerm: Disable module pdo_mysql for cli SAPI
Processing triggers for php5-fpm (5.5.9+dfsg-1ubuntu4.14) ...
php5-fpm stop/waiting
php5-fpm start/running, process 17187
E: Failed to fetch     http://security.ubuntu.com/ubuntu/pool/universe/p/php5/php5-mysqlnd_5.5.9+dfsg-1ubuntu4.14_amd64.deb  404  Not Found [IP: 2001:67c:1560:8001::11 80]

0 个答案:

没有答案