Yum conf file to skip package install

Frank Murphy frankly3d at gmail.com
Sat Jun 20 09:22:54 UTC 2009


On 20/06/09 10:13, Mark Panen wrote:
>
<snip>

> I don't want to type "yum exclude<package>  update" everytime, i want
> to exclude the package permanently.
>

Do similar to:

sudo or su

sudo gedit /etc/yum.conf

[main]
cachedir=/var/cache/yum
exclude=thepackageyouwant (just the name ie kernel)
<snip>

Substitute gedit for whatever editor you have.

Frank




More information about the users mailing list