无法将mysql更新到8.0版本

时间:2019-05-03 01:50:02

标签: ubuntu vagrant

我正在与Vagrant建立开发环境。我安装了ubuntu / trust64,一切正常。

我用apt-get完成了mysql的安装。默认情况下,管理器安装了5.5版。我想将mysql更新到8.0版。

因此,我按照本教程将mysql升级到8.0版:https://www.tecmint.com/install-mysql-8-in-ubuntu/

我遵循以下命令:

wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb

sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb

I selected mysql 8.0 to install

sudo apt update

sudo apt-get install mysql-server

很遗憾,没有任何反应。总站向我显示此消息:


    Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty-updates/main Translation-en
    Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
    Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
    Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
    Hit http://archive.ubuntu.com trusty-backports/main Sources
    Hit http://archive.ubuntu.com trusty-backports/restricted Sources
    Hit http://archive.ubuntu.com trusty-backports/universe Sources
    Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
    Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/main Translation-en
    Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
    Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
    Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
    Hit http://archive.ubuntu.com trusty Release
    Hit http://archive.ubuntu.com trusty/main Sources
    Hit http://archive.ubuntu.com trusty/restricted Sources
    Hit http://archive.ubuntu.com trusty/universe Sources
    Hit http://archive.ubuntu.com trusty/multiverse Sources
    Hit http://archive.ubuntu.com trusty/main amd64 Packages
    Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
    Hit http://archive.ubuntu.com trusty/universe amd64 Packages
    Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty/main Translation-en
    Hit http://archive.ubuntu.com trusty/multiverse Translation-en
    Hit http://archive.ubuntu.com trusty/restricted Translation-en
    Hit http://archive.ubuntu.com trusty/universe Translation-en
    Ign http://archive.ubuntu.com trusty/main Translation-en_US
    Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
    Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
    Ign http://archive.ubuntu.com trusty/universe Translation-en_US
    Ign http://repo.mysql.com trusty/mysql-8.0 Translation-en_US
    Ign http://repo.mysql.com trusty/mysql-8.0 Translation-en
    Ign http://repo.mysql.com trusty/mysql-apt-config Translation-en_US
    Ign http://repo.mysql.com trusty/mysql-apt-config Translation-en
    Ign http://repo.mysql.com trusty/mysql-tools Translation-en_US
    Ign http://repo.mysql.com trusty/mysql-tools Translation-en
    Reading package lists... Done
    vagrant@mob:~$ sudo apt-get mysql-server
    E: Invalid operation mysql-server
    vagrant@mob:~$ sudo apt-get install mysql-server
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    mysql-server is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    vag

    rant@mob:~$

之后,mysql版本仍然相同。但是,如果我尝试将mysql更新到5.7版而不是8.0版,则上述过程可以完美运行。

为什么我不能更新到mysql 8.0,但可以更新到5.7版?

谢谢!

0 个答案:

没有答案