ubuntu apt-get安装mysql失败-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

ubuntu apt-get安装mysql失败

zqfzz 2016-05-23 14:52:12 5704

麻烦更新源。很多文件地址是错的

root@xZ:~# apt-get install mysql-server-5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-common-5.6
mysql-server-core-5.6
Suggested packages:
libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
libsql-statement-perl libipc-sharedcache-perl mailx tinyca
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-common-5.6
mysql-server-5.6 mysql-server-core-5.6
0 upgraded, 10 newly installed, 0 to remove and 150 not upgraded.
Need to get 21.6 MB/22.7 MB of archives.
After this operation, 166 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/main mysql-common all 5.5.47-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.47-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.28-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.28-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.28-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.28-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
Err http://mirrors.aliyun.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.28-0ubuntu0.14.04.1
404 Not Found [IP: 115.28.122.210 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.47-0ubuntu0.14.04.1_all.deb 404 Not Found [IP: 115.28.122.210 80]

E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.47-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 115.28.122.210 80]

E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/universe/m/mysql-5.6/mysql-client-core-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 115.28.122.210 80]

E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/universe/m/mysql-5.6/mysql-client-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 115.28.122.210 80]

E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/universe/m/mysql-5.6/mysql-server-core-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 115.28.122.210 80]

E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/universe/m/mysql-5.6/mysql-server-5.6_5.6.28-0ubuntu0.14.04.1_amd64.deb 404 Not Found [IP: 115.28.122.210 80]

E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/universe/m/mysql-5.6/mysql-common-5.6_5.6.28-0ubuntu0.14.04.1_all.deb 404 Not Found [IP: 115.28.122.210 80]

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

Ubuntu 关系型数据库 MySQL
分享到
取消 提交回答
全部回答(2)
  • darxan
    2019-07-17 19:11:08

    题主是新的云主机吗,可以先sudo apt-get update; sudo apt-get upgrade下

    2 0
  • dongshan8
    2019-07-17 19:11:08

    您好,

    请问您使用的是阿里云公共镜像里的ubuntu 14 64位系统吗?

    1 0
添加回答
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

推荐文章
相似问题