package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to install/upgrade: nieuw mysql-server-5.7 pakket pre-installation script subproces meldde een fout afsluitstatus 128

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

Bug Description

This MySQL or variant installation has entered "frozen mode". Maintainer
scripts will avoid making changes or starting the daemon until manually
released from this state. See /usr/share/doc/mysql-common/README for
general information about this mode.

In this particular case, an incompatible downgrade attempt has been
detected. This can be resolved in one of two ways:

1. Change the contents of /var/lib/mysql/ to contain database data that
is compatible with the currently installed MySQL or variant daemon
version. For example: you could restore from a backup. Alternatively you
could do a dump using a future version binary and then a restore using
the current version binary.

2. Switch to a MySQL or variant daemon version that is compatible with
the data currently in /var/lib/mysql/. For example, if you have
attempted a downgrade from mysql-server-5.7 to mysql-server-5.6, you
could "apt install mysql-server-5.7" again.

Please resolve this situation and only then remove the /etc/mysql/FROZEN
symlink. You can then run "dpkg-reconfigure <package>" where <package>
should usually be in the form <variant>-server-<version>.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.23-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-32.35-generic 4.15.18
Uname: Linux 4.15.0-32-generic i686
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: i386
Date: Sat Aug 18 15:00:19 2018
ErrorMessage: nieuw mysql-server-5.7 pakket pre-installation script subproces meldde een fout afsluitstatus 128
InstallationDate: Installed on 2016-02-01 (928 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.2)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to install/upgrade: nieuw mysql-server-5.7 pakket pre-installation script subproces meldde een fout afsluitstatus 128
UpgradeStatus: Upgraded to bionic on 2018-08-17 (1 days ago)
mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2018-07-08T10:14:42
mtime.conffile..etc.init.d.mysql: 2018-07-08T10:14:42
mtime.conffile..etc.logrotate.d.mysql-server: 2018-07-08T10:14:42
mtime.conffile..etc.mysql.debian-start: 2018-07-08T10:14:42
mtime.conffile..etc.mysql.mysql.cnf: 2016-08-29T12:38:31.718334
mtime.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: 2016-08-29T12:51:14.156665

Revision history for this message
Stoltz (stoltz) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
your logs suggest that you tried to switch between mysql/mariadb which are incompatible.
I'm not sure what else to recommend than to follow exactly what was suggested by the messages you copied and posted here.

You have to decide to either retain the old DB data (and install the matching server) OR to throw everything away and start fresh with whatever sql server you want.

To carry over you could install the sevrer you had, make a backup, then remove everything (data and server) install the other server and then restore from backup.

But all that is already in the text you quoted.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

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

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

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.