yum exclude?

Satish Balay balay at fastmail.fm
Wed Jul 28 19:52:15 UTC 2004



On Wed, 28 Jul 2004, Dave Stevens wrote:

> ok, here is what I get:
> 
> yum --help
>  
>     Usage:  yum [options] <update | upgrade | install | info | remove | list |
>             clean | provides | search | check-update | groupinstall | 
> groupupdat e |
>             grouplist >
>                  
>          Options:
>           -c [config file] - specify the config file to use
>           -e [error level] - set the error logging level
>           -d [debug level] - set the debugging level
>           -y answer yes to all questions
>           -t be tolerant about errors in package commands
>           -R [time in minutes] - set the max amount of time to randomly run 
> in.
>           -C run from cache only - do not update the cache
>           --installroot=[path] - set the install root (default '/')
>           --version - output the version of yum
>           --exclude=some_pkg_name - packagename to exclude - you can use
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>             this more than once
>           --download-only - only download packages - do not run the 
> transaction
>           -h, --help this screen
> 
> I have dug into it a bit and see a hole in the documentation. The yum help 
> file above does not mention exclude. Version is 2.0.7. Or is my yum out of 
> date?
> 
> man yum is no better, man yum.conf gives options under [main] and [servers]

from man yum

-----------------
       --exclude
              Takes  a  package  name  or wildcard for a package. You can list
              this option more than once on the command line to  exclude  more
              than one package name or wildcard

------------------

Satish





More information about the users mailing list