Synaptic failure

Questions about applications and software
Forum rules
Before you post please read this

Synaptic failure

Postby T J Tulley on Sun Jun 13, 2010 6:52 pm

[Using LinuxMint-9 with Windows-7 on a laptop with Pentium dual-core 2.2 GHz cpu, 4 GB RAM, 500GB hdd]

I have selected mysql-cluster-client and mysql-cluster-server for re-installtion and repeatedly get the response:
"E: /var/cache/apt/archives/mysql-cluster-client-5.1_7.0.9-1ubuntu7_amd64.deb: trying to overwrite '/usr/bin/mysql', which is also in package mysql-client-core-5.1 0
E: /var/cache/apt/archives/mysql-cluster-server-5.1_7.0.9-1ubuntu7_amd64.deb: trying to overwrite '/usr/bin/my_print_defaults', which is also in package mysql-server-core-5.1 0" in spite of having removed the offending files from /usr/bin, expecting them to be replaced during the re-installation.

I also tried to completely remove mysql-client-core-5.1 and got the same error. This is the default database installed with the "empty" packages first mentioned.

How can I overcome this, please?

Yours hopefully, -

Theo Tulley.
User avatar
T J Tulley
Level 5
Level 5
 
Posts: 581
Joined: Wed Jul 18, 2007 10:18 am
Location: Hull, England

Linux Mint is funded by ads and donations.
 

Re: Synaptic failure

Postby vincent on Sun Jun 13, 2010 8:09 pm

Try out the following terminal commands:

Code: Select all
sudo apt-get -f install
sudo apt-get autoremove
Debian Testing x64/LM9 Main x64/Windows 7 x64 - LG R580 laptop w/ Intel Core 2 Duo T6500 2.1 GHz, 4 GB DDR2 RAM, Nvidia Geforce G 105M, Ralink rt2860 802.11n, 300 GB WD HD 5400 rpm
vincent
Level 8
Level 8
 
Posts: 2221
Joined: Tue Feb 09, 2010 4:10 am

Re: Synaptic failure

Postby ramkumaran.t on Mon Apr 02, 2012 1:50 pm

Please try the following.

1. dpkg --list

2. delete whichever package starts with mysql like given below
ii mysql-client 5.1.62-2 MySQL - Client
ii mysql-common 5.1.61-0ubuntu0.11.10.1 MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-devel 5.5.22-2 MySQL - Development header files and libraries
ii mysql-embedded 5.5.22-2 MySQL - Embedded library
ii mysql-server-core-5.1 5.1.61-0ubuntu0.11.10.1 MySQL database server binaries
ii mysql-shared 5.5.22-2 MySQL - Shared libraries
ii mysql-test 5.5.22-2 MySQL - Test suite

3. Issue the following commands
dpkg -r mysql-client
dpkg -r mysql-common
dpkg -r mysql-devel
dpkg -r mysql-embedded
dpkg -r mysql-server-core-5.1
dpkg -r mysql-shared
dpkg -r mysql-test
dpkg -r mysql-workbench-gpl


4. apt-get -f install

5. apt-get autoremove
ramkumaran.t
Level 1
Level 1
 
Posts: 1
Joined: Mon Apr 02, 2012 1:24 pm

Re: Synaptic failure

Postby AlbertP on Thu Apr 05, 2012 8:43 am

You're posting it here in Mint tools, but Synaptic is not part of the Mint tools. No problem, moderators will be able to move the topic.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5870
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Synaptic failure

Postby Oscar799 on Thu Apr 05, 2012 9:00 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8170
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom


Return to Software & Applications

Who is online

Users browsing this forum: Google Adsense [Bot] and 19 guests