Trusty doesn't have systemd, but upstart. There the steps were:
- disable updates and security in /etc/apt/sources.list
- install mysql-server-5.5
- use mysql command line to connect and create a test database
- stop mysql: stop mysql
- disable mysql: echo manual | sudo tee /etc/init/mysql.override
- reboot to confirm mysql won't start automatically (yes)
- re-enable updates and security in sources.list
- apt dist-upgrade

It worked just fine.

For now, this bug is confirmed in xenial only.

** Package changed: mysql-5.5 (Ubuntu) => mysql-5.7 (Ubuntu)

** Also affects: mysql-5.7 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: mysql-5.7 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1745185

Title:
  If apt-get upgrade is run on mysql server when the server is disabled,
  the upgrade fails.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1745185/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to