MySQL Forums
Forum List  »  MySQL Workbench

Install mysql-utilities in debian jessie, error
Posted by: Freddy Madsen
Date: June 19, 2016 07:06AM

Hi,

I 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")


:-) Freddy

Options: ReplyQuote


Subject
Views
Written By
Posted
Install mysql-utilities in debian jessie, error
1615
June 19, 2016 07:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.