Re: How to disable yum update for some packages?

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

 



akonstam@xxxxxxxxxxx wrote:
On Fri, Mar 03, 2006 at 10:10:30AM +1100, Yuandan Zhang wrote:

On 3/3/06, Daniel Silva <danielnsilva@xxxxxxxxx> wrote:

Hi,

In last update i had some problems with new versions of some
libraries. So i need to disable yum update for some packages? Is this
possible?


in your yum  configuration file, ie /etc/yum.conf or yum.repos.d/fedora-
updates.repo
add
exclude=packagename


/daniel

It seems to be that it is more flexible to run:
yum --exclude="packagename" update
and the in this form can contain * characters.  So you can exclude all
rpms whose name starts with kernel by using :
--exclude="kernel*"

The "--exclude" command-line option is exactly the same as the "exclude" configuration file option. Both support wildcards. So you'd use the command-line option for one-off exclusions, and the configuration file option if you always wanted to exclude certain packages.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux