Red Hat Bugzilla – Bug 44913
Upgrade fails and results in duplicate packages in rpm database
Last modified: 2007-04-18 12:33:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i586)
Description of problem:
I just upgraded from RH 6.2 to RH 7.1, and while the upgrade went smoothly
for the most part, I noticed that afterwards there were *two* sendmail
packages installed -- the old one was still there along with the new one.
In other words:
[root@marvin upgrade]# rpm -q -a | grep sendmail-8
Looking back at the upgrade log, I found this sequence of messages:
/bin/linuxconf: error while loading shared libraries: libncurses.so.4:
cannot load shared object file: No such file or directory
/etc/aliases created as /etc/aliases.rpmnew
/etc/sendmail.cf saved as /etc/sendmail.cf.rpmsave
execution of %trigger scriptlet from linuxconf-1.17r2-6 failed, exit
In fact, the same thing happened with the apache package -- similar
messages in the log, and duplicate packages in the rpm database. Finally,
even though it wasn't upgraded as part of the installer/upgrade, I've also
got duplicate "faq" and "howto" packages. Perhaps this is a bug in rpm
rather than anaconda?
Steps to Reproduce:
1. I really don't want to go through an entire upgrade again!?!
Changing component to RPM.
This is actually a packaging bug, in linuxconf AFAICT, which
should have had a
that prevented that library soname from being removed, which
caused unexpected scriptlet failure, which leads to duplicate
entries in the rpmdb.
Off to linuxconf for further analysis, bounce back to rpm if
you still think it's an rpm "bug" ...
Closing because we don't ship linuxconf anymore
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.