Install of mysql hangs on 16.04

Bug #1676605 reported by Iiridayn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

See question and linked answer at http://serverfault.com/a/831169/15756, also comment 18 by Rocko on #1571865 @ https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1571865/comments/18, referenced by the blog post referenced by the answer to the serverfault question. He was asked to created a new bug but did not have the time - please regard this as the bug report.

1) lsb_release -rd:
Description: Ubuntu 16.04.2 LTS
Release: 16.04

2) apt-cache policy mysql-server:
mysql-server:
  Installed: 5.7.17-0ubuntu0.16.04.1
  Candidate: 5.7.17-0ubuntu0.16.04.1
  Version table:
 *** 5.7.17-0ubuntu0.16.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
        100 /var/lib/dpkg/status
     5.7.11-0ubuntu6 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages

3) I expected to be able to install mysql as part of a vagrant provisioning script without having to jump through Ubuntu specific hoops.

4) `apt-get install -y mysql-server mysql-client` hung and stalled my build pipeline until I added the line `(sleep 200; killall mysqld)&` to my provisioning script right before that line. This makes me very uncomfortable - I should never have to kill a setup task.

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I cannot reproduce this. I tried installing mysql-server 5.7.17-0ubuntu0.16.04.1, purged mysql* and installed again, and it worked without error.

Please can you either post exact steps to reproduce your problem, or identify what it is that is hanging and at what step? Once you have provided this information please change the bug status back to New. Thanks!

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.7 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.