package mysql-server-core-5.7 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/mysql/bulgarian/errmsg.sys', which is also in package mysql-common 5.6.20-1ubuntu14.04

Bug #1803489 reported by Danish wani
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Got a messaged box displaying something went wrong

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-core-5.7 (not installed)
ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
Uname: Linux 4.15.0-38-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_4_15_0_38_41_generic_45
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Nov 15 10:54:58 2018
DpkgTerminalLog:
 Preparing to unpack .../00-mysql-server-core-5.7_5.7.24-0ubuntu0.18.04.1_amd64.deb ...
 Unpacking mysql-server-core-5.7 (5.7.24-0ubuntu0.18.04.1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-Pac9Pl/00-mysql-server-core-5.7_5.7.24-0ubuntu0.18.04.1_amd64.deb (--unpack):
  trying to overwrite '/usr/share/mysql/bulgarian/errmsg.sys', which is also in package mysql-common 5.6.20-1ubuntu14.04
DuplicateSignature:
 package:mysql-server-core-5.7:(not installed)
 Unpacking mysql-server-core-5.7 (5.7.24-0ubuntu0.18.04.1) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-Pac9Pl/00-mysql-server-core-5.7_5.7.24-0ubuntu0.18.04.1_amd64.deb (--unpack):
  trying to overwrite '/usr/share/mysql/bulgarian/errmsg.sys', which is also in package mysql-common 5.6.20-1ubuntu14.04
ErrorMessage: trying to overwrite '/usr/share/mysql/bulgarian/errmsg.sys', which is also in package mysql-common 5.6.20-1ubuntu14.04
InstallationDate: Installed on 2018-10-28 (17 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6
SourcePackage: mysql-5.7
Title: package mysql-server-core-5.7 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/mysql/bulgarian/errmsg.sys', which is also in package mysql-common 5.6.20-1ubuntu14.04
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Danish wani (danish-wani) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Karl Stenerud (kstenerud) wrote :

Hi Danish,

According to the logs, you have previously installed the community edition of mysql and haven't fully removed it yet. As the community edition package isn't maintained by Ubuntu, there's no automatic process for upgrading to an Ubuntu-maintained package.

To get around this, you'll need to fully uninstall the previous mysql components (you can recognize them because their version numbers all end in "ubuntu14.04").

A quick way to get the list:

  apt search mysql |grep "ubuntu14\.04"

Changed in mysql-5.7 (Ubuntu):
status: New → Invalid
Revision history for this message
Danish wani (danish-wani) wrote : Re: [Bug 1803489] Re: package mysql-server-core-5.7 (not installed) failed to install/upgrade: trying to overwrite '/usr/share/mysql/bulgarian/errmsg.sys', which is also in package mysql-common 5.6.20-1ubuntu14.04

How can i run mysql 5.6 on my ubuntu 18.0 machine?

Any assistance will be highly appreciated.

On 16/11/18 3:24 PM, Karl Stenerud wrote:
> Hi Danish,
>
> According to the logs, you have previously installed the community
> edition of mysql and haven't fully removed it yet. As the community
> edition package isn't maintained by Ubuntu, there's no automatic process
> for upgrading to an Ubuntu-maintained package.
>
> To get around this, you'll need to fully uninstall the previous mysql
> components (you can recognize them because their version numbers all end
> in "ubuntu14.04").
>
> A quick way to get the list:
>
> apt search mysql |grep "ubuntu14\.04"
>
>
> ** Changed in: mysql-5.7 (Ubuntu)
> Status: New => Invalid
>

Revision history for this message
Danish wani (danish-wani) wrote :

On 16/11/18 3:24 PM, Karl Stenerud wrote:
> Hi Danish,
>
> According to the logs, you have previously installed the community
> edition of mysql and haven't fully removed it yet. As the community
> edition package isn't maintained by Ubuntu, there's no automatic process
> for upgrading to an Ubuntu-maintained package.
>
> To get around this, you'll need to fully uninstall the previous mysql
> components (you can recognize them because their version numbers all end
> in "ubuntu14.04").
>
> A quick way to get the list:
>
> apt search mysql |grep "ubuntu14\.04"
>
>
> ** Changed in: mysql-5.7 (Ubuntu)
> Status: New => Invalid
>

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

Other bug subscribers

Remote bug watches

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