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

Matthew Miller <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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           [email protected]          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>
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.