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
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-
ProcVersionSign
Uname: Linux 4.15.0-38-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Nov 15 10:54:58 2018
DpkgTerminalLog:
Preparing to unpack .../00-
Unpacking mysql-server-
dpkg: error processing archive /tmp/apt-
trying to overwrite '/usr/share/
DuplicateSignature:
package:
Unpacking mysql-server-
dpkg: error processing archive /tmp/apt-
trying to overwrite '/usr/share/
ErrorMessage: trying to overwrite '/usr/share/
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
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: mysql-5.7
Title: package mysql-server-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
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"