首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu18.10上安装MySQL 8失败

问在Ubuntu18.10上安装MySQL 8失败
EN

Ask Ubuntu用户
提问于 2019-07-02 06:24:54
回答 1查看 389关注 0票数 3

我已经从mysql-apt-config安装了C1包,安装的包是mysql-apt-config_0.8.13-1_all.deb。

在运行命令Mysql安装问题时,在执行sudo apt install mysql-server的解决方案时,我将收到以下响应

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libaio1 libevent-core-2.1-6 mysql-client-5.7 mysql-client-core-5.7
  mysql-common mysql-server-5.7 mysql-server-core-5.7
Suggested packages:
  mailx tinyca
The following NEW packages will be installed:
  libaio1 libevent-core-2.1-6 mysql-client-5.7 mysql-client-core-5.7
  mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.0 MB/20.6 MB of archives.
After this operation, 159 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

系统正在尝试安装mysql-server-5.7 & mysql-client-5.7而不是MySQL 8。

我该怎么办才能解决这个问题呢?

我正在使用Ubuntu 18.10 (宇宙)

EN

回答 1

Ask Ubuntu用户

发布于 2019-07-19 10:33:16

尝试aptitude show mysql-server (假定配置了第三方存储库并运行了apt-get update )。在我与Nginx类似的例子中(现在MySQL是从.deb安装的),我注意到在输出顶部有正确的新版本,而“由”(在我看来就像“要安装”一样)提供的包仍然显示了更老的版本。继续安装,我收到了我正在寻找的最新版本。不幸的是,我现在无法在干净的操作系统上检查这个。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1155380

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档