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

Re: How to disable yum update for some packages?



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


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