[Yum] How to exclude

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
> [mailto:yum-bounces@xxxxxxxxxxxxxxxxxxxx] 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@localhost booda]# yum update exclude perl-Tk
> 
> 'yum --help' shows the proper usage.



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux