[Yum-devel] [PATCH] Delta and global FileRequires Resolving
Terje Røsten
terje.rosten at ntnu.no
Tue Mar 20 19:56:54 UTC 2007
Florian Festi
> On my PC "echo n |yum update" is now appr. 100% faster when trying
> to update 60 pkgs. Larger and more complicated cases or packages with
> lots of files may gain even more.
>
I get 4:30 and 19:15, for 63 packages in 114 MB. Better, but not there
yet...
BTW:
Can someone explain how the new depsolver works?
Take this example:
* Upgrading glibc from 2.5.90-19 to glibc-2.5.90-17
The diff on output from rpm -ql --provides glibc is:
--- /tmp/old.log 2007-03-20 20:33:58.000000000 +0100
+++ /tmp/new.log 2007-03-20 20:33:45.000000000 +0100
@@ -232,7 +232,7 @@
UTF-32.so
UTF-7.so
VISCII.so
-config(glibc) = 2.5.90-17
+config(glibc) = 2.5.90-19
ld-linux.so.2
ld-linux.so.2(GLIBC_2.0)
ld-linux.so.2(GLIBC_2.1)
@@ -322,7 +322,7 @@
libutil.so.1
libutil.so.1(GLIBC_2.0)
rtld(GNU_HASH)
-glibc = 2.5.90-17
+glibc = 2.5.90-19
/etc/ld.so.conf
/etc/ld.so.conf.d
/etc/localtime
Ok, almost nothing is changed =>
if old glibc is good, then the new glibc is good too, no need to check
anything, just
do the upgrade.
However, look at this:
# python yummain.py -d100 -e100 install glibc | tee /tmp/yum.log
# grep -c 'looking at' /tmp/glibc.log
38595
# grep -c 'looking to see what requires' /tmp/glibc.log
20974
60000 checks!
How can this be needed?
- Terje
More information about the Yum-devel
mailing list