LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Yum says I need Mozilla. It's already there! (http://www.linuxquestions.org/questions/linux-software-2/yum-says-i-need-mozilla-its-already-there-472113/)

bluethumb 08-08-2006 06:40 PM

Yum says I need Mozilla. It's already there!
 
Scientific Linux 4.3, a clone of Red Hat Enterprise, very similar to CentOS. It runs yum every night for updates. It's been working fine for months, but a few days ago it began failing in an odd way. The error messages look like this:
Quote:

Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-dom-inspector
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-devel
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-mail
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-js-debugger
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-chat
Error: Missing Dependency: mozilla-nspr = 37:1.7.13-1.4.1 is needed by package mozilla-nspr-devel
Error: Missing Dependency: mozilla-nss = 37:1.7.13-1.4.1 is needed by package mozilla-nss-devel
Yet it's already there:
Quote:

$ rpm -q mozilla
mozilla-1.7.13-1.4.1.i386
There are 4 machines. Two of them have mozilla installed, and they both do this. The other two are updating themselves properly. What's going on?

rje_NC 08-09-2006 11:02 AM

Try running "yum clean all". I have seen some strange issues with yum on occasion on my CentOS systems. When this happens I run this command which seems to clean up the error. I think it causes yum to rebuild it's dependency database.

Bob

bluethumb 08-09-2006 12:39 PM

Thanks for the idea. Unfortunately it did't change anything.

bluethumb 08-09-2006 01:34 PM

It seems to be related to devhelp
 
I did some more research. I went through the list of packages returned by "yum check-update", updating by hand the ones which didn't trigger the errors. At the end I was left with only two: devhelp and devhelp-devel. Updating either of them alone or in combination produces the errors mentioned above.

Upon examining the errors in more detail, I find some strange things.
Quote:

# yum update
Loading "installonlyn" plugin
Loading "kernel-module" plugin
Loading "versionlock" plugin
Loading "protectbase" plugin
Loading "changelog" plugin
Loading "tsflags" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Reading version lock configuration
0 packages excluded due to repository protections
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package devhelp-devel.i386 0:0.10-0.2.el4 set to be updated
---> Package devhelp.i386 0:0.10-0.2.el4 set to be updated
--> Running transaction check
--> Processing Dependency: mozilla = 37:1.8 for package: devhelp
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package seamonkey.i386 0:1.0.3-0.el4.1 set to be updated
--> Running transaction check
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-dom-inspector
--> Processing Dependency: seamonkey-nss = 1.0.3-0.el4.1 for package: seamonkey
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-devel
--> Processing Dependency: seamonkey-nspr = 1.0.3-0.el4.1 for package: seamonkey
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-mail
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-js-debugger
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-chat
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package seamonkey-nss.i386 0:1.0.3-0.el4.1 set to be updated
---> Package seamonkey-nspr.i386 0:1.0.3-0.el4.1 set to be updated
--> Running transaction check
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-dom-inspector
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-devel
--> Processing Dependency: mozilla-nss = 37:1.7.13-1.4.1 for package: mozilla-nss-devel
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-js-debugger
--> Processing Dependency: mozilla-nspr = 37:1.7.13-1.4.1 for package: mozilla-nspr-devel
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-mail
--> Processing Dependency: mozilla = 37:1.7.13-1.4.1 for package: mozilla-chat
--> Finished Dependency Resolution
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-dom-inspector
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-devel
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-mail
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-js-debugger
Error: Missing Dependency: mozilla = 37:1.7.13-1.4.1 is needed by package mozilla-chat
Error: Missing Dependency: mozilla-nss = 37:1.7.13-1.4.1 is needed by package mozilla-nss-devel
Error: Missing Dependency: mozilla-nspr = 37:1.7.13-1.4.1 is needed by package mozilla-nspr-devel
It seems to want Mozilla 1.8, which doesn't exist in the repository. Then it wants seamonkey, which isn't installed. I'm puzzled.

Just for completeness:
Quote:

# rpm -qa | grep mozilla
mozilla-dom-inspector-1.7.13-1.4.1.i386
mozilla-nss-1.7.13-1.4.1.i386
mozilla-nspr-devel-1.7.13-1.4.1.i386
mozilla-mail-1.7.13-1.4.1.i386
mozilla-nss-devel-1.7.13-1.4.1.i386
mozilla-nspr-1.7.13-1.4.1.i386
mozilla-devel-1.7.13-1.4.1.i386
mozilla-1.7.13-1.4.1.i386
mozilla-chat-1.7.13-1.4.1.i386
mozilla-js-debugger-1.7.13-1.4.1.i386
It's all there.

bluethumb 08-09-2006 04:43 PM

Solved!
 
Someone in another forum gave me the answer I needed. Here it is.
Quote:

Try

yum upgrade

The upstream vendor is replacing mozilla with seamonkey, so the new seamonkey obsoletes mozilla while it also provides it. Yum update does know know about the "obsoletes" but yum upgrade does.
That did the job. Mozilla was replaced by seamonkey, and everything worked OK after that.


All times are GMT -5. The time now is 12:55 PM.