Hi Christian,

Sorry, I was not very clear, and thank you for the prompt reply. I have
tried the workaround before I posted my comment here. It does not work.
Note I cannot uninstall MySQL. I need it. And yes, I don't want the
service to run on boot, preferring to start it manually (Although I can
change this of course, probably pads a couple milliseconds @ boot time
but SSD speed is almost negligible).  :)

>From what I read above and in other reports, this is what I have done so far:
1) enable the service - systemctl enable mysql.service
2) start if not yet started - systemctl start mysql.service
3) apt upgrade

But it seems the `enable` command has some errors - sudo systemctl
enable mysql.service

Result:
Synchronizing state of mysql.service with SysV init with 
/lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable mysql
insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides 
LSB defaults (2 3 4 5).
update-rc.d: error: no runlevel symlinks to modify, aborting!

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

Title:
  postinst fails when daemon is not running (or is disabled by policy-
  rc.d)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to