From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4 Description of problem: After installing a fresh copy of Fedora Core 4 and running up2date to update the system I ended up with two versions of NetworkManager. Version-Release number of selected component (if applicable): Fedora Core 4 How reproducible: Always Steps to Reproduce: 1. install a fresh copy of Fedora Core 4 2. run up2date to update the system 3. run 'rpm -q NetworkManager' Actual Results: $ rpm -q NetworkManager NetworkManager-0.4-15.cvs20050404 NetworkManager-0.4-18.FC4 Expected Results: $ rpm -q NetworkManager NetworkManager-0.4-18.FC4 Additional info:
Check your update log for any scripts failing during the upgrade - are there any?
Here is the error message: error: %postun(NetworkManager-0.4-15.cvs20050404.i386) scriptlet failed, exit status 126 I also found an easy way to reproduce this bug: 1. uninstall all NetworkManager related packages 2. download and install via 'rpm -i NetworkManager-0.4-15.cvs20050404.i386.rpm' from http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/ 3. now run up2date, and update NetworkManager 4. see an error message in the terminal 5. run 'rpm -q NetworkManager' and see 2 different versions of NetworkManager
I also noticed this, though I've never used this package. I removed the older version with "rpm -e NetworkManager-0.4-15.cvs20050404", and when verifying the remaining version with "rpm -V NetworkManager", found a bunch of files missing, which are listed below. I then reinstalled it with "rpm -Uvh --replacepkgs NetworkManager-0.4-18.FC4.i386.rpm", and after this it verified properly. missing /usr/share/doc/NetworkManager-0.4 missing d /usr/share/doc/NetworkManager-0.4/AUTHORS missing d /usr/share/doc/NetworkManager-0.4/CONTRIBUTING missing d /usr/share/doc/NetworkManager-0.4/COPYING missing d /usr/share/doc/NetworkManager-0.4/ChangeLog missing d /usr/share/doc/NetworkManager-0.4/NEWS missing d /usr/share/doc/NetworkManager-0.4/README missing d /usr/share/doc/NetworkManager-0.4/TODO missing /usr/share/locale/bs/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/cs/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/da/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/de/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/el/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/en_CA/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/es/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/fr/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/gu/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/hr/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/it/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/ja/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/nb/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/nl/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/no/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/pa/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/pt_BR/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/rw/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/sk/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/sq/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/sv/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/uk/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/wa/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/zh_CN/LC_MESSAGES/NetworkManager.mo missing /usr/share/locale/zh_TW/LC_MESSAGES/NetworkManager.mo
After making sure the new packages were installed properly, I tried downgrading the NetworkManager (and NetworkManager-gnome, since they're interdependent) packages using "rpm -Uvh --oldpackage NetworkManager-0.4-15.cvs20050404.i386.rpm NetworkManager-gnome-0.4-15.cvs20050404.i386.rpm", and then upgrading them to the new versions again. This time it upgraded properly with no duplicate. Strange.
It is because you used "rpm -Uvh" to upgrade. If you use up2date for upgrading you will end up again with 2 versions of NetworkManager as described in comment #2
See also bug #163500 which involves up2date causing two versions of audit to be installed.
Since there are at least two different package that up2date causes to be installed twice, this bug should probably be moved to up2date.
If you update a freshly installed Fedora Core 4 system by running up2date you end up with 2 copies of NetworkManager and audit. To reproduce this bug: 1. install a new Fedora Core 4 system 2. up2date it. 3. run: $rpm -q NetworkManager audit
Here's a case where up2date installed the latest nfs-utils update twice. http://www.redhat.com/archives/fedora-list/2005-July/msg04987.html
I just noticed that there were 2 versions of vixie-cron installed: vixie-cron-4.1-33 vixie-cron-4.1-36.FC4 I uninstalled 4.1-33 and then repaired 4.1-36 using rpm -Uvh --replacepkgs.
Seeing this on RHEL4.1 trying to update to RHEL4.2. Results in 164 duplicated packages, with no easy fix. What's the status of this bug?? It's worth noting that using FC as a beta test of RHEL doesn't help if you don't ever fix the bugs in FC....
This appears related to bug #170753 where the same thing happens with yum.
See also bug #175431.
this bug is not relevant anymore because Fedora Core 5 removed up2date
*** Bug 170753 has been marked as a duplicate of this bug. ***