Duplicate libraries and rpm

Paul Howarth paul at city-fan.org
Mon Mar 20 16:29:25 UTC 2006


Vicki Stanfield wrote:
> I posted a little while ago about a Bacula problem on FC4 on X86_64 but haven't heard anything, so I will make my question a little narrower. I have multiple copies of mysql on my system and don't know how to pare it down to what I should have. 
> 
> rpm -q mysql generates the following:
> 
> mysql-4.1.11-2
> mysql-4.1.16-1.FC4.1
> mysql-4.1.11-2
> mysql-4.1.16-1.FC4.1
> 
> First, why are there multiple copies?

Probably because a post-install script failed during an update, 
preventing removal of the old version.

> Do I really need a FC4 version and a non-FC4 version of each?

No. The "FC4" is just something the packager stuck in the "release" tag 
of the package, and isn't really significant anyway.

> And how does it come to be that there are two of each? I am new to the whole x86_64 thing. Is this normal?

Yes. Ask rpm to show you the architecture of the packages too:

$ rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' mysql

You'll have i386 and x86_64 versions of the same packages.

Remove the old one as follows:

# rpm -e mysql-4.1.11-2.i386 mysql-4.1.11-2.x86_64

Paul.







More information about the fedora-list mailing list