开发者社区> 问答> 正文

ecs无法安装php5-dev


root@iZ25wyem44vZ:/etc/nginx/sites-enabled# apt-get install php5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  autoconf automake autotools-dev debhelper dh-apparmor gettext
  intltool-debian libasprintf-dev libcroco3 libgettextpo-dev libgettextpo0
  libltdl-dev libmail-sendmail-perl libsigsegv2 libssl-dev libssl-doc
  libsys-hostname-long-perl libtool libunistring0 m4 php-pear pkg-php-tools
  po-debconf shtool zlib1g-dev
Suggested packages:
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc dh-make
  apparmor-easyprof gettext-doc libtool-doc automaken gfortran
  fortran95-compiler gcj-jdk libmail-box-perl
The following NEW packages will be installed:
  autoconf automake autotools-dev debhelper dh-apparmor gettext
  intltool-debian libasprintf-dev libcroco3 libgettextpo-dev libgettextpo0
  libltdl-dev libmail-sendmail-perl libsigsegv2 libssl-dev libssl-doc
  libsys-hostname-long-perl libtool libunistring0 m4 php-pear php5-dev
  pkg-php-tools po-debconf shtool zlib1g-dev
0 upgraded, 26 newly installed, 0 to remove and 38 not upgraded.
Need to get 2,662 kB/6,760 kB of archives.
After this operation, 29.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err mirrors.aliyun.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.11
  404  Not Found [IP: 112.124.140.210 80]
Err mirrors.aliyuncs.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.11
  404  Not Found
Err /security.ubuntu.com/ubuntu/ trusty-security/main libssl-dev amd64 1.0.1f-1ubuntu2.11
  404  Not Found [IP: 91.189.91.24 80]
Err security.ubuntu.com/ubuntu/ trusty-security/main libssl-doc all 1.0.1f-1ubuntu2.11
  404  Not Found [IP: 91.189.91.24 80]
Err security.ubuntu.com/ubuntu/ trusty-security/main php-pear all 5.5.9+dfsg-1ubuntu4.9
  404  Not Found [IP: 91.189.91.24 80]
Err security.ubuntu.com/ubuntu/ trusty-security/main php5-dev amd64 5.5.9+dfsg-1ubuntu4.9
  404  Not Found [IP: 91.189.91.24 80]
E: Failed to fetch //security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1f-1ubuntu2.11_amd64.deb  404  Not Found [IP: 91.189.91.24 80]


E: Failed to fetch //security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-doc_1.0.1f-1ubuntu2.11_all.deb  404  Not Found [IP: 91.189.91.24 80]


E: Failed to fetch //security.ubuntu.com/ubuntu/pool/main/p/php5/php-pear_5.5.9+dfsg-1ubuntu4.9_all.deb  404  Not Found [IP: 91.189.91.24 80]


E: Failed to fetch //security.ubuntu.com/ubuntu/pool/main/p/php5/php5-dev_5.5.9+dfsg-1ubuntu4.9_amd64.deb  404  Not Found [IP: 91.189.91.24 80]


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

展开
收起
ruoshuihhb 2015-09-24 20:55:28 10785 0
2 条回答
写回答
取消 提交回答
  • 10年的互联网从业经验,熟悉Win和Linux运维方面实战技术,常用PHP和Nodejs作为服务端开发载体,学习移动端混合开发框架,如weex vue
    回楼主ruoshuihhb的帖子
    编译安装也可以用
    2015-09-25 08:46:05
    赞同 展开评论 打赏
  • 解决方案工程师,负责为企业规划上云迁移方案和云上架构设计,在网站建设开发和云计算领域有多年经验,专注于Linux平台的系统维护以及应用部署。致力于以场景化的方式让云计算,用更加通俗易懂的方式让更多人体验云计算,让云端的计算更质朴的落地。
    security.ubuntu.com 其实注释掉掉即可
    2015-09-24 21:02:21
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

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