yum - How does ---exclude work?

seth vidal skvidal at phy.duke.edu
Thu Apr 22 15:15:37 UTC 2004


> yum --exclude=gcc34,ghostscript* update
> Gathering header information file(s) from server(s)
> Server: Fedora Core 1 - Development Tree
> .................
> Resolving dependencies
> .....Unable to satisfy dependencies
> Package ghostscript-devel needs ghostscript = 7.07, this is not available.
> 
>      yum --exclude=gcc34,ghostscript update
> ..................
> Resolving dependencies
> .....Unable to satisfy dependencies
> Package ghostscript-devel needs ghostscript = 7.07, this is not available.
> 
> yum --exclude=gcc34,ghostscript-devel  update
> .....................................
> Resolving dependencies
> .....Unable to satisfy dependencies
> Package ghostscript-devel needs ghostscript = 7.07, this is not available.
> 

yum --exclude=gcc34 --exclude=ghostscript-devel

also when using wildcard you might want to escape them so your shell
doesn't try to resolve them out.

-sv






More information about the fedora-test-list mailing list