Unable to uninstall mysql-server-5.6 properly, post-removal script fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.6 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I tried to uninstall mysql-server-5.6, but the post-removal script failed with this message:
Removing mysql-server-5.6 (5.6.23-
/usr/bin/
dpkg: error processing package mysql-server-5.6 (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
This occurs on a fresh install of mysql, no databases, no extra configuration.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: mysql-server-5.6 5.6.23-
ProcVersionSign
Uname: Linux 3.19.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.16.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 24 22:56:09 2015
InstallationDate: Installed on 2015-01-20 (64 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150119)
SourcePackage: mysql-5.6
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in mysql-5.6 (Ubuntu): | |
importance: | Undecided → High |
Changed in mysql-5.6 (Ubuntu): | |
status: | Confirmed → Fix Committed |
I manged to re-install by first running: system/ mysql.service ~/mysql. service. backup
sudo mv /etc/systemd/
then using apt-get to remove then install it again.