Impossible to install akonadi-server and amarok at the same time.

Bug #318929 reported by Luis Silva
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
akonadi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: akonadi-server

I have akonadi-server installed which depends on mysql-server and mysql-server-5.0. When trying to install amarok I am told that there is a conflict and that mysql-server-5.0 must be removed to install mysql-server-5.1. Of course, this implies removing akonadi. I propose upgrading the akonadi dependencies to mysql-server-5.1 and deal with the possible incompatibility issues as akonadi bugs.

Revision history for this message
Kari Takanen (refic) wrote :

Yes, this one is really annoying. It's been there ever since I started using 9.04 Alpha 3.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This just got fixed this morning. Update and everything should be just fine. :-)

Changed in akonadi:
status: New → Fix Released
Revision history for this message
Kari Takanen (refic) wrote :

Hmm.. Seems that something is still wrong?

sudo aptitude install akonadi-server

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  akonadi-server mysql-server-core-5.0{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/6995kB of archives. After unpacking 18.1MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 97662 files and directories currently installed.)
Unpacking mysql-server-core-5.0 (from .../mysql-server-core-5.0_5.1.30really5.0.75-0ubuntu3_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/mysql-server-core-5.0_5.1.30really5.0.75-0ubuntu3_amd64.deb (--unpack):
 trying to overwrite `/usr/sbin/mysqld', which is also in package mysql-server-5.1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package akonadi-server.
Unpacking akonadi-server (from .../akonadi-server_1.1.1-0ubuntu2_amd64.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-core-5.0_5.1.30really5.0.75-0ubuntu3_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 akonadi-server:
 akonadi-server depends on mysql-server-core-5.0; however:
  Package mysql-server-core-5.0 is not installed.
dpkg: error processing akonadi-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 akonadi-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Current status: 1 broken [+1].

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hmm, yeah. I got that too. I'd recommend filing a new bug against mysql-dfsg-5.0 including the overwrite error. It's not an akonadi bug. :-)

Revision history for this message
Luis Silva (lacsilva) wrote :

It is actually not a real bug. Mark all mysql packages you can find as automatically installed:

sudo aptitude markauto ~nmysql

and all will work out. The problem is that nearly all packages from the livecd are installed as non-auto and thus tend to stick around.

Revision history for this message
Kari Takanen (refic) wrote :

Still doesn't work. Same failure.

Revision history for this message
Jorgen Haglund (jorgie-haglund) wrote :

Got the same failure.

Revision history for this message
Trojkolka (trojkolka) wrote :

After running:

"sudo aptitude markauto ~nmysql"

all my partially installed updates got installed and configured. Only the Akonadi dependent packages failed to install and seem to be broken.

"Errors were encountered while processing:
 akonadi-server
 akonadi-kde
 kmail"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.