Hi.<div><br></div><div>I've been reading the python-clone-errata.py and I see that it uses the findByNvrea method. Can I create another method like this, adding vendor or provider parameter? I guess this will solve my problem, which is the first entry matched on database is returned, no matter the channel. (I debug with some prints on the script and comparing with the id's on the database).</div>

<div><br></div><div>If not, the another "solution" (workaround), is to first upload packages from RHN than the CentOS for example (but this sounds very ugly).</div><div><br></div><div>Thanks,</div><div>Nilton Moura.<br>

<br><div class="gmail_quote">2012/1/26 Nilton Moura <span dir="ltr"><<a href="mailto:redhat@nmoura.eti.br">redhat@nmoura.eti.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<div><br></div><div>I'm cloning erratas from RHN with rhn-clone-errata.py 0.9.0 by Andy Speagle, but some erratas are being associated with packages from another channel (when the same package exist on CentOS for example).</div>


<div><br></div><div>For example, after publish the errata RHSA-2012:0060 from rhel-5-x86_64-server, I go to Packages and the GUI shows me only one package (openssl-0.9.8e-20.el5_7.1-i686), but if I go to Packages in Manage Errata, the list appears different:</div>


<div><br></div><div><div>openssl-0.9.8e-20.el5_7.1-i686<span style="white-space:pre-wrap">        </span> RHEL x86_64 Server (v. 5) rhn </div><div>openssl-0.9.8e-20.el5_7.1-x86_64<span style="white-space:pre-wrap">  </span> CentOS x86_64 (v. 5) updates </div>


<div>openssl-devel-0.9.8e-20.el5_7.1-i386<span style="white-space:pre-wrap">      </span> CentOS x86_64 (v. 5) updates </div><div>openssl-devel-0.9.8e-20.el5_7.1-x86_64<span style="white-space:pre-wrap">     </span> CentOS x86_64 (v. 5) updates </div>


<div>openssl-perl-0.9.8e-20.el5_7.1-x86_64<span style="white-space:pre-wrap">     </span> CentOS x86_64 (v. 5) updates</div></div><div><br></div><div>I uploaded two prints with this to better understanding:</div>
<div><br></div><div><div>-> <a href="http://static.inky.ws/image/1180/image.jpg" target="_blank">http://static.inky.ws/image/1180/image.jpg</a></div><div>-> <a href="http://static.inky.ws/image/1181/image.jpg" target="_blank">http://static.inky.ws/image/1181/image.jpg</a></div>


</div><div><br></div><div>If I manually remove this CentOS packages from the errata and add the corrected packages from rhel channel I correct this.</div><div><br></div><div>Thanks,</div><span class="HOEnZb"><font color="#888888"><div>

Nilton Moura.</div>
</font></span></blockquote></div><br></div>