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

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

ubuntu apt-get安装mysql失败

2016-05-23 14:52:12 7647 3

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

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?

取消 提交回答
全部回答(3)
  • 睡着了去做梦
    2021-10-11 17:48:44

    这是源的问题,安装MySQL之前,先更新一把 apt update 然后再search一把,说不定没有MySQL5.6呢

    apt search mysql
    

    根据搜索结果再安装MySQL,可能没有MySQL,有mariadb

    0 0
  • 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
添加回答
相关问答

1

回答

mysql 安装的时候报错?报错

2020-06-22 20:00:29 205浏览量 回答数 1

1

回答

fedora19下mysql的安装报错 

2020-06-03 10:39:09 311浏览量 回答数 1

1

回答

RDS for MySQL 内存使用率高怎么办?

2022-09-16 14:20:29 74浏览量 回答数 1

18

回答

读《云数据库RDS MySQL从入门到高阶》,赢超声波清洗机丨藏经阁一起读(28)

2022-09-05 14:21:20 18832浏览量 回答数 18

1

回答

《云数据库RDS MySQL从入门到高阶》介绍了哪些内容?

2022-08-30 11:57:33 68浏览量 回答数 1

1

回答

《云数据库RDS MySQL从入门到高阶》这本书从哪里下载?

2022-08-30 11:57:33 77浏览量 回答数 1

1

回答

想通过FC连接RDS mysql。是不是将FC服务角色添加rds权限后,就可以通过地址,端口建连了呢

2022-08-02 17:05:58 266浏览量 回答数 1

1

回答

【RDS】RDS MySQL如何终止会话?

2022-01-12 16:17:02 464浏览量 回答数 1

1

回答

RDS MySQL如何终止会话?

2022-01-07 14:15:23 884浏览量 回答数 1

1

回答

RDS MySQL同步至PolarDB MySQL集群中支持同步的SQL是什么?

2021-12-12 22:38:46 106浏览量 回答数 1
+关注
0
文章
1
问答
问答排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载