[CentOS] yum pinning rpms
Johnny Hughes
mailing-lists at hughesjr.com
Sun May 1 18:11:53 UTC 2005
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: signature.asc
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.sig>
More information about the CentOS
mailing list