package mysql-server-5.7 5.7.22-0ubuntu0.16.04.1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
There is 1 error.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.22-
ProcVersionSign
Uname: Linux 4.13.0-39-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
Date: Thu Apr 26 22:19:37 2018
DpkgTerminalLog:
Removing mysql-server (5.7.21-
dpkg: error processing package mysql-server-5.7 (--purge):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
DuplicateSignature:
package:
Removing mysql-server (5.7.21-
dpkg: error processing package mysql-server-5.7 (--purge):
package is in a very bad inconsistent state; you should
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
InstallationDate: Installed on 2018-02-22 (63 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.26
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.22-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi,
I can't find much more on your error in the logs than the error message.
Usually it is good to follow a guide like [1] (but adapted to your package being mysql-server-5.7) in such cases.
If that still fails you please report the full terminal output you got while doing so here.