Red Hat Bugzilla – Bug 127218
yum is *extremely* slow when resolving dependencies
Last modified: 2014-01-21 17:49:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7)
Description of problem:
yum is *extremely* slow when resolving dependencies. I run on a AMD
K6-500 machine and have the following in my /etc/yum.conf:
name=Fedora Core $releasever - $basearch - Base
name=Fedora Core $releasever - $basearch - Released Updates
name=Fedora Core $releasever - $basearch - Unreleased Updates
name=Fedora Core $releasever - Development Tree
When installing a package, e.g. via "yum install openssl-devel", it
takes ages at the "Resolving dependencies" step. The computer doesn't
seem to do much (no high CPU load, no hard disk usage).
My /etc/fedora-release says "Fedora Core release 2 (Tettnang)" and the
kernel version is 2.6.7-1.469.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install openssl-devel (or any other package)
Actual Results: Takes a long time at "Resolving dependencies" (minutes!)
Expected Results: Should get *much* faster
I have to correct myself:
The CPU load is about 0.99. (no other services are running)
However, there is no remarkable hard disk access as I said.
I've measured the time. It takes about 11 (eleven!) minutes to resolve
the dependencies of openssl-devel.
I will do the following:
[install: openssl-devel 0.9.7a-39.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: e2fsprogs-devel 1.35-8.i386]
[deps: zlib-devel 188.8.131.52-3.i386]
[deps: krb5-devel 1.3.4-1.i386]
Is this ok [y/N]: y
Google a bit, this is known and it is being worked on.
Reporting it for the Nth time just annoys the primary developer.
I searched, but I did not find anything. Is there a workaround?
it improves if you:
use fewer repositories - and especially don't mix and match fc2 stable
and development trees.
if you want to use devel then just use devel, not some of fc2 AND devel.
Okay, thanks, I'll try! ;-)
Once fc3test2 is released. Try yum from there, see if it is better.
All reports and tests have said yes, so far.
reports from yum 2.1.X from fc3 say resolution speed is much much much