package mariadb-server-5.5 install returned error exit status 1 due bug in mysql flags removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb-5.5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
$ sudo apt-cache policy mariadb-server-5.5
mariadb-server-5.5:
Installed: 5.5.41-
Candidate: 5.5.41-
Version table:
*** 5.5.41-
500 http://
500 http://
100 /var/lib/
5.5.36-1 0
500 http://
Tried installing via:
$ sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libhtml-
mariadb-
Suggested packages:
libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl libsql-
The following NEW packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libhtml-
mariadb-server mariadb-server-5.5 mariadb-
0 upgraded, 15 newly installed, 0 to remove and 121 not upgraded.
Need to get 11.4 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Fetched 11.4 MB in 16s (679 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package libaio1:amd64.
(Reading database ... 51065 files and directories currently installed.)
Preparing to unpack .../libaio1_
Unpacking libaio1:amd64 (0.3.109-4) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-
Unpacking mysql-common (5.5.41-
Selecting previously unselected package mariadb-common.
Preparing to unpack .../mariadb-
Unpacking mariadb-common (5.5.41-
Selecting previously unselected package libmariadbclien
Preparing to unpack .../libmariadbc
Unpacking libmariadbclien
Selecting previously unselected package libmysqlclient1
Preparing to unpack .../libmysqlcli
Unpacking libmysqlclient1
Selecting previously unselected package libreadline5:amd64.
Preparing to unpack .../libreadline
Unpacking libreadline5:amd64 (5.2+dfsg-2) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-
Unpacking libdbi-perl (1.630-1) ...
Selecting previously unselected package libterm-
Preparing to unpack .../libterm-
Unpacking libterm-
Selecting previously unselected package mariadb-
Preparing to unpack .../mariadb-
Unpacking mariadb-
Selecting previously unselected package mariadb-client-5.5.
Preparing to unpack .../mariadb-
Unpacking mariadb-client-5.5 (5.5.41-
Selecting previously unselected package mariadb-
Preparing to unpack .../mariadb-
Unpacking mariadb-
Processing triggers for man-db (2.6.7.1-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up mysql-common (5.5.41-
Setting up mariadb-common (5.5.41-
Selecting previously unselected package mariadb-server-5.5.
(Reading database ... 51407 files and directories currently installed.)
Preparing to unpack .../mariadb-
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking mariadb-server-5.5 (5.5.41-
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-
Unpacking libdbd-mysql-perl (4.025-1) ...
Selecting previously unselected package libhtml-
Preparing to unpack .../libhtml-
Unpacking libhtml-
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-
Unpacking mariadb-server (5.5.41-
Processing triggers for man-db (2.6.7.1-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libaio1:amd64 (0.3.109-4) ...
Setting up libmariadbclien
Setting up libmysqlclient1
Setting up libreadline5:amd64 (5.2+dfsg-2) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libterm-
Setting up mariadb-
Setting up mariadb-client-5.5 (5.5.41-
Setting up mariadb-
Setting up mariadb-server-5.5 (5.5.41-
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
* Stopping MariaDB database server mysqld [ OK ]
chown: cannot access '/var/run/mysqld': No such file or directory
rm: cannot remove '/var/lib/
dpkg: error processing package mariadb-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libdbd-mysql-perl (4.025-1) ...
Setting up libhtml-
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-5.5 (>= 5.5.41-
Package mariadb-server-5.5 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
mariadb-server-5.5
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Configuration fails due to missing /var/run/mysqld
Tried running configure again via:
$ sudo dpkg --configure -a
Setting up mariadb-server-5.5 (5.5.41-
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
* Stopping MariaDB database server mysqld [ OK ]
chown: cannot access '/var/run/mysqld': No such file or directory
rm: cannot remove '/var/lib/
dpkg: error processing package mariadb-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-5.5 (>= 5.5.41-
Package mariadb-server-5.5 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-5.5
mariadb-server
Thanks for reporting this. Somehow this issue slipped in 5.5 though it was a known thing. Fixes committed at /github. com/ottok/ mariadb- 5.5/compare/ ubuntu/ 5.5.41- 0ubuntu0. 14.04.1. ..ubuntu- 14.04 /github. com/ottok/ mariadb- 5.5/compare/ ubuntu/ 5.5.41- 0ubuntu0. 14.10.1. ..ubuntu- 14.10
https:/
https:/