package mysql-server-5.7 (not installed) failed to install/upgrade: попытка перезаписать «/usr/share/mysql/errmsg-utf8.txt», который уже имеется в пакете percona-server-common-5.7 5.7.10-3-1.jessie

Bug #1687374 reported by WAR10CK
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Percona server 5.7 was installed\

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: mysql-server-5.7 (not installed)
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Sat Apr 29 17:19:28 2017
ErrorMessage: попытка перезаписать «/usr/share/mysql/errmsg-utf8.txt», который уже имеется в пакете percona-server-common-5.7 5.7.10-3-1.jessie
InstallationDate: Installed on 2017-04-29 (1 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: попытка перезаписать «/usr/share/mysql/errmsg-utf8.txt», который уже имеется в пакете percona-server-common-5.7 5.7.10-3-1.jessie
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
WAR10CK (maximbl4m-u) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
I can not read a lot of the report as due to the compression some filter seems have to dropped the cyryllic chars to be unreadable.
But from what I found anyway is about the conflicting "/usr/share/mysql/errmsg-utf8.txt"

Percona, MariaDB and Mysql are somewhat mutually exclusive forks of the same thing.
In your case I assume that you are hit by the fact that they all own that file:
$ apt-file search /usr/share/mysql/errmsg-utf8.txt
mariadb-server-10.0: /usr/share/mysql/errmsg-utf8.txt
mysql-server-5.6: /usr/share/mysql/errmsg-utf8.txt
percona-server-server-5.6: /usr/share/mysql/errmsg-utf8.txt
percona-xtradb-cluster-server-5.6: /usr/share/mysql/errmsg-utf8.txt

Of these only one can be working at any given time.

I took a zesty system installed percona-server-server and then mysql-server.
And just as I expected on installying mysql the percona would be removed.

So in your case some local setup issue is blocking the normal mechanisms to work.
Could you outline a few more details and probable he output of:
$ dpkg -S /usr/share/mysql/errmsg-utf8.txt

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since there isn't enough information in your report to differentiate between a local configuration problem and a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I see that the conflicting file is from percona-server-common-5.7 5.7.10-3-1.jessie
That is not part of the archive which explains why the normal dependency blocks haven't saved you.

But none-the-less those packages are mutually exclusive.

tags: added: pkg
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.7 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Expired
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.