Error when installing 5.6.16-64.2 on Ubuntu

Bug #1298197 reported by Alexey Kopytov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Tomislav Plavcic
5.6
Fix Released
High
Tomislav Plavcic

Bug Description

I'm trying to install Percona Server 5.6.16-64.2 on Ubuntu. 'apt-get install percona-server-5.6 percona-client-5.6' fails with the following error:

Processing triggers for man-db ...
Selecting previously unselected package percona-server-common-5.6.
(Reading database ... 99953 files and directories currently installed.)
Unpacking percona-server-common-5.6 (from .../percona-server-common-5.6_5.6.16-64.2-569.saucy_amd64.deb) ...
Selecting previously unselected package libperconaserverclient18.1.
Unpacking libperconaserverclient18.1 (from .../libperconaserverclient18.1_5.6.16-64.2-569.saucy_amd64.deb) ...
Selecting previously unselected package percona-server-client-5.6.
Unpacking percona-server-client-5.6 (from .../percona-server-client-5.6_5.6.16-64.2-569.saucy_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/percona-server-client-5.6_5.6.16-64.2-569.saucy_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/mysql', which is also in package mysql-client-core-5.5 5.5.35-0ubuntu0.13.10.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/percona-server-client-5.6_5.6.16-64.2-569.saucy_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: pkg

Related branches

Revision history for this message
Hrvoje Matijakovic (hrvojem) wrote :

Current workaround is to remove (not purge) the upstream version first.

Alexey Bychko (abychko)
tags: added: pkg
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

This is easy to confirm:

openxs@ao756:~$ sudo apt-get install percona-server-server-5.6 percona-server-client-5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libperconaserverclient18.1
Suggested packages:
  tinyca
The following NEW packages will be installed:
  libperconaserverclient18.1 percona-server-client-5.6
  percona-server-server-5.6
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 29,5 MB of archives.
After this operation, 110 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://repo.percona.com/apt/ raring/main libperconaserverclient18.1 amd64 5.6.16-64.2-569.raring [18,5 kB]
Get:2 http://repo.percona.com/apt/ raring/main percona-server-client-5.6 amd64 5.6.16-64.2-569.raring [10,2 MB]
Get:3 http://repo.percona.com/apt/ raring/main percona-server-server-5.6 amd64 5.6.16-64.2-569.raring [19,3 MB]
Fetched 29,5 MB in 53s (547 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libperconaserverclient18.1.
(Reading database ... 403885 files and directories currently installed.)
Unpacking libperconaserverclient18.1 (from .../libperconaserverclient18.1_5.6.16-64.2-569.raring_amd64.deb) ...
Selecting previously unselected package percona-server-client-5.6.
Unpacking percona-server-client-5.6 (from .../percona-server-client-5.6_5.6.16-64.2-569.raring_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/percona-server-client-5.6_5.6.16-64.2-569.raring_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/mysql.1.gz', which is also in package mysql-client-core-5.5 5.5.34-0ubuntu0.13.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package percona-server-server-5.6.
Unpacking percona-server-server-5.6 (from .../percona-server-server-5.6_5.6.16-64.2-569.raring_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
 /var/cache/apt/archives/percona-server-client-5.6_5.6.16-64.2-569.raring_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

This is regression from this bug:
https://bugs.launchpad.net/percona-server/+bug/907499
There's some discussion and resolution there.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Tomislav, the bug is in Fix Released and linked to the 5.6.17-65.0 release branch, but the milestone was removed. Should it be set?

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

Yes, please if you can - if not I'll tell Hrvoje to change that - it was linked to some future milestone, but the correct one is 5.6.17-65.0 (I cannot set that because it's locked and I forgot to ping someone who can change that).

Revision history for this message
Daniel (phpdan) wrote :

Hi,

What is the status of this? I have 5.6.21-69.0-675.wheezy and I found it by googling kde percona, as you may guess, I can not install both kde and percona on Debian Wheezy. Looking at akonadi-backend-mysql it shows Depends: mysql-server-core-5.5 | mysql-server-core.

The following packages will be REMOVED:
  percona-server-server-5.6
The following NEW packages will be installed:
  akonadi-backend-mysql akonadi-server mysql-server-core-5.5

https://bugs.launchpad.net/percona-xtradb/+bug/521788
https://bugs.launchpad.net/percona-server/+bug/907499
https://bugs.launchpad.net/percona-server/+bug/1299038

Daniel

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Daniel -

unless I'm missing something, your issue seems to be unrelated to the one of this bug. Can you please file a new bug?

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-777

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.