Bug 183902 - After installation rpm database has duplicate entries for many packages
After installation rpm database has duplicate entries for many packages
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
5
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-03 10:43 EST by Toby Ovod-Everett
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-03 12:03:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Toby Ovod-Everett 2006-03-03 10:43:56 EST
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”:
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			
eth0	192.168.0.10	255.255.255.0			
•	Other settings:
Hostname	vin.ovod-everett.org
Gateway	192.168.0.1
Primary DNS	198.51.13.3
Secondary DNS	198.51.13.2
Tertiary DNS	195.51.13.6
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-6.2.5.4-4.2.1
      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-0.2.8.4-4.2
      2 libX11-1.0.0-2.2
      2 libXau-1.0.0-2.2
      2 libXaw-1.0.1-1.2
      2 libXcomposite-0.2.2.2-2.2
      2 libXcursor-1.1.5.2-2.2
      2 libXdamage-1.0.2.2-2.2
      2 libXdmcp-1.0.0-2.2
      2 libXext-1.0.0-3.2
      2 libXfixes-3.0.1.2-2.2
      2 libXft-2.1.8.2-3.2
      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-3.5.4.2-2.2
      2 libXrandr-1.1.0.2-2.2
      2 libXrender-0.9.0.2-3.2
      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-0.99.3.0-1.2
      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 10:59:19 EST
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 12:03:37 EST
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.