Re: More and more yum dependency problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Vian wrote:

On Mon, 2005-08-01 at 09:48 -0400, Robert P. J. Day wrote:
On Mon, 1 Aug 2005, Harald Grossauer wrote:

Running "yum update" for the first time in almost four weeks, I get the
following errors:

Error: Missing Dependency: gcc = 4.0.0 is needed by package libtool
Error: Missing Dependency: openoffice.org-core = 1:1.9.104-2 is needed
by package openoffice.org-pyuno
Error: Unable to satisfy dependencies
Error: Package mozilla needs mozilla-nss = 37:1.7.8-2, this is not
available.
Error: Package mozilla needs mozilla-nspr = 37:1.7.8-2, this is not
available.
Error: Package libtool needs gcc = 4.0.0, this is not available.
Error: Package openoffice.org-pyuno needs openoffice.org-core =
1:1.9.104-2, this is not available.

I had this happen a few times.
It was fixed by one of 2 things (depending upon the cause).
1) If the mirror being used is out of sync, wait a while (sometimes 1 -
2 days) for them to resync and try again.

2) Verify the package that it is complaining about then
check  /var/log/yum.log to find out when and from what repo that package
was installed.  Sometimes I use certain repos only for specific packages
and updates may break the dependencies there.  Enable the repo again to
do the update usually solves that.

If you have a lot of deps that are giving you problems, you can use the output from yum and paste it in a shell script that you want to use. I do this regularly for development because of the excessive amount of dep problems. See attached script. copy output from yum for packages to be upgraded. You may need to run yum -y update to not show a lot of downloading header information. Paste the output from yum in terminal into the script. Search and replace as in example. Save script after editing. Run script and then deal with remaining packages.

This is easier for me than to do than add --exclude=..... for the many dep conflicts.

Jim

--
Graduate life: It's not just a job.  It's an indenture.

Attachment: do-rite.sh
Description: application/shellscript


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux