Red Hat Bugzilla – Bug 161038
up2date can cause packages to be installed twice
Last modified: 2007-11-30 17:11:08 EST
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
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
Expected Results: $ rpm -q NetworkManager
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
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'
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
"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 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
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-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
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.
$rpm -q NetworkManager audit
Here's a case where up2date installed the latest nfs-utils update twice.
I just noticed that there were 2 versions of vixie-cron installed:
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. ***