why doesn't yum just exec /usr/bin/rpm?

"Neil Harkins" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hi. I did an strace on yum in hopes of seeing the rpm args it uses
in certain cases, but apparently it uses python libs that do the rpm foo,
instead of exec'ing /usr/bin/rpm. Could someone please explain the
reasoning for that decision?

thanks,
-neil

root@test$ rpm -qf /usr/lib64/python2.4/site-packages/rpm/_rpmmodule.so
rpm-python-4.4.1-23

root@test$ rpm -qa | grep yum
yum-utils-0.3.1-1.fc4
yum-2.4.1-1.fc4

root@test$ uname -a
Linux test 2.6.16-1.2108_FC4smp #1 SMP Fri May 5 00:20:22 EDT 2006 x86_64
x86_64  x86_64 GNU/Linux

root@test$ rpm -qa | grep rpm
rpm-libs-4.4.1-23
cpan2rpm-2.028-1
rpm-python-4.4.1-23
rpm-devel-4.4.1-23
rpm-4.4.1-23
rpm-build-4.4.1-23

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.