On Tue, 2007-09-25 at 17:27 -0700, David Lutterkort wrote: > With commit 809c2bb1b5708d7529544c837adaa3a6949e8119, 'yum list > available foo' makes yum exit with an error when there are no pending > updates for foo, even if it is a legitimate package. > > I don't understand why yum would exit with an error in that situation - > could that change be rolled back and an update pushed to FC7 ? Needless > to say, it breaks puppet's yum-based package updates, and the workaround > on the puppet end would require completely ignoring any exit code from > yum. >
James (Antill) this one was your patch - any thoughts? http://devel.linux.duke.edu/gitweb/?p=yum.git;a=commitdiff;h=809c2bb1b5708d7529544c837adaa3a6949e8119;hp=9d2156ae9dba5434ee52ca5def215c633bc94a1c I see where it's coming from - puppet was more or less relying on: yum list stuff which is already installed to exit with a 0. I am somewhat inclined to agree it needs to exit with something else. Then again I'm also inclined to think that puppet needs to stop using yum on the cli as an 'interface' to program against. Anyone else have any thoughts? -sv _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
