OK folks. I've not gotten anything back on this and it's rearing it's ugly head quite  a lot on 50 machines so I spent a little time on it.<br><br>It seems (and I haven't dug into the source) that smartpm puts a weighting on various criteria in order to "smartly" decide what to upgrade, keep the same or downgrade.
<br>A couple of the things it seems to weight is repository priority and package version. However, it doesn't seem to use the same criteria all the time or at least not in the same order.  <br><br>So if I have CentOS-Base with a priority of 1 and RPMforge with a priority of 0 and theirs a newer version of a package in RPMforge it will upgrade it. On the next pass it will see that CentOS-Base has a higher priority and downgrade the exact same package! If I boost the priority of CentOS-Base to 5 it wins all the time. 
<br><br>This seems to be a bug as the weighting should have an order and that order should never change. If a channel has priority it should have it period. I'm still not having the time "yet" to dig into the source and help out. I'm hoping that I'll get a break soon.
<br><br>Grant<br><br><br><div class="gmail_quote">On Oct 30, 2007 10:47 AM, Grant McWilliams <<a href="mailto:grantmasterflash@gmail.com">grantmasterflash@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;">
I'mmm Baaack!<br><br>Ok, I've run into this problem again. If I do a smart upgrade it wants to upgrade a bunch of packages and downgrade one. I then do it again and it upgrades the one it downgraded and downgrades the others. It will do this forever.  This time I captured the output.
<br><br><br>[root@MSL-31 ~]# smart upgrade<br>Loading cache...<br>Updating cache...                     ################################################### [100%]<br><br>Computing transaction...<br><br>Upgrading packages (5):
<br>  agg-2.5-1.el5.rf@i386                          perl-DBI-1.58-2.el5.rf@i386                    <br>  lftp-3.5.14-1.el5.rf@i386                      perl-XML-SAX-0.16-1.el5.rf@noarch              <br>  perl-Convert-ASN1-0.21-2.el5.rf@noarch

         <br><br>Downgrading packages (1):<br>  subversion-1.4.2-2.el5@i386    <br><br>5.2MB of package files are needed. 2.4MB will be freed.<br><br>Confirm changes? (Y/n): y<br><br>Fetching packages...                                                                            
<br>-> <a href="http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/lftp-3.5.14-1.el5.rf.i386.rpm" target="_blank">http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/lftp-3.5.14-1.el5.rf.i386.rpm</a>                   <br>lftp-3.5.14-1.el5.rf.i386.rpm

         ################################################### [100%]<br><br>                                                                                                <br>Committing transaction...<br>Preparing...                          ################################################### [  0%]
<br>   1:Installing perl-DBI              ################################################### [  8%]<br>   2:Cleaning perl-DBI                ################################################### [ 16%]<br>   3:Installing agg                   ################################################### [ 25%]
<br>   4:Cleaning agg                     ################################################### [ 33%]<br>   5:Installing perl-XML-SAX          ################################################### [ 41%]<br>   6:Cleaning perl-XML-SAX            ################################################### [ 50%]
<br>   7:Installing subversion            ################################################### [ 58%]<br>   8:Cleaning subversion              ################################################### [ 66%]<br>   9:Installing perl-Convert-ASN1     ################################################### [ 75%]
<br>  10:Cleaning perl-Convert-ASN1       ################################################### [ 83%]<br>  11:Installing lftp                  ################################################### [ 91%]<br>  12:Cleaning lftp                    ################################################### [100%]
<br><br><br>[root@MSL-31 ~]# smart upgrade<br>Loading cache...<br>Updating cache...                     ################################################### [100%]<br><br>Computing transaction...<br><br>Upgrading packages (1):
<br>  subversion-1.4.4-0.1.el5.rf@i386               <br><br>Downgrading packages (5):<br>  agg-2.4-2.1@i386                               perl-DBI-1.52-1.fc6@i386                       <br>  lftp-3.5.1-2.fc6@i386                          
perl-XML-SAX-0.14-5@noarch                     <br>  perl-Convert-ASN1-0.20-1.1@noarch              <br><br>6.1MB of package files are needed. 2.4MB will be used.<br><br>Confirm changes? (Y/n): n<br><br>Saving cache...<br>

<br>[root@MSL-31 ~]# smart update<br>Loading cache...<br>Updating cache...                     ################################################### [100%]<br><br>Fetching information for 'CentOS 5 - i386 - atrpms'...                                          
<br>-> <a href="http://mirrors.ircam.fr/pub/atrpms/el5-i386/atrpms/stable//repodata/repomd.xml" target="_blank">http://mirrors.ircam.fr/pub/atrpms/el5-i386/atrpms/stable//repodata/repomd.xml</a>               <br>repomd.xml
                            ################################################### [  4%]
<br>                                                                                                <br>Fetching information for 'CentOS 5 - i386 - rpmforge'...<br>-> <a href="http://apt.sw.be/redhat/el5/en/i386/dag/repodata/repomd.xml" target="_blank">

http://apt.sw.be/redhat/el5/en/i386/dag/repodata/repomd.xml</a>                                  <br>repomd.xml                            ################################################### [ 14%]<br>                                                                                                
<br>Fetching information for 'MSL Packages'...<br>-> scp://mas:*@testserver.com:/home/update-repo/MSL/repodata/repomd.xml                          <br>repomd.xml                            ################################################### [ 23%]
<br>                                                                                                <br>Fetching information for 'CentOS 5 - i386 - extras'...<br>-> <a href="http://yum.math.hmc.edu/os/centos/5/extras/i386/repodata/repomd.xml" target="_blank">

http://yum.math.hmc.edu/os/centos/5/extras/i386/repodata/repomd.xml</a>                          <br>repomd.xml                            ################################################### [ 33%]<br>                                                                                                
<br>Fetching information for 'CentOS 5 - i386 - plus'...<br>-> <a href="http://yum.math.hmc.edu/os/centos/5/centosplus/i386/repodata/repomd.xml" target="_blank">http://yum.math.hmc.edu/os/centos/5/centosplus/i386/repodata/repomd.xml
</a>                      <br>repomd.xml                            ################################################### [ 42%]<br>                                                                                                
<br>Fetching information for 'CentOS 5 - i386 - base'...<br>-> <a href="http://mirror.stanford.edu/yum/pub/centos/5/os/i386/repodata/repomd.xml" target="_blank">http://mirror.stanford.edu/yum/pub/centos/5/os/i386/repodata/repomd.xml
</a>                      <br>repomd.xml                            ################################################### [ 52%]<br>                                                                                                
<br>Fetching information for 'CentOS 5 - i386 - updates'...<br>-> <a href="http://mirror.stanford.edu/yum/pub/centos/5/updates/i386/repodata/repomd.xml" target="_blank">http://mirror.stanford.edu/yum/pub/centos/5/updates/i386/repodata/repomd.xml
</a>                 <br>repomd.xml                            ################################################### [ 61%]<br><br>Updating cache...                     ################################################### [100%]
<br><br>Channels have no new packages.<br><br>
</blockquote></div><br><br clear="all"><br>-- <br>Some people, when confronted with a problem, think "I know, I'll use Windows." <br>Now they have two problems.