how to exclude package from repo

Jeroen Van Meeuwen kanarip at kanarip.com
Wed Aug 1 01:07:55 UTC 2007


That doesn't really answer the question because one would want 'kernel' to be installed, but from repo 'centos' or 'fedora', but not 'centosplus' or 'repoX', while the package lives in both repos.

Being able to specify package NEVRA would solve that, but for the time being, one needs to create his own repository or use smarter composing software that does allow package NEVRA in kickstart or allows you to select specific packages from, say, a dialog.

/me, from his cellphone

-----Oorspronkelijk bericht -----
Van: "Thomas Callahan" <callahant at tessco.com>
Aan: "Discussion list about Kickstart" <kickstart-list at redhat.com>
Verzonden: 07-07-31 08:29
Onderwerp: Re: how to exclude package from repo

Put a minus in front of the package name under %packages in your ks file.
That excludes that package from being installed.

Ie

-kde
-firefox
X11
wireshark

Thanks,
Tom Callahan


On 7/31/07 11:13 AM, "Farkas Levente" <lfarkas at bppiac.hu> wrote:

> hi,
> is there any way to exclude package or assign priority to repository in
> kickstart file? with yum one can exclude packages from a repo or with
> yum-protect or yum-priority i can assign priority among repos (in conf
> file). who can i do it in a kickstart file? eg. i'd like to install
> kmod-xfs from centosplus repo during kickstart, but unfortunately
> centosplus repo also contains a modified kernel while i wanna use the
> base kernel. so with yum i can protect or give higher priority to base
> and updates and in this case kernel not updated from centos plus, but
> kmod-xfs can be used. of if i can exclude=kernel* from centosplus that's
> another solution. but none of the above work with kickstart.
> is there any way to solve my problem?
> thanks in advance.
> 
> --
>   Levente                               "Si vis pacem para bellum!"
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> 







More information about the Kickstart-list mailing list