linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "persistent" RPMs
@ 2009-06-30 15:57 Yuri Csapo
       [not found] ` <f33c6e0e0906300913g44236865yce5c4ba656deccf@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Yuri Csapo @ 2009-06-30 15:57 UTC (permalink / raw)
  To: linux-admin

Does anybody know how to instal an RPM on a RH-derived system and make it persistent so that future 
upgrades don't replace them?

-- 
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "persistent" RPMs
       [not found] ` <f33c6e0e0906300913g44236865yce5c4ba656deccf@mail.gmail.com>
@ 2009-06-30 17:02   ` Yuri Csapo
  2009-06-30 18:18     ` Adam T. Bowen
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yuri Csapo @ 2009-06-30 17:02 UTC (permalink / raw)
  To: Gerardo Juarez-Mondragon; +Cc: linux-admin

Gerardo, thank you for your reply.

I do appreciate the problems of holding something back. While I understand this situation is not 
sustainable in the long term, I don't see why I shouldn't be able to hold back a particular package, 
of course in the process holding back all its required and dependent packages, while letting other 
parts of the system update as usual. Of course eventually we'll reach some shared library that will 
end up locking up upgrades across the whole system but I can make a decision then.

The reason I ask the question is because, although I've been working with Linux since 1996 (and 
other Unices before then), I've managed to stay away from RedHat until about a couple of months ago. 
Now I'm having to learn "the RedHat way" of doing things. I may still be proven wrong but so far my 
feeling is that, frankly, if I have to contend with proprietary poorly documented incantations and 
nonexistent support and still pay for the privilege, I'd rather go to Windows Server. But I digress.

On Ubuntu, you can tell apt to simply 'hold' a package and it will just do that. Does anybody know 
of anything similar on RedHat?

Thanks

Yuri


Gerardo Juarez-Mondragon wrote:
> In my opinion, there are two scenarios:
> 
> (1) the RPM was made by you of an application you wrote yourself or is
> a third party RPM of a very specific application. In this case, being
> an application 'off the distribution tree', it will never be upgraded,
> except when you or the authors write such an upgrade.
> 
> (2) the application is a regular application, registered as part of
> the Linux distribution. In this case the chances of it not being
> upgraded are slim, because most bulk upgrades will find it listed and
> act accordingly. Theoretically, you could manually upgrade parts of
> your distribution omitting this one package. However, it will
> eventually clash with some upgrade affecting a vital library. This
> could happen in case (1) above as well, except for the simplest
> applications, since most use shared libraries; you could get away for
> some time though, by keeping your application using static libraries.
> Again, this last only with scenario (1).
> 
> The only way I have found of making software in this condition work is
> by not upgrading at all. This is the reason why you find some servers
> with an old distribution and they cannot be upgraded, unless they
> break free from the 'untouchable' software.
> 
> Hope this is of use,
> Gerardo
> 
> 
> On Tue, Jun 30, 2009 at 10:57 AM, Yuri Csapo<ycsapo@mines.edu> wrote:
>> Does anybody know how to instal an RPM on a RH-derived system and make it
>> persistent so that future upgrades don't replace them?
>>
>> --
>> Yuri Csapo
>> Academic Computing & Networking
>> Colorado School of Mines
>> CT-256
>> Phone:  (303) 273-3503
>> Fax:      (303) 273-3475
>> Email:   ycsapo@mines.edu
>>
>> Please use the following link to open a service request:
>> http://helpdesk.mines.edu
>> ===========================================
>> With a PC, I always felt limited
>> by the software available.
>> On Unix, I am limited only by my knowledge.
>> --Peter J. Schoenster
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "persistent" RPMs
  2009-06-30 17:02   ` Yuri Csapo
@ 2009-06-30 18:18     ` Adam T. Bowen
  2009-06-30 19:11     ` Hauke Kreft
       [not found]     ` <dde9296f4ea39e9ce67e6e62d81eb337@clientmail.connect.org.uk>
  2 siblings, 0 replies; 6+ messages in thread
From: Adam T. Bowen @ 2009-06-30 18:18 UTC (permalink / raw)
  To: linux-admin

Hi,

On Tue, 30 Jun 2009 11:02:20 -0600, Yuri Csapo <ycsapo@mines.edu> wrote:
> On Ubuntu, you can tell apt to simply 'hold' a package and it will just
do
> that. Does anybody know 
> of anything similar on RedHat?

If you are using yum to update the system, then you can add an "exclude"
directive to your /etc/yum.conf. See the man page for yum.conf.

Cheers

Adam

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "persistent" RPMs
  2009-06-30 17:02   ` Yuri Csapo
  2009-06-30 18:18     ` Adam T. Bowen
@ 2009-06-30 19:11     ` Hauke Kreft
  2009-07-01 17:09       ` Yuri Csapo
       [not found]     ` <dde9296f4ea39e9ce67e6e62d81eb337@clientmail.connect.org.uk>
  2 siblings, 1 reply; 6+ messages in thread
From: Hauke Kreft @ 2009-06-30 19:11 UTC (permalink / raw)
  To: linux-admin

Hi,

> On Ubuntu, you can tell apt to simply 'hold' a package and it will just 
> do that. Does anybody know of anything similar on RedHat?

there is a yum plugin for this purpose.

have a look:

Name       : yum-versionlock
Arch       : noarch
Version    : 1.1.16
Release    : 13.el5
Size       : 15 k
Repo       : rhel-i386-client-5
Summary    : Yum plugin to lock specified packages from being updated
License    : GPLv2+
Description: This plugin takes a set of name/versions for packages and
excludes all other versions of those packages (including optionally
following obsoletes). This allows you to protect packages from being
updated by newer versions, for example.

Best,
Hauke

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "persistent" RPMs
       [not found]     ` <dde9296f4ea39e9ce67e6e62d81eb337@clientmail.connect.org.uk>
@ 2009-07-01 17:08       ` Yuri Csapo
  0 siblings, 0 replies; 6+ messages in thread
From: Yuri Csapo @ 2009-07-01 17:08 UTC (permalink / raw)
  To: Adam T. Bowen, linux-admin

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

Adam, thank you for this suggestion. It seems to do what I want and I'm going with it for now.

Yuri

Adam T. Bowen wrote:
> Hi,
> 
> On Tue, 30 Jun 2009 11:02:20 -0600, Yuri Csapo <ycsapo@mines.edu> wrote:
>> On Ubuntu, you can tell apt to simply 'hold' a package and it will just
> do
>> that. Does anybody know 
>> of anything similar on RedHat?
> 
> If you are using yum to update the system, then you can add an "exclude"
> directive to your /etc/yum.conf. See the man page for yum.conf.
> 
> Cheers
> 
> Adam

-- 
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

[-- Attachment #2: ycsapo.vcf --]
[-- Type: text/x-vcard, Size: 211 bytes --]

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT
email;internet:ycsapo@mines.edu
title:System Administrator
tel;work:(303) 273-3503
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "persistent" RPMs
  2009-06-30 19:11     ` Hauke Kreft
@ 2009-07-01 17:09       ` Yuri Csapo
  0 siblings, 0 replies; 6+ messages in thread
From: Yuri Csapo @ 2009-07-01 17:09 UTC (permalink / raw)
  To: linux-admin

[-- Attachment #1: Type: text/plain, Size: 1543 bytes --]

Hauke, thank you for the suggestion. I've decided to go with excludes in the conf file for now but I 
might end up using this plugin in the future depending on what happens.

Yuri

Hauke Kreft wrote:
> Hi,
> 
>> On Ubuntu, you can tell apt to simply 'hold' a package and it will just 
>> do that. Does anybody know of anything similar on RedHat?
> 
> there is a yum plugin for this purpose.
> 
> have a look:
> 
> Name       : yum-versionlock
> Arch       : noarch
> Version    : 1.1.16
> Release    : 13.el5
> Size       : 15 k
> Repo       : rhel-i386-client-5
> Summary    : Yum plugin to lock specified packages from being updated
> License    : GPLv2+
> Description: This plugin takes a set of name/versions for packages and
> excludes all other versions of those packages (including optionally
> following obsoletes). This allows you to protect packages from being
> updated by newer versions, for example.
> 
> Best,
> Hauke
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   ycsapo@mines.edu

Please use the following link to open a service request:
http://helpdesk.mines.edu
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster

[-- Attachment #2: ycsapo.vcf --]
[-- Type: text/x-vcard, Size: 211 bytes --]

begin:vcard
fn:Yuri Csapo
n:Csapo;Yuri
org:Colorado School of Mines;CCIT
email;internet:ycsapo@mines.edu
title:System Administrator
tel;work:(303) 273-3503
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-01 17:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 15:57 "persistent" RPMs Yuri Csapo
     [not found] ` <f33c6e0e0906300913g44236865yce5c4ba656deccf@mail.gmail.com>
2009-06-30 17:02   ` Yuri Csapo
2009-06-30 18:18     ` Adam T. Bowen
2009-06-30 19:11     ` Hauke Kreft
2009-07-01 17:09       ` Yuri Csapo
     [not found]     ` <dde9296f4ea39e9ce67e6e62d81eb337@clientmail.connect.org.uk>
2009-07-01 17:08       ` Yuri Csapo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).