Hi,

it works now, I think the problem was that I didn't have
the lines
$yum_repo_stanza and 
$yum_config_stanza
in my kickstart file.

When installing RHEL5, the updated packages are being used.

Maybe it's the wrong mailing list to ask, but there is still a problem:

when running "cobbler reposync" the whole rhel-i386-server-5 repository gets
downloaded ( 4125 packages ), but there are no kernel-packages, only the 
kernel-headers and
kernel-doc-packages ?!

So at the moment, I can install an updated rhel5, but only with the first 
kernel-release.

Any idea ?

kind regards

Tim

 

 
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael DeHaan
Gesendet: Dienstag, 22. Juli 2008 13:38
An: cobbler mailing list
Betreff: Re: Problem installing updatet packages / Reposync

[EMAIL PROTECTED] wrote:
> Hi,
>
> I have created a repo for RHEL5 on my cobbler server
> with "repo add --name=rhel-i386-server-5
> --mirror=rhn://rhel-i386-server-5"
>
> When running "cobbler reposync", everything got downloaded.
>
> Then I ran cobbler profile edit --name=RHEL5-xen-i386
> --repos="rhel-i386-server-5"
>
> But when I install via koan, only the old packages are getting installed
> from the install tree.
>
> I thought that setting up repo and running "cobbler profile edit" with
> --repos would mean, that
> installing would be done with the updated packages ??
> I only want to use updatet packages in install phase, not afterwards.
>
> Am I wrong or did I overlook something ?
>
> Regards
> Tim
>   

In RHEL 5 (and I am not sure about the lastest/pending updates), 
Anaconda does not apply updates from yum repos at install time.
It does allow installing from repos at install time for packages not in 
the tree, though if a newer package is in a "repo" in kickstart, it will 
not be used.

This was added around Fedora 7 or 8 (I forget now), so that support is 
coming.

Meanwhile, you can run "yum update" in %post or at first boot time if 
you like.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler



***********************************************************************************
Hinweis: Diese E-Mail und evtl. Anhaenge wurden automatisch
auf Viren geprueft und gelten als virenfrei. Ihr IT-Referat.
***********************************************************************************


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to