[Yum] How to exclude

Jeff Sheltren sheltren at cs.ucsb.edu
Tue Jun 29 20:03:56 UTC 2004


Yes, you just need to add an 'exclude=' line to your yum.conf.

>From 'man yum.conf':
       exclude
              list  of  packages  to  exclude  from  updates or installs.
This
              should be a space separated list.  Filename globs *,?,., etc
are
              allowed

-Jeff


On 6/29/04 12:55 PM, "Lawrence, Steve" <Steve.Lawrence at factiva.com> wrote:

> Under RedHat AS 2.1 I have to use yum-1.0.3
> 
> Yum --help gives :
> 
> # yum --help
> 
>     Usage:  yum [options] <update | upgrade | install | info | remove |
> list |
>             clean | provides>
>                 
>          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 randonly
> run in.
>           -C run from cache only - do not update the cache
>           -h, --help this screen
> 
> No --exclude.
> 
> Are there any options for a 7.3 / 2.1 user?
> 
> Steve.
> 
> 
> 
> -----Original Message-----
> From: yum-bounces at lists.dulug.duke.edu
> [mailto:yum-bounces at lists.dulug.duke.edu] On Behalf Of Garrick Staples
> Sent: Wednesday, June 23, 2004 3:11 AM
> To: Yum
> Subject: Re: [Yum] How to exclude
> 
> 
> On Tue, Jun 22, 2004 at 11:04:14PM -0700, Dirk Ouellette alleged:
>> # yum update
>> Gathering header information file(s) from server(s)
>> Server: Fedora Core 1 - i386 - Base
>> Server: Dag RPM Repository for Fedora Core
>> Finding updated packages
>> Downloading needed headers
>> Resolving dependencies
>> ......Unable to satisfy dependencies
>> Package perl-Tk needs perl(Tk::LabRadio), this is not available.
>> Package perl-Tk needs perl(Tk::TextReindex), this is not available.
>> [root at localhost booda]# yum update exclude perl-Tk
> 
> 'yum --help' shows the proper usage.





More information about the Yum mailing list