How to disable yum update for some packages?

akonstam at trinity.edu akonstam at trinity.edu
Thu Mar 2 23:42:50 UTC 2006


On Fri, Mar 03, 2006 at 10:10:30AM +1100, Yuandan Zhang wrote:
> On 3/3/06, Daniel Silva <danielnsilva at gmail.com> 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*"
-- 

-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484




More information about the fedora-list mailing list