← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1745185] Re: If apt-get upgrade is run on mysql server when the server is disabled, the upgrade fails.

 

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 नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1745185

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

Status in mysql-5.7 package in Ubuntu:
  Invalid
Status in mysql-5.7 source package in Xenial:
  New

Bug description:
  Since I only use the mysql server for development, I tend to keep the server disabled with systemctl. If mysql server is upgraded while the service is disabled, apt-get fails. To remedy this, I must run "systemctl enable mysqld" before "apt-get upgrade". Since I found a work around, it isn't a big deal, but a less experienced user may have trouble diagnosing this. Possible solutions are:
  1) Better error message
  2) If the server must be running for upgrade, the upgrade could start it. Maybe prompting first.

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