<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jesse Keating wrote:
<blockquote cite="mid1237567054.9564.12.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Fri, 2009-03-20 at 12:03 -0400, Gerry Reno wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">The need to make sure that you update rpm or yum before you do 'yum 
update' has happened before and I'm sure this isn't the last time that 
it will happen either.  It just makes sense for a packager to see if 
there is an update to itself first.  Update itself and THEN do the 
updates for everything else.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
That's your opinion.  The opinion of the people writing the update tools
and preparing the repos and living through such "needs" and really
understanding what is actually going on don't share that opinion.

  </pre>
</blockquote>
<tt><br>
What is the matter with yum doing something like this?<br>
<br>
if updated yum or updated rpm is available:<br>
    if updated yum is available:<br>
        update yum<br>
        yum_is_new = true<br>
    if updated rpm is available:<br>
        update rpm<br>
    if yum_is_new:<br>
        sys.execv("/usr/bin/yum", sys.argv)  # replace current process
with updated yum<br>
<br>
<br>
<br>
Regards,<br>
Gerry<br>
<br>
</tt>
</body>
</html>