Bug 183902 - After installation rpm database has duplicate entries for many packages
Summary: After installation rpm database has duplicate entries for many packages
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 5
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2006-03-03 15:43 UTC by Toby Ovod-Everett
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2006-03-03 17:03:37 UTC

Attachments (Terms of Use)

Description Toby Ovod-Everett 2006-03-03 15:43:56 UTC
Description of problem:

I did what I thought was a fairly straightforward install, but after 
installation it appears that many of the packages have duplicate entries in the 
rpm database.  I did use Package Manager to install a single package (mt) after 
building the machine and perhaps that triggered the scenario.

Version-Release number of selected component (if applicable):

How reproducible:

I haven't attempted a rebuild from scratch of the machine yet.  If you want me 
to do that, let me know.

Steps to Reproduce:

This is the rough procedure I followed during installation:

2.2	Partitioning
â¢	Select âCreate custom layoutâ
â¢	Partitions are as follows.  Remember to check âForce to be a primary 
Partition	Mount	FS	Size	Start	End
/dev/sda1	/	ext3	40963	1	5222
/dev/sda2		swap	1028	5223	5353
/dev/sda3	/photos	ext3	110635	5354	19457
2.3	Network Devices
â¢	Devices:
Device	IP Addr	Netmask			
â¢	Other settings:
Hostname	vin.ovod-everett.org
Primary DNS
Secondary DNS
Tertiary DNS
2.4	Timezone
â¢	Set âAmerica/Anchorageâ
2.5	Root Password
â¢	Duh!
2.6	Installation Type
â¢	Check âWeb serverâ
â¢	Select âCustomize nowâ
2.7	Installation Packages
â¢	Desktop Environments:
GNOME Desktop Environment	Uncheck
KDE (K Desktop Environement)	Check
    Optional Packages:
    Check âkdeadminâ
â¢	Applications:
Editors	Optional Packages:
    Check âemacsâ
Games and Entertainment	Uncheck
Text-based Internet	Optional Packages:
    Check âlynxâ
â¢	Servers:
DNS Name Server	Uncheck
FTP Server	Check
Legacy Network Server	Check
    Optional Packages:
    Uncheck ârusersâ
    Uncheck ârwhoâ
    Check âtelnet-serverâ
Mail Server	Check
    Optional Packages:
    Check âsquirrelmailâ
MySQL Database	Uncheck
Network Servers	Check
    Optional Packages:
    Uncheck âcyrus-saslâ
    Check âdhcpâ
    Uncheck âvnc-serverâ
News Server	Uncheck
PostgreSQL Database	Uncheck
Printing Support	Check
Server Configuration Tools	Uncheck
Web Server	Check
    Optional Packages:
    Uncheck âdistcacheâ
    Uncheck âsquidâ
    Uncheck âtuxâ
â¢	Base System:
Administration Tools	Check
Base	Check
Dialup Networking Support	Uncheck
Legacy Software Support	Check
System Tools	Check
    Optional Packages:
    Uncheck âbluez-pinâ
    Uncheck âckermitâ
    Uncheck âxdeltaâ
    Uncheck âzisofs-toolsâ
    Uncheck âzshâ
X Window System	Check
    Optional Packages:
    Check âswitchdeskâ
Xen	Uncheck
â¢	Languages:
Romanian Support	Check
3	Initial OS Configuration
3.1	First Boot Process
3.1.1	Firewall
â¢	Firewall: Disabled
3.1.2	Date and Time
â¢	Date & Time tab:
o	Set the date and time appropriately
â¢	Network Time Protocol tab:
o	Check âEnable Network Time Protocolâ
3.1.3	Display
â¢	Monitor: Nanao -> Nanao USA FlexScan T2-17TS
â¢	Resolution: 1024x768
â¢	Color Depth: Millions of Colors
3.2	Additional Modules
â¢	Run F->System Tools->Add/Remove Software
â¢	Click âListâ
â¢	Add the following packages:
o	mt-st

Actual results:

I executed:
rpm -qa | sort | uniq -c | egrep -v "^ +1"

The rpm database has 2 entries for all of the following packages:

      2 alsa-lib-1.0.11-3.rc2.2
      2 arts-1.5.1-1.2
      2 aspell-0.60.3-3.2
      2 atk-1.11.2-1.2
      2 audiofile-0.2.6-2.2.1
      2 audit-libs-1.1.4-5.1
      2 avahi-0.6.6-3.1
      2 avahi-glib-0.6.6-3.1
      2 bzip2-libs-1.0.3-2.2.1
      2 cairo-1.0.2-4.2
      2 compat-libstdc++-33-3.2.3-55.fc5
      2 cracklib-2.8.6-1.2.1
      2 cups-libs-1.1.23-30.2
      2 curl-7.15.1-1.2.1
      2 cyrus-sasl-2.1.21-9.2
      2 cyrus-sasl-lib-2.1.21-9.2
      2 cyrus-sasl-plain-2.1.21-9.2
      2 db4-4.3.29-2
      2 dbus-0.60-7.2
      2 dbus-glib-0.60-7.2
      2 device-mapper-1.02.02-3.2
      2 e2fsprogs-libs-1.38-6.2
      2 esound-0.2.36-2.2.1
      2 expat-1.95.8-8.2
      2 fontconfig-2.3.93.cvs20060211-1
      2 freeglut-2.4.0-3.2
      2 freetype-2.1.10-5.2.1
      2 gamin-0.1.7-1.2.1
      2 GConf2-2.13.5-4
      2 gdbm-1.8.0-26.2
      2 ghostscript-8.15.1-5.2
      2 glib2-2.9.6-1
      2 glibc-2.3.90-37
      2 gnome-vfs2-2.13.91-1
      2 gpm-1.20.1-73.3
      2 gtk2-2.8.12-7.1
      2 hal-0.5.7-0.cvs20060213.1
      2 ImageMagick-
      2 kdebase-3.5.1-2.2
      2 kdelibs-3.5.1-2.2
      2 kdemultimedia-3.5.1-1.2
      2 krb5-libs-1.4.3-4.1
      2 lcms-1.15-1.2.1
      2 libacl-2.2.34-1.2
      2 libart_lgpl-2.3.17-2.2.1
      2 libattr-2.4.28-1.2
      2 libbonobo-2.13.1-9
      2 libcap-1.10-24.2
      2 libdaemon-0.10-3.1
      2 libdrm-2.0-2.2
      2 libfontenc-1.0.1-1.2
      2 libgcc-4.1.0-0.27
      2 libgcj-4.1.0-0.27
      2 libgcrypt-1.2.2-1.2.1
      2 libglade2-2.5.1-3.2.1
      2 libgnomecanvas-2.13.0-1.2
      2 libgnomecups-0.2.2-3.2.1
      2 libgnomeprint22-2.12.1-4.2
      2 libgnomeprintui22-2.12.1-1.2.1
      2 libgpg-error-1.1-1.2.1
      2 libgsf-1.13.3-2.2.1
      2 libICE-1.0.0-2.2
      2 libIDL-0.8.6-2.2.1
      2 libidn-0.6.2-1.1
      2 libjpeg-6b-36.2.1
      2 libmng-1.0.9-3.2.1
      2 libogg-1.1.3-1.2
      2 libpng-1.2.8-2.2.1
      2 libraw1394-1.2.0-3.fc5.2
      2 libselinux-1.29.7-1.2
      2 libsepol-1.11.14-2
      2 libSM-1.0.0-2.2
      2 libstdc++-4.1.0-0.27
      2 libtermcap-2.0.8-44.2
      2 libtheora-1.0alpha5-1.2.1
      2 libtiff-3.7.4-3.2.1
      2 libusb-0.1.11-2.2
      2 libvorbis-1.1.2-1.2
      2 libwmf-
      2 libX11-1.0.0-2.2
      2 libXau-1.0.0-2.2
      2 libXaw-1.0.1-1.2
      2 libXcomposite-
      2 libXcursor-
      2 libXdamage-
      2 libXdmcp-1.0.0-2.2
      2 libXext-1.0.0-3.2
      2 libXfixes-
      2 libXft-
      2 libXi-1.0.0-2.2
      2 libXinerama-1.0.1-1.2
      2 libxkbfile-1.0.1-1.2
      2 libxml2-2.6.23-1.2
      2 libXmu-1.0.0-2.2
      2 libXpm-
      2 libXrandr-
      2 libXrender-
      2 libXScrnSaver-1.0.1-1.2
      2 libxslt-1.1.15-1.2.1
      2 libXt-1.0.0-2.2
      2 libXtst-1.0.1-1.2
      2 libXxf86misc-1.0.0-2.2
      2 libXxf86vm-1.0.0-2.2
      2 mesa-libGL-6.4.2-2.1
      2 mesa-libGLU-6.4.2-2.1
      2 ncurses-5.5-18.2
      2 neon-0.25.5-1.2
      2 nspr-4.6.1-2.2
      2 nss-3.11-4
      2 nss_db-2.2-34.2.1
      2 nss_ldap-248-2.2
      2 openldap-2.3.19-4
      2 openssl-0.9.8a-5.2
      2 ORBit2-2.13.3-1.2
      2 pam-
      2 pam_ccreds-3-3.2
      2 pam_krb5-2.2.6-2
      2 pam_passwdqc-1.0.2-1.2.1
      2 pam_smb-1.1.7-7.2
      2 pango-1.11.5-1
      2 pcre-6.3-1.2.1
      2 popt-1.10.2-15.2
      2 qt-3.3.5-12.2
      2 readline-5.0-3.2.1
      2 redhat-artwork-0.238-1.1
      2 redhat-lsb-3.0-9.2
      2 samba-common-3.0.21b-2
      2 tcp_wrappers-7.6-40.2
      2 utempter-0.5.5-7.2.1
      2 zlib-1.2.3-1.2.1

Expected results:

I do not expect to see package installed multiple times in the rpm database.

Additional info:

Please contact me if there is any additional information that would be of 
assistance.  I noticed the problem while attempting to bring my system back 
from the brink after misconfiguring lm_sensors.  I'm still having fun with 
lm_sensors (I think hal is somehow involved), but I'm not sure if I can 
document where I screwed up adequately to demonstrate a bug.  I'll let you know 
what I discover.

Comment 1 Paul Nasrat 2006-03-03 15:59:19 UTC
Try rpm --qf '%%{name}-%%{version}-%%{release}.%%{arch}' -qa or yum list installed

You are installing on x86_64 so you'll have biarch library packages.  I think
your are just getting confused by the default output.

Comment 2 Toby Ovod-Everett 2006-03-03 17:03:37 UTC
You are indeed correct.  My bad.  I apologize for the false alarm.

On another note, would it make sense to change the default format for x86_64 
(and other platforms that have biarch library packages) to include the {arch} 
parameter?  I'm guessing there are compatibility issues with this, but as a 
long-time RedHat/Fedora user with an intermediate skill set, it definitely 
through me for a loop when I had trouble trying to uninstall modules that 
showed up with the same name when I did a rpm -qa.

Note You need to log in before you can comment on or make changes to this bug.