[ydl-gen] How to exclude packages?

Christopher Murtagh christopher.murtagh at gmail.com
Sun Nov 26 19:32:44 MST 2006


On 11/22/06, ulrich <captin.kirk at arcor.de> wrote:
> I have a problem to exclude some packages from the "yum update" cmd.
> 1.  how do I determine a package name? For instance "openoffice*"
> or "openoffice\*" did not work did not work with me.
> 2. Can anybody please give me a sample comd-line?

 yum upgrade --exclude=openoffice* --exclude=openssl

That would upgrade your system excluding the openssl package and all
the openoffice packages. To see what packages that would affect do
this:

 yum list 'openoffice*'

 which should list all installed an available packages in repos in
your repo list.

If you plan on consistenly excluding packages, you can put them in
your /etc/yum.conf file. man yum.conf for more info on that.

Cheers,

Chris


More information about the yellowdog-general mailing list