开发者社区> 问答> 正文

ubuntu服务器安装libapache2-mod-php5时报错

ubuntu服务器安装libapache2-mod-php5时报错,请大神帮忙看看 怎么回事,是网络问题吗?在线急等
root@iZ28q902yy9Z:/etc# apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  php5-cli php5-common php5-json php5-readline
Suggested packages:
  php-pear php5-user-cache
The following NEW packages will be installed:
  libapache2-mod-php5 php5-cli php5-common php5-json php5-readline
0 upgraded, 5 newly installed, 0 to remove and 127 not upgraded.
Need to get 4,824 kB/4,858 kB of archives.
After this operation, 20.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http:/mirrors.aliyun.com/ubuntu/ trusty-proposed/main php5-common amd64 5.5.9+dfsg-1ubuntu4.12
  404  Not Found [IP: 115.28.122.210 80]
Err http:/mirrors.aliyuncs.com/ubuntu/ trusty-proposed/main php5-common amd64 5.5.9+dfsg-1ubuntu4.12
  404  Not Found
Err http:/mirrors.aliyuncs.com/ubuntu/ trusty-proposed/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.12
  404  Not Found
Err http:/mirrors.aliyuncs.com/ubuntu/ trusty-proposed/main php5-readline amd64 5.5.9+dfsg-1ubuntu4.12
  404  Not Found
Err http:/mirrors.aliyuncs.com/ubuntu/ trusty-proposed/main libapache2-mod-php5 amd64 5.5.9+dfsg-1ubuntu4.12
  404  Not Found
E: Failed to fetch http:/mirrors.aliyuncs.com/ubuntu/pool/main/p/php5/php5-common_5.5.9+dfsg-1ubuntu4.12_amd64.deb  404  Not Found


E: Failed to fetch http:/mirrors.aliyuncs.com/ubuntu/pool/main/p/php5/php5-cli_5.5.9+dfsg-1ubuntu4.12_amd64.deb  404  Not Found


E: Failed to fetch http:/mirrors.aliyuncs.com/ubuntu/pool/main/p/php5/php5-readline_5.5.9+dfsg-1ubuntu4.12_amd64.deb  404  Not Found


E: Failed to fetch http:/mirrors.aliyuncs.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.12_amd64.deb  404  Not Found


E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

展开
收起
egova 2015-10-13 10:19:44 11365 0
3 条回答
写回答
取消 提交回答
  • Reubuntu服务器安装libapache2-mod-php5时报错
    谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    2015-10-20 19:19:53
    赞同 展开评论 打赏
  • 回1楼ivmmff的帖子
    原来是apt-get 很久没更新了 运行了一下update就好了。。。
    2015-10-13 10:27:36
    赞同 展开评论 打赏
  • 解决方案工程师,负责为企业规划上云迁移方案和云上架构设计,在网站建设开发和云计算领域有多年经验,专注于Linux平台的系统维护以及应用部署。致力于以场景化的方式让云计算,用更加通俗易懂的方式让更多人体验云计算,让云端的计算更质朴的落地。
    你在终端ping一下
    mirrors.aliyun.com 和 mirrors.aliyuncs.com

    看能不能ping通

    -------------------------

    回 2楼(egova) 的帖子
    我去,这可是第一步该做的事情啊。。。。。


    apt-get update
    再安装或者升级
    2015-10-13 10:24:51
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS快储存加密技术 立即下载