[Bug 1636328] Re: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Thanks for sharing your solution Thomas! The mentioned "potential of severe damage" is the reasons some - if not most - config upgrades require user intervention as soon as it is a custom config. But I'm happy to know you are up and running again. per former report setting the status to invalid. ** Changed in: mysql-5.7 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636328 Title: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1636328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636328] Re: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
I got it fixed manually. What I did was: mv /etc/mysql/my.cnf.migrated /etc/mysql/conf.d/custom.cnf cd /etc/alternatives rm my.cnf ln -s /etc/mysql/my.cnf.fallback my.cnf As dpkg --configure -a still threw errors in the manner of 2016-10-25T09:06:10.251866Z 0 [ERROR] unknown variable 'log=/var/log/mysql.log' 2016-10-25T09:07:29.715102Z 0 [ERROR] unknown variable 'thread_concurrency=8' 2016-10-25T09:07:53.726055Z 0 [ERROR] unknown variable 'innodb_use_sys_malloc=0' I removed the corresponding lines from my custom configuration in /etc/mysql/conf.d/custom.cnf After that, dpkg --configure -a was running without errors and thereby successfully converted the tablespaces to their new binary representation dpkg --configure -a mysql-server-5.7 (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ... Renaming removed key_buffer and myisam-recover options (if present) mysql start/running, process 12050 mysql stop/waiting mysql start/running, process 12410 Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Checking system database. mysql.columns_priv OK mysql.db OK mysql.engine_cost OK mysql.eventOK [...] Checking if update is needed. mysql stop/waiting mysql start/running, process 12647 mysql-server (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ... After that, MySQL is up and running again. In the end I assume that the original error was just that the three lines had to be removed from /etc/mysql/my.cnf.migrated. That would have allowed the ubuntu major release update to run through smoothly and without manual intervention. An improvement would have been to just ignore these lines, even if they exist (with the potential of severe damage in other cases, of course). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636328 Title: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1636328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636328] Re: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
After the upgrade, I notice that my original /etc/mysql/my.cnf got replaced by a symlink: ls -lh /etc/mysql/my.cnf lrwxrwxrwx 1 root root 24 Okt 25 01:09 /etc/mysql/my.cnf -> /etc/alternatives/my.cnf ls -lh /etc/alternatives/my.cnf lrwxrwxrwx 1 root root 26 Okt 25 01:09 /etc/alternatives/my.cnf -> /etc/mysql/my.cnf.migrated I assume that some script tried to somehow migrate my old configuration, but failed doing that in a clean manner (I'll have to fix something manually). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636328 Title: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1636328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636328] Re: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Related: #1571865 which however has different errors and is fixed already. Therefore, this issue is not a duplicate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636328 Title: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1636328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636328] Re: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Coming from 14.04, my configuration files of mysql were highly customized. That said, this issue is not necessarily a bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636328 Title: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1636328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1636328] Re: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
After that I got a list of errors: Die Systemaktualisierung wurde abgebrochen. Ihr System könnte sich in einem nicht verwendbaren Zustand befinden. Eine Wiederherstellung wird gestartet (»dpkg --configure -a«). mysql-server-5.7 (5.7.15-0ubuntu0.16.04.1) wird eingerichtet ... Renaming removed key_buffer and myisam-recover options (if present) ERROR: Unable to start MySQL server: 2016-10-24T23:30:34.029794Z 0 [ERROR] unknown variable 'log=/var/log/mysql.log' 2016-10-24T23:30:34.034909Z 0 [ERROR] Aborting Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues. Once the problem is resolved, run apt-get --fix-broken install to retry. dpkg: Fehler beim Bearbeiten des Paketes mysql-server-5.7 (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück dpkg: Abhängigkeitsprobleme verhindern Konfiguration von mysql-server: mysql-server hängt ab von mysql-server-5.7; aber: Paket mysql-server-5.7 ist noch nicht konfiguriert. dpkg: Fehler beim Bearbeiten des Paketes mysql-server (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert Fehler traten auf beim Bearbeiten von: mysql-server-5.7 mysql-server Systemaktualisierung wurde abgeschlossen Die Systemaktualisierung wurde vollständig abgeschlossen, jedoch traten während der Systemaktualisierung Fehler auf. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636328 Title: package mysql-hostname-5.7 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1636328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs