yum pinning rpms

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



On Sun, 2005-05-01 at 12:08 -0600, Collins Richey wrote:
> I did a little googling for this, but only found meaningless
> references, since pin has too, too common other meanings.
> 
> Is there a way to pin a version of a particular package with yum/rpm?
> 
> I have the rpms for the beta 2.0 version of OpenOffice installed, so
> I'm not interested in the updates for OpenOffice 1.1.2-24.6.0.EL4
> which are now coming in. Is there a way to instruct yum to ignore this
> update but accept other updates?
> 
> Sorry if this is a dumb question, but in spite of many years working
> with Linux I'm not an rpm/yum heavyweight.
> 
> I'm sure, however, others may appreciate the answer.
> 

You can add a line near the top of /etc/yum.conf that says this:

exclude=openoffice*

It should stop trying to install openoffice stuff :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20050501/599abfff/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux