package mariadb-server-5.5 install/upgrade/remove returned error exit status 1 due to mysqld restart not being OK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb-5.5 (Ubuntu) |
Fix Released
|
Undecided
|
Otto Kekäläinen |
Bug Description
I just clicked on "Install updates" (right click menu on the Software Updater icon on the launcher) and it reported a problem upgrading mariadb...
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: mariadb-server-5.5 5.5.36-1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Sat May 10 14:04:21 2014
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2014-04-29 (11 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: mariadb-5.5
Title: package mariadb-server-5.5 5.5.36-1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Changed in mariadb-5.5 (Ubuntu): | |
status: | Fix Committed → Fix Released |
The problem seems to be with dpkg not being able to stop mysqld, as showh when I typed in "sudo apt-get -f upgrade":
* Stopping MariaDB database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
Then I (naively) tried "sudo killall mysqld" and then tried again. dpkg went a step further and then I got a kernel panic... Trying again as you read this.