During routine update, package conflict between base-files and mysql-shared

Todd Deshane deshantm at gmail.com
Tue Jun 14 04:50:53 UTC 2005


I am getting the following error:
doing an apt-get upgrade:

Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/35.4kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y

Preconfiguring packages ...
(Reading database ... 70976 files and directories currently installed.)
Preparing to replace base-files 3.1.0ubuntu2 (using
.../base-files_3.1.0ubuntu3_amd64.deb) ...
Unpacking replacement base-files ...
dpkg: error processing
/var/cache/apt/archives/base-files_3.1.0ubuntu3_amd64.deb (--unpack):
 trying to overwrite `/usr/lib64', which is also in package mysql-shared
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I was wondering what the easiest way to resolve the problem is?

dpkg -l mysql-shared gives: 

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
ii  mysql-shared   4.1.10a-1      MySQL - Shared libraries

the same version of mysql-server and mysql-client are installed.

I am willing to upgrade mysql if necessary, but i need to have at least 4.1 
since it supports subqueries.

Thanks in advance for any suggestions.


More information about the ubuntu-users mailing list