From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.10 (X11; Linux i686; U;) Gecko/20030314 Description of problem: After I upgraded to rpm-4.2.1-0.30 from rawhide, I was no longer able to reinstall mozilla without noise about failed dependencies. I have even run rpm --rebuilddb but to no avail. Downgrade of rpm to rpm-4.2-0.69 from Red Hat Linux 9 distribution made it possible to work with the rpm again. Version-Release number of selected component (if applicable): rpm-4.2.1-0.30 How reproducible: Always Steps to Reproduce: 1. install rpm 4.2.1-0.30 2. try to work with some packages that have dependencies Actual Results: [root@charybda tmp]# rpm -Uvh mozilla-1.3-0_rh8_xft.i386.rpm error: Failed dependencies: mozilla-nspr = 1.3-0_rh8_xft is needed by mozilla-1.3-0_rh8_xft libnspr4.so is needed by mozilla-1.3-0_rh8_xft libplc4.so is needed by mozilla-1.3-0_rh8_xft libplds4.so is needed by mozilla-1.3-0_rh8_xft [root@charybda tmp]# rpm -Uvh mozilla-1.3-0_rh8_xft.i386.rpm mozilla-nspr-1.3-0_rh8_xft.i386.rpm error: Failed dependencies: mozilla-nspr = 1.3-0_rh8_xft is needed by mozilla-1.3-0_rh8_xft [root@charybda tmp]# rpm -Uvh mozilla-nspr-1.3-0_rh8_xft.i386.rpm Preparing... ########################################### [100%] 1:mozilla-nspr ########################################### [100%] [root@charybda tmp]# rpm -Uvh mozilla-1.3-0_rh8_xft.i386.rpm error: Failed dependencies: mozilla-nspr = 1.3-0_rh8_xft is needed by mozilla-1.3-0_rh8_xft [root@charybda tmp]# rpm -qa | grep mozilla mozilla-nspr-1.3-0_rh8_xft [root@charybda tmp]# rpm --rebuilddb [root@charybda tmp]# rpm -Uvh mozilla-1.3-0_rh8_xft.i386.rpm error: Failed dependencies: mozilla-nspr = 1.3-0_rh8_xft is needed by mozilla-1.3-0_rh8_xft Expected Results: The mozilla packages should have installed seamlessly. Additional info:
What happens if you add --promoteepoch when installing?
You mean when installing the rpm or when installing the mozilla package?
mozilla, the problem you reported.
Yes, using rpm with --promoteepoch helps. [root@charybda tmp]# rpm -Uvh mozilla-1.3-0_rh8_xft.i386.rpm mozilla-nspr-1.3-0_rh8_xft.i386.rpm error: Failed dependencies: mozilla-nspr = 1.3-0_rh8_xft is needed by mozilla-1.3-0_rh8_xft [root@charybda tmp]# rpm -Uvh --promoteepoch mozilla-1.3-0_rh8_xft.i386.rpm mozilla-nspr-1.3-0_rh8_xft.i386.rpm Preparing... ########################################### [100%] 1:mozilla-nspr ########################################### [ 50%] 2:mozilla ########################################### [100%] [root@charybda tmp]# rpm -Uvh mozilla-nss-1.3-0_rh8_xft.i386.rpm galeon-1.2.10-1.i386.rpm error: Failed dependencies: mozilla-nspr = 1.3-0_rh8_xft is needed by mozilla-nss-1.3-0_rh8_xft mozilla = 1.3-0_rh8_xft is needed by galeon-1.2.10-1 [root@charybda tmp]# rpm -Uvh --promoteepoch mozilla-nss-1.3-0_rh8_xft.i386.rpm galeon-1.2.10-1.i386.rpm Preparing... ########################################### [100%] 1:galeon ########################################### [ 50%] 2:mozilla-nss ########################################### [100%] Is this the expected behaviour (meaning I'll have to use it from now on), or is it a bug in mozilla or rpm package? Thanks.
OK, then this is expected behavior. rpm-4.2.1 is treating missing Epoch: in dependency comparisons as identical to Epoch: 0. Certain packages have had broken dependencies for years, all now fixed in the latest beta. So your choices when using rpm-4.2.1 to install mixtures of fixed and broken packages when you encounter a problem are a) use --promoteepoch to revert the behavior b) look for a later version with corrected dependencies in Raw Hide.
Thanks. The trouble with the latest mozillas in Raw Hide is that there doesn't seem to be any correcponding galeon. But I think new bug will be needed for that. Thank you.