[Yum] why doesn't yum just exec /usr/bin/rpm?
Matthew Miller
mattdm at mattdm.org
Tue Apr 10 23:59:39 UTC 2007
On Mon, Apr 09, 2007 at 03:29:35PM -0700, Neil Harkins wrote:
> 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?
There's plenty of good reasons, but here's the killer -- RPM doesn't give
useful error codes when something goes wrong.
--
Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
More information about the Yum
mailing list