Issue Getting mysql-cluster-client to Install Using Synaptic Package Manager

Asked by Christopher Caranna

Every time I try to get mysql-cluster-client to install using the Synaptic Package Manager it fails and the following message is displayed:

E: /var/cache/apt/archives/mysql-cluster-client-5.1_7.0.9-1ubuntu7_i386.deb: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package libmysqlclient16 0

Being very new to Linux that error message does not make a whole lot of sense to me.

Any assistance with understanding it and resolving the matter would be greatly appreciated.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Run:

sudo dpkg --force-all -i /var/cache/apt/archives/mysql-cluster-client-5.1_7.0.9-1ubuntu7_i386.deb; sudo apt-get -f install

You should also run:

ubuntu-bug mysql-cluster-client

And let the devs know there is a duplicated file in the packages.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Basically there is /usr/lib/libmysqlclient.so.16.0.0 in the package but it is also in another package you have installed, the installer doesn't like this so you get an error, the command I gave tells the installer to not care and just overwrite the file.

Revision history for this message
Christopher Caranna (ccaranna) said :
#3

On 02/06/2011 12:35 PM, actionparsnip wrote:
> Your question #144354 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/144354
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Run:
>
> sudo dpkg --force-all -i /var/cache/apt/archives/mysql-cluster-
> client-5.1_7.0.9-1ubuntu7_i386.deb; sudo apt-get -f install
>
> You should also run:
>
> ubuntu-bug mysql-cluster-client
>
> And let the devs know there is a duplicated file in the packages.
>
Thank you for your answer.

It worked!

I am a person who is trying to learn Linux by taking baby steps and, at
the same time, engage in interesting projects.

Revision history for this message
Christopher Caranna (ccaranna) said :
#4

Thanks actionparsnip, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Please remember to log a bug, this can then be fixed so other users do not come across the same issue.

Revision history for this message
Georgi Kosev (gosho-x) said :
#6

It is working solution, but after that I got theese warnings in postfix log:

Dec 3 08:27:22 mail postfix/smtpd[12366]: warning: problem talking to service rewrite: Success
Dec 3 08:27:22 mail postfix/qmgr[12355]: warning: problem talking to service rewrite: Connection reset by peer
Dec 3 08:27:22 mail postfix/master[12352]: warning: process /usr/lib/postfix/trivial-rewrite pid 13066 killed by signal 6
Dec 3 08:27:22 mail postfix/master[12352]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Dec 3 08:27:27 mail postfix/pickup[12354]: warning: maildrop/43F8939C8: queue file write error
Dec 3 08:27:27 mail postfix/master[12352]: warning: process /usr/lib/postfix/cleanup pid 13065 killed by signal 6
Dec 3 08:27:27 mail postfix/master[12352]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Dec 3 08:27:27 mail postfix/smtpd[12366]: warning: problem talking to service rewrite: Success
Dec 3 08:27:27 mail postfix/qmgr[12355]: warning: problem talking to service rewrite: Connection reset by peer
Dec 3 08:27:27 mail postfix/master[12352]: warning: process /usr/lib/postfix/trivial-rewrite pid 13072 killed by signal 6

I fixed it with running smtp,cleanup and rewrite services in master.cf in non-chroot mode.