Bug #81954 Fail to install workbench on debian jessie
Submitted: 21 Jun 2016 13:24 Modified: 29 Oct 2017 12:56
Reporter: Freddy Madsen Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:1.5.6.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: Debian, jessie, mysql-utilities_1.5.6-1debian8_all.deb

[21 Jun 2016 13:24] Freddy Madsen
Description:
 have installed a Debian 8.5 (jessie). To install samba it needs the sid in the repository. 
installing mysql server and client can be done in apt (or Synaptic), but the workbench seems to be installed "by hand", download and dpkg. The current documentation is a bit outdated but can easily translate into the current package name - but installation fail :-( 
--------------------- 
root@fremad-server:/home/test/Documents# dpkg -i mysql-utilities_1.5.6-1debian8_all.deb 
Selecting previously unselected package mysql-utilities. 
(Reading database ... 285831 files and directories currently installed.) 
Preparing to unpack mysql-utilities_1.5.6-1debian8_all.deb ... 
Unpacking mysql-utilities (1.5.6-1debian8) ... 
dpkg: error processing archive mysql-utilities_1.5.6-1debian8_all.deb (--install): 
trying to overwrite '/usr/lib/python2.7/dist-packages/mysql/__init__.py', which is also in package python-mysql.connector 2.0.4-1 
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) 
postrm script for mysql-utilities 
found python2.7 
/usr/lib/python2.7/dist-packages 
ls: cannot access '/usr/share/pyshared/mysql': No such file or directory 
Errors were encountered while processing: 
mysql-utilities_1.5.6-1debian8_all.deb 
root@fremad-server:/home/test/Documents# 
---------------------------------------------------------------------------------------------- 
mkdir the missing directory and go again did not fix the installation :-( 

----------------------------- 
root@fremad-server:/home/test/Documents# dpkg -i mysql-utilities_1.5.6-1debian8_all.deb 
dpkg: error: dpkg status database is locked by another process 
root@fremad-server:/home/test/Documents# dpkg -i mysql-utilities_1.5.6-1debian8_all.deb 
(Reading database ... 285831 files and directories currently installed.) 
Preparing to unpack mysql-utilities_1.5.6-1debian8_all.deb ... 
Unpacking mysql-utilities (1.5.6-1debian8) ... 
dpkg: error processing archive mysql-utilities_1.5.6-1debian8_all.deb (--install): 
trying to overwrite '/usr/lib/python2.7/dist-packages/mysql/__init__.py', which is also in package python-mysql.connector 2.0.4-1 
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) 
postrm script for mysql-utilities 
found python2.7 
/usr/lib/python2.7/dist-packages 
Errors were encountered while processing: 
mysql-utilities_1.5.6-1debian8_all.deb 
---------------------------------------------------------------------------------------------------- 

Is there a "clean" way of fixing this (using apt-get / dpkg ) ? 
(adding something to the repository ?) 

Is there a "dirty fix" like extracting files to some directory and move them to somewhere ? (install "by hand") 

How to repeat:
Install debian 8.5, jessie including sid versions
install mysgq server and client using apt-get or synaptic.
download mysql-utilities_1.5.6-1debian8_all.deb
install using dpkg
[29 Sep 2017 12:56] MySQL Verification Team
Please try with apt repository: https://dev.mysql.com/downloads/repo/apt/. Thanks.
[30 Oct 2017 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".