<br><br><div class="gmail_quote">On Tue, Apr 1, 2008 at 6:30 AM, Mark <<a href="mailto:markg85@gmail.com">markg85@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Pseudo code style..<br>
yum list install gimp [1]<br>
if yum found gimp<br>
 - ask to look for updates and install them if the user answers "y"<br>
else<br>
 - install gimp<br>
<br>
[1] I noticed that yum wants to update his local repository here as<br>
well. I think it's better to get that behaviour out yum and only<br>
update it's local repo if there is none available or a update command<br>
is given or a install command is given.<br>
<br>
Hope that explains it better.<br>
</blockquote></div><br><br>Human: I want to see what version of a package I have installed without doing network access.<br><br>Yum command:  yum list installed packagename<br><br>Human I want to see if there is an update of that package available<br>
<br>Yum command  yum list updates packagename<br><br>I dont see a reason why yum needs to be interactive and prompt for a chain of queries..when you can do the queries yourself in whatever order you desire.<br><br>-jef<br>
<br>