Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Fedora - Installation This forum is for the discussion of installation issues with Fedora.


  Search this Thread
Old 09-14-2004, 11:20 AM   #1
LQ Newbie
Registered: Sep 2004
Location: CHICAGO
Distribution: FEDORA FC2
Posts: 3

Rep: Reputation: 0
Unhappy Fedora FC2 Arch= x86_64 install leaves duplicate packages in RPM database

FIRST AND FOREMOST: I AM TRYING TO DO THIS ON AN AMD A64 in x86_64 mode. I am an old UNIX hack from the 70s-early 90's BUT... I am completely new to Linux!

While attempting to install and update "apt" on my newly installed FC2, I began getting errors about having multiple versions of packages in my rpm library. the messages from APT looked something like this:

W: There are multiple versions of "XXX" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "XXX"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false

It turns out that I found a guy with a similar problem at the gnuforum
with a subject: Yum Problems, and Apt-Get Problems, Can Anyone help?

In response to that message
suggested a fix which involved the following:

#Find the duplicate packages
doublepackages=`rpm -qa --qf '%{name}\n' | sort | uniq -d | grep -v ^kernel`
echo $doublepackages

followed by:

#clean up the database
apt-get --reinstall install $doublepackages

which was intended to clean up and re-install the packages...

However... it turns out that apt couldn't clean up my database, so I tried using rpm directly to remove the duplicates... that doesn't work either.

Next, I decided to see where the dups came from...
and what do you know... they are there IMMEDIATELY after the completion of a from scratch install of the Fedora FC2 DVD.iso!!!

Using the same little script...
doublepackages=`rpm -qa --qf '%{name}\n' | sort | uniq -d | grep -v ^kernel`
echo $doublepackages

It reports a whole list of duplicate packages...

Depending on what install options you use, you get more or less of the duplicates, but with a simple "server" install, no "X desktops, etc." I still get a clib duplicate!!!

And I can't kill them no matter what options I seem to try with rpm... It sees the duplicates... i.e. rpm -q -a atk produces

atk.x.y.z (both are identical versions)

but it says it can't find them when I try to delete them.

I have spent DAYS tracking this down... using YUM, APT, RPM, UP2DATE, etc.

I am beginning to suspect that the distribution is just broken for the FC2 X86_64 packages...

Thanks in advance for any advice or help. I'm getting ready to throw in the towel on 64 bit mode...

Don - W8HRQ
Old 10-05-2004, 06:21 AM   #2
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
They are installed for both 64-bit (x86_64) and 32-bit (i386). Extend the RPM query a bit to demonstrate that:

rpm --query --all --qf "%{name}-%{version}-%{release} is for %{arch}\n"

Btw, is Apt-Rpm multi-arch safe already? It is not included in Fedora Core for AMD64. I would use Yum, which is included, and afaik it handles multi-lib installations.
Old 10-05-2004, 01:14 PM   #3
LQ Newbie
Registered: Sep 2004
Location: CHICAGO
Distribution: FEDORA FC2
Posts: 3

Original Poster
Rep: Reputation: 0
Problems with FC2 X86_64

Thanks for your reply to my problem. After much head scratching, and digging around, I came to the same conclusion, found the duplicates were for the different models, manually one by one deleted the .i386 models, hoping to be able to use apt, finally gave in and settled for yum, since it is capable of multi-models. Unfortunately, your note just came about 20-30 hours of working around and poking around the net too late...

Again, MANY MANY thanks for the reply. I appreciate the help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate packages-rpm jerrymei Linux - Software 2 10-07-2005 02:33 PM
fedora core 4 is loading both x86_64 and i386 packages which screws up apt. radmaxntx Fedora 1 10-05-2005 11:43 AM
Need FC2 x86_64 binary RPM of unison BobBuchanan Linux - Software 0 02-15-2005 08:00 PM
Problems on boot with PCMCIA during install of FC2 x86_64 on an E-machine m6809 scull7 Linux - Laptop and Netbook 12 11-05-2004 06:09 AM
apt-get fedora duplicate packages/need debian expert :) illtbagu Linux - Software 2 03-03-2004 10:32 AM > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration