[MDEV-637] LP:821777 - Server 5.2.7 will not install Created: 2011-08-06  Updated: 2013-03-10  Resolved: 2013-03-10

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jay Lozier (Inactive) Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug821777.xml    

 Description   

When installing 5.2.7 using apt-get in Ubuntu I get this result

sudo apt-get install mariadb-server-5.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libmariadbclient16 libmysqlclient16 mariadb-client-5.2
mariadb-client-core-5.2 mariadb-server-core-5.2 mysql-common
Suggested packages:
mailx mariadb-test
The following NEW packages will be installed:
libdbd-mysql-perl libmariadbclient16 libmysqlclient16 mariadb-client-5.2
mariadb-client-core-5.2 mariadb-server-5.2 mariadb-server-core-5.2
mysql-common
0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 21.4 MB/21.5 MB of archives.
After this operation, 51.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main mysql-common all 5.2.7-mariadb101~natty [10.6 kB]
Get:2 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main libmariadbclient16 amd64 5.2.7-mariadb101~natty [1,454 kB]
Get:3 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main libmysqlclient16 amd64 5.2.7-mariadb101~natty [4,300 B]
Get:4 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main mariadb-client-core-5.2 amd64 5.2.7-mariadb101~natty [93.7 kB]
Get:5 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main mariadb-client-5.2 amd64 5.2.7-mariadb101~natty [1,759 kB]
Get:6 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main mariadb-server-core-5.2 amd64 5.2.7-mariadb101~natty [4,474 kB]
Get:7 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main mariadb-server-5.2 amd64 5.2.7-mariadb101~natty [13.6 MB]
Fetched 21.4 MB in 6s (3,166 kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 458443 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.2.7-mariadb101~natty_all.deb) ...
Selecting previously deselected package libmariadbclient16.
Unpacking libmariadbclient16 (from .../libmariadbclient16_5.2.7-mariadb101~natty_amd64.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.2.7-mariadb101~natty_amd64.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_amd64.deb) ...
Selecting previously deselected package mariadb-client-core-5.2.
Unpacking mariadb-client-core-5.2 (from .../mariadb-client-core-5.2_5.2.7-mariadb101~natty_amd64.deb) ...
Selecting previously deselected package mariadb-client-5.2.
Unpacking mariadb-client-5.2 (from .../mariadb-client-5.2_5.2.7-mariadb101~natty_amd64.deb) ...
Selecting previously deselected package mariadb-server-core-5.2.
Unpacking mariadb-server-core-5.2 (from .../mariadb-server-core-5.2_5.2.7-mariadb101~natty_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up mysql-common (5.2.7-mariadb101~natty) ...
Selecting previously deselected package mariadb-server-5.2.
(Reading database ... 458622 files and directories currently installed.)
Unpacking mariadb-server-5.2 (from .../mariadb-server-5.2_5.2.7-mariadb101~natty_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libmysqlclient16 (5.2.7-mariadb101~natty) ...
Setting up libmariadbclient16 (5.2.7-mariadb101~natty) ...
Setting up libdbd-mysql-perl (4.016-1) ...
Setting up mariadb-client-core-5.2 (5.2.7-mariadb101~natty) ...
Setting up mariadb-client-5.2 (5.2.7-mariadb101~natty) ...
Setting up mariadb-server-core-5.2 (5.2.7-mariadb101~natty) ...
Setting up mariadb-server-5.2 (5.2.7-mariadb101~natty) ...
' * Stopping MariaDB database server mysqld [ OK ]
110805 19:21:20 [Note] Plugin 'PBXT' is disabled.
110805 19:21:20 [Note] Plugin 'InnoDB' is disabled.

  • Starting MariaDB database server mysqld [fail]
    invoke-rc.d: initscript mysql, action "start" failed.
    dpkg: error processing mariadb-server-5.2 (--configure):
    subprocess installed post-installation script returned error exit status 1
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Processing triggers for menu ...
    Errors were encountered while processing:
    mariadb-server-5.2
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Prior to attempting this install, I tried removing mysql/maria from the system using some or all of the following:
Using Synaptic with the option of complete removal from the system, then run the following:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
sudo aptitude update
sudo aptitude install sysvinit-utils

This is a fatal error because I can not use the server.

The only issue I have heard is that Java JRE .26 is buggy and can cause programs to behave strangely



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2011-08-06 ]

Launchpad bug id: 821777

Comment by Elena Stepanova [ 2013-03-10 ]

Not much information to analyze here/ From the installation output it's clear that the server was installed all right (no dependency issues or anything), but failed to start. Further notes suggest that there was MySQL or MariaDB previously installed and removed, but no purge was performed. Possibly there were leftovers, either configuration files or a datadir, from a previous version, that conflicted with the newly installed one. For example, the previous version could be MySQL 5.5, and the config file could contain options specific for 5.5 – one can only guess.

Generated at Thu Feb 08 06:30:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.