<div dir="ltr">That's what I was getting at. ;)  I knew that your answer couldn't be considered "official", given the circumstances.  Which is why I posted to see if there's a way through to a solution rather than a workaround...<div>
<br></div><div style>  -I</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 4:40 AM, Jan Hutař <span dir="ltr"><<a href="mailto:jhutar@redhat.com" target="_blank">jhutar@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry,<br>
can not give you "official" answer/recommendation. From the bug<br>
you have linked it is not clear if it is CentOS or Anaconda or<br>
Spacewalk issue.<br>
<br>
Sorry,<br>
Jan<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Thu, 13 Jun 2013 19:52:15 -0700 Ian Forde<br>
<<a href="mailto:ianforde@gmail.com">ianforde@gmail.com</a>> wrote:<br>
<br>
> (To Jan) Question.  Given that this is discussed in<br>
> <a href="http://bugs.centos.org/view.php?id=4978" target="_blank">http://bugs.centos.org/view.php?id=4978</a> (going back almost 2<br>
> years now), and is still an active issue, I'm wondering if the<br>
> "official" answer is to not use the updates repo during<br>
> installation or not.  But if this is just a metadata bug, as<br>
> described above and in the referenced bugzilla entry, can<br>
> someone please elaborate on what we, the users, can do to help<br>
> get this resolved in a way that we can specify additional<br>
> repositories during installation safely, as described in<br>
> <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-pkgselection-x86.html" target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-pkgselection-x86.html</a><br>

> (section 9.18.1) and<br>
> <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html" target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html</a><br>

> (via<br>
> the "repo" keyword)?  Or are we just SOL?<br>
><br>
> (To Paul) Can you please elaborate on this?  As noted in the<br>
> above-referenced bugzilla entry, people are still fighting<br>
> with this issue 2 years later, but if you've got a working<br>
> solution to this problem, I'm sure that many folks would like<br>
> to know more about it...<br>
><br>
> Thanks,<br>
>  -Ian<br>
><br>
><br>
> On Thu, Jun 13, 2013 at 8:02 AM, Paul Robert Marino<br>
> <<a href="mailto:prmarino1@gmail.com">prmarino1@gmail.com</a>>wrote:<br>
><br>
> > One thing I found is that you need to use the image files<br>
> > from the "Everything" install disk when creating the<br>
> > kickstart distribution or you will run into problems like<br>
> > the one you described with the update channel.<br>
> ><br>
> ><br>
> ><br>
> > On Mon, Jun 10, 2013 at 8:08 AM, Jan Hutař<br>
> > <<a href="mailto:jhutar@redhat.com">jhutar@redhat.com</a>> wrote:<br>
> > > On Mon, 3 Jun 2013 23:41:14 +0000 Faye Salwin<br>
> > > <<a href="mailto:Faye.Salwin@betfair.com">Faye.Salwin@betfair.com</a>> wrote:<br>
> > ><br>
> > >> Centos6 updates contains libxml2-python and Spacewalk<br>
> > >> pulls THAT version (as it is the latest available version<br>
> > >> within any child channels of the selected distribution)<br>
> > >> of the RPM when building kickstart files instead of a<br>
> > >> package from a channel enabled for kickstart (The Java<br>
> > >> code pulls these files using the "file download url")<br>
> > >><br>
> > >> This works:<br>
> > >><br>
> > <a href="http://x.x.x.x/download/package/2ca68cda56a77523c946e69ca5dc8d34e0f45f01/0/1/885/libxml2-python-2.7.6-8.el6_3.4.x86_64.rpm" target="_blank">http://x.x.x.x/download/package/2ca68cda56a77523c946e69ca5dc8d34e0f45f01/0/1/885/libxml2-python-2.7.6-8.el6_3.4.x86_64.rpm</a><br>

> > >><br>
> > <a href="http://x.x.x.x/download/package/1e2379d4dadc3fef16c422d3aa705ff83264b469/0/1/5811/pyOpenSSL-0.10-2.el6.x86_64.rpm" target="_blank">http://x.x.x.x/download/package/1e2379d4dadc3fef16c422d3aa705ff83264b469/0/1/5811/pyOpenSSL-0.10-2.el6.x86_64.rpm</a><br>

> > >><br>
> > <a href="http://x.x.x.x/download/package/704fdbe78c79726bab6d1e5f8461045ef7f0a194/0/1/11132/rhnlib-2.5.55-1.el6.noarch.rpm" target="_blank">http://x.x.x.x/download/package/704fdbe78c79726bab6d1e5f8461045ef7f0a194/0/1/11132/rhnlib-2.5.55-1.el6.noarch.rpm</a><br>

> > >> rpm -Uvh --replacepkgs<br>
> > >> --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL*<br>
> > /tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python*<br>
> > >><br>
> > >> If the Updates repo is disabled in the kickstarter, but<br>
> > >> available as a child channel of the install tree, then<br>
> > >> libxml2-python fails to install as it cannot supply the<br>
> > >> dependencies to libxml2-python (*12-el6_4*) which are in<br>
> > >> the Updates repo too.<br>
> > >><br>
> > >> I have read that one shouldn't enable the Updates Repo<br>
> > >> during Kickstart, but if I do not delete libxml2-python<br>
> > >> from the updates repo then a kickstart which does not<br>
> > >> include the updates repo will fail.  If I do install the<br>
> > >> updates repo to kickstart then it will lag the install<br>
> > >> for a long time while it tries and retries to access a<br>
> > >> comps file which does not exist. (there are comps files<br>
> > >> for EPEL and Spacewalk which I have to include during<br>
> > >> kickstart to install the rhn_client, rhncfg-client etc.<br>
> > >> I have restricted EPEL to only those packages which the<br>
> > >> Spacewalk repo depends upon.  I believe that the<br>
> > >> kickstart will continue to function from the time that<br>
> > >> libxml2-python from updates is added until the kickstart<br>
> > >> profile is updated at which point it will re-evaluate the<br>
> > >> includes.  It doesn't seem like a good solution to delete<br>
> > >> libxml2-python every time you update kickstart and then<br>
> > >> re-sync.<br>
> > >><br>
> > >> What is the best practice here?  Should I kickstart from a<br>
> > >> tree with updates present?  What happens about the Comps<br>
> > >> (groups file) in this case?  I've also noticed that<br>
> > >> cloning child channels (using the manage channel<br>
> > >> lifecycle script at least) does not clone the<br>
> > >> RHNCHANNELCOMPS row that is relevant which caused me a<br>
> > >> few frustrations early on.<br>
> > >><br>
> > >> Is it not possible to kickstart just one distribution &<br>
> > >> channel selection and then switch parent channels at<br>
> > >> activation time?  That would simplify a lot of the<br>
> > >> workflow (perhaps allow you to have a single kickstart<br>
> > >> for all your lifecycle locations and validate that the<br>
> > >> parent channel is a clone of the one you are activating?)<br>
> > >><br>
> > >> Why does the Kickstart file create java code include files<br>
> > >> that are from repos not included in the kickstart<br>
> > >> channels?  I am guessing it is so that you don't have to<br>
> > >> include the spacewalk repo as a child, but if you don't<br>
> > >> do that, it can't find rhnreg_ks for example (unless you<br>
> > >> use one of the many workarounds that have been posted in<br>
> > >> this list eg. tar ball of spacewalk files)<br>
> > >><br>
> > >> It is entirely possible that I am just "doing it wrong" in<br>
> > >> which case a pointer to best practice would be<br>
> > >> appreciated.<br>
> > >><br>
> > >> Thanks<br>
> > >><br>
> > >><br>
> > >> Faye<br>
> > ><br>
> > > Hello,<br>
> > > you should kickstart with only base channel enabled<br>
> > > (ideally no additional child channels/repos). After<br>
> > > install you can assign additional child channels and<br>
> > > update your system (you can assign these channels using<br>
> > > activation key in your kickstart profile).<br>
> > ><br>
> > > If you have kickstart profile with base channel only and<br>
> > > satellite generated these "http://..." download links<br>
> > > pointing to packages which are not in the base channel,<br>
> > > that is a bug and please report it to the Bugzilla or here.<br>
> > ><br>
> > > Regards,<br>
> > > Jan<br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Jan Hutar     Systems Management QA<br>
> > > <a href="mailto:jhutar@redhat.com">jhutar@redhat.com</a>     Red Hat, Inc.<br>
> > ><br>
> > > _______________________________________________<br>
> > > Spacewalk-list mailing list<br>
> > > <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> > > <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
> ><br>
> > _______________________________________________<br>
> > Spacewalk-list mailing list<br>
> > <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> > <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
> ><br>
<br>
<br>
--<br>
Jan Hutar     Systems Management QA<br>
<a href="mailto:jhutar@redhat.com">jhutar@redhat.com</a>     Red Hat, Inc.<br>
</div></div></blockquote></div><br></div>