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
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/
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>
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.23-
ProcVersionSign
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
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.23-
UpgradeStatus: Upgraded to bionic on 2018-08-17 (1 days ago)
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
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.