Chris O'Regan wrote:
This is not really a Cobbler issue, but I am hoping someone here has
run
into this.
I have set up a RHEL5 repository built with mrepo and I have added it to
my cobbler configuration. My kickstart file includes $yum_repo_stanza,
and I can see by the syslog output that my repos are being added to the
config. I start the install and the final package list is generated, but
for some reason, firefox is added, but it fails to install due to a
conflict:
error running transaction: file /etc/gre.d/gre64.conf from install of
xulrunner-1.9.0.1-1.el5 conflicts with file from package
firefox-1.5.0.12-3.el5
If I comment out the $yum_repo_stanza then firefox is not added to the
profile and the system installs without a hitch. The problem seems to
arise when kickstart uses packages from my repo instead of the
installation ISO image.
What is weird, though, is that I have live systems with essentially the
same profile as the server I am trying to build however firefox is *not*
installed there. Firefox is being added during kickstart because of this
supposed dependency:
adding firefox for libxpcom.so()(64bit), required by yelp
(libxpcom.so belongs to xulrunner)
I have a updates pending on my other systems including xulrunner however
firefox is not a dependency. I have not yet tried to update the new
server, but I am not expecting any problems. I kickstarted it this
morning with its original kickstart config (same package sets) and it
was updated with the latest packages in the repo.
Possible reasons:
1) Missing comps.xml files in my RHEL5 repos (have not had a chance to
fix this yet), or
2) mrepo is only keeping the latest version of each package; I have the
latest firefox-3.0.* in my repo but the only firefox-1.5.* is on the ISO
image.
Any other ideas? It would certainly cut installation time if kickstart
can select the latest RPMs rather than having to run an update post install.
RHEL 5 does not (yet) support installing the latest version of an RPM at
Anaconda-time, though
this support is available in newer Fedora. IIRC, yum support of being
able to use repos was added
in F7, support for being able to install the most-updated-RPM out of any
of the configured repos was
added for F8. I may be off by one version there.
So you are still suck with yum update in post for EL 5 at the moment.
--Michael