Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.