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. TIA, -- Collins When I saw the Iraqi people voting three weeks ago, 8 million of them, it was the start of a new Arab world.... The Berlin Wall has fallen. - Lebanese Druze leader Walid Jumblatt
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-0005.sig>
On 5/1/05, Johnny Hughes <mailing-lists at hughesjr.com> wrote:> On Sun, 2005-05-01 at 12:08 -0600, Collins Richey wrote:> > Is there a way to pin a version of a particular package with yum/rpm? > > > > 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 :) >Many thanks. -- Collins When I saw the Iraqi people voting three weeks ago, 8 million of them, it was the start of a new Arab world.... The Berlin Wall has fallen. - Lebanese Druze leader Walid Jumblatt