[Yum] YUM install [package.rpm] fails on Solaris, reports success

Joshua Burns joshuaburns at yahoo.com
Fri Nov 13 16:24:26 UTC 2009


Hi, 

Thanks for the suggestions. We have placed all environment variables that exist when rpm runs into both %post, and have exported them before running yum. We are still getting the same error. 

Also, %post has been stripped down to just /usr/bin/echo blah > /tmp/file - it doesn't look like it even gets executed - the truss(1) output seems to show that the file is unlink() 'ed by a PPID before it is executed. 

-j

--- On Thu, 11/12/09, Seth Vidal <skvidal at fedoraproject.org> wrote:

From: Seth Vidal <skvidal at fedoraproject.org>
Subject: Re: [Yum] YUM install [package.rpm] fails on Solaris, reports success
To: "Yellowdog Updater, Modified" <yum at lists.baseurl.org>
Date: Thursday, November 12, 2009, 9:55 PM



On Thu, 12 Nov 2009, Joshua Burns wrote:

>  
> For what it's worth, I, too, was chagrined at having to report a surprise issue this late in the game. Having gotten this
> far, I had assumed that if RPM could install a given package, YUM would also succeed.
>  
> Any help you are able to give would of course be greatly appreciated. This is a particularly key moment (a fork in the
> road, if you will) in the history of the company's infrastructure, and the successful use of this technology could have
> major impact on the adoption of open-source technology over open-wallet technology.
> 

okay - so normally when something works when you run it with rpm and doesn't with yum it is environment variables or improper assumptions in the scriptlets about paths, etc.

So maybe a good place to start is to dump the env you're running in when you run rpm and then dump the environment inside python in yum .

anything odd going on with login shells vs /bin/sh for example?

-sv

-----Inline Attachment Follows-----

_______________________________________________
Yum mailing list
Yum at lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20091113/ea50873b/attachment.htm>


More information about the Yum mailing list