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