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

开发者社区> zqfzz> 正文

ubuntu apt-get安装mysql失败

2016-05-23 14:52:12 6906 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
添加回答
相关问答

17

回答

【大咖问答】对话PostgreSQL 中国社区发起人之一,阿里云数据库高级专家 德哥

阿里ACE 彭飞 2019-07-10 09:36:10 971693浏览量 回答数 17

162

回答

惊喜翻倍:免费ECS+免费环境配置~!(ECS免费体验6个月活动3月31日结束)

豆妹 2014-10-29 17:52:21 223034浏览量 回答数 162

145

回答

【新手入门】云服务器linux使用手册

fanyue88888 2012-11-26 17:14:18 157105浏览量 回答数 145

8

回答

OceanBase 使用动画(持续更新)

mq4096 2019-02-20 17:16:36 333897浏览量 回答数 8

2

回答

mySQL数据库报错You have an error in your SQL syntax

落地花开啦 2016-02-14 16:09:24 126678浏览量 回答数 2

38

回答

安全组详解,新手必看教程

我的中国 2017-11-30 15:23:46 256887浏览量 回答数 38

294

回答

Linux Bash严重漏洞修复紧急通知(已全部给出最终修复方案)

qilu 2014-09-25 13:26:50 431630浏览量 回答数 294

249

回答

阿里云LNAMP(Linux + Nginx + Apache + MySQL + PHP)环境一键安装脚本

云代维 2014-02-14 15:26:06 302626浏览量 回答数 249

97

回答

Redhat/CentOS一键安装web环境全攻略

xiaofanqie 2011-08-11 14:51:38 123223浏览量 回答数 97

2

回答

区域选择帮助

fanyue88888 2012-12-07 15:54:30 204022浏览量 回答数 2
+关注
0
文章
1
问答
推荐问答
相关电子书
更多
文娱运维技术
立即下载
《SaaS模式云原生数据仓库应用场景实践》
立即下载
《看见新力量:二》电子书
立即下载