MySQL Forums
Forum List  »  Install & Repo

Re: Installing mySQL on Ubuntu 12.04
Posted by: Luís de Sousa
Date: June 08, 2012 03:36AM

Today I tried to install mySQL with aptitude to see if something would come up in the log:

$ sudo aptitude install mysql-server
The following NEW packages will be installed:
mysql-server mysql-server-5.5{a}
0 packages upgraded, 2 newly installed, 0 to remove and 16 not upgraded.
Need to get 0 B/8,828 kB of archives. After unpacking 32.8 MB will be used.
Do you want to continue? [Y/n/?] Y
Preconfiguring packages ...
(Reading database ... 413046 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.22-0ubuntu1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/mysql-server-5.5_5.5.22-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/mysql/plugin/ha_example.so', which is also in package libmysqlclient-dev 5.5.23-1~dotdeb.0
No apport report written because MaxReports is reached already
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.22-0ubuntu1_all.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.5_5.5.22-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not installed.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server

Current status: 1 broken [+1].

$ cat /var/log/aptitude
Aptitude 0.6.6: log report
Fri, Jun 8 2012 11:26:43 +0200

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 2 packages, and remove 0 packages.
32.8 MB of disk space will be used
===============================================================================
[HOLD, DEPENDENCIES] libcairo-gobject2:amd64
[HOLD, DEPENDENCIES] libcairo-gobject2:i386
[HOLD, DEPENDENCIES] libcairo-script-interpreter2:amd64
[HOLD, DEPENDENCIES] libcairo2:i386
[HOLD, DEPENDENCIES] libcairo2-dev:amd64
[HOLD, DEPENDENCIES] libgdal1-1.7.0:amd64
[HOLD, DEPENDENCIES] printer-driver-ptouch:amd64
[HOLD, DEPENDENCIES] rpcbind:amd64
[INSTALL, DEPENDENCIES] mysql-server-5.5:amd64
[HOLD] libcairo2:amd64
[HOLD] libgdal1:amd64
[HOLD] ptouch-driver:amd64
[HOLD] python-cupshelpers:amd64
[HOLD] software-center:amd64
[HOLD] system-config-printer-common:amd64
[HOLD] system-config-printer-gnome:amd64
[HOLD] system-config-printer-udev:amd64
[INSTALL] mysql-server:amd64
===============================================================================

Log complete.

It doesn't say much to me. Any clues?

Thank you.

Options: ReplyQuote


Subject
Written By
Posted
Re: Installing mySQL on Ubuntu 12.04
June 08, 2012 03:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.