[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure

2015-09-11 Thread Kristian Erik Hermansen
*** This bug is a duplicate of bug 1421303 *** https://bugs.launchpad.net/bugs/1421303 Ultimately, apparmor is the culprit. I noticed that the file /etc/apparmor.d/usr.sbin.mysqld has a line: /run/mysqld/mysqld.sock r, Which means that the socket file will never be able to be written the f

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure

2015-03-23 Thread Shevek
*** This bug is a duplicate of bug 1421303 *** https://bugs.launchpad.net/bugs/1421303 I think I did remove, then rm that file, then purge, then reinstall. Either way, it can be worked around. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure

2015-03-23 Thread Robie Basak
*** This bug is a duplicate of bug 1421303 *** https://bugs.launchpad.net/bugs/1421303 ** This bug has been marked a duplicate of bug 1421303 mysql does not import apparmor profile correctly -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure

2015-03-23 Thread aktiwers
Non of the solutions works for me - still get the error -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435080 Title: mysql-server upgrade hangs dpkg --reconfigure To manage notifications about this

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure

2015-03-23 Thread aktiwers
Got it fixed - first I followed this: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435080/comments/11 It didnt work alone - but after deleting this file: sudo rm /etc/systemd/system/mysql.service And : sudo apt-get purge mysql-server-5.6 mysql-server I could remove it and then insta

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-23 Thread JanMalte
I can confirm this solved the broken update: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435080/comments/11 ** Summary changed: - mysql-server upgrade hangs dpkg --reconfigure (if root password is set?) + mysql-server upgrade hangs dpkg --reconfigure -- You received this bug notif

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-23 Thread Bruno Patri
This works for me : I had this error in /var/log/myslq/error.log while trying to upgrade mysql-server from 5.5 to 5.6. I added this line in /etc/apparmor.d/usr.sbin.mysqld : /etc/mysql/mysql.conf.d/** r, restart apparmor service and launch again aptitude full-upgrade. -- You received this b

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread David
After 4 hours of removing locks, config files, folders, and using dpkg -l, I removed all mysql files except mysql-common (it would not remove config files). Finally, reinstalling libmysql-dev and mysql-common, then mysql-server - mysql is working again. I just hope I haven't removed any application

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread David
Fix doesn't work for me: david@aquinas:~$ sudo apt-get purge mysql-server-5.6 mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: mysql-server* mysql-server-5.6* 0 upgraded, 0 newly installed, 2 to r

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread David
Removing the /etc/systemd/system/mysql.service allowed me to uninstall, but I can't reinstall mysql. It asks for password, then is unable to set it, then installer hangs, and I'm in the same position. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread Shevek
Issue solved by apt-get purge mysql-server-5.6 mysql-server then reinstall. System now working again. Not sure, but issue might have been triggered by typing a password into the "password change" dialogue during upgrade. If so, that password might have been saved in apt's configuration/templates,

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mysql-5.6 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435080 Title:

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread Shevek
By the way, I think I set the root password to "password" on the original installation, and I haven't touched any config files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435080 Title: mysql-ser

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread Shevek
And then we got this: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435081 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435080 Title: mysql-server upgrade hangs dpkg --reconfigure (if

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread Shevek
/usr/share/mysql/mysql-systemd-start contains: pinger () { while /bin/true ; do sleep 1 mysqladmin ping >/dev/null 2>&1 && break done } So if mysql failed to come up, this will hang forever. However, I think mysql failed to start because it couldn't read some config file. I saw that

[Bug 1435080] Re: mysql-server upgrade hangs dpkg --reconfigure (if root password is set?)

2015-03-22 Thread Shevek
Aborting the --reconfigure gives: ^Cdpkg: error processing package mysql-server-5.6 (--configure): subprocess installed post-installation script was interrupted dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.6; however: Package mysql-ser