Skip to contentSkip to conversation

"persistent" RPMs

DISCUSSION Yuri Csapo 3 participants 6 messages Jun 30, 2009 – Jul 1, 2009 2 messages not in the archive

lore
Share & tools
lore

Yuri Csapo

author
#0 lore raw

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?

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw

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

Quoted 56 lines · Gerardo Juarez-Mondragon

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

Quoted 12 lines · Yuri Csapo

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:   [email protected]
Quoted 12 lines

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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

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
#3 lore raw

Hi,

Quoted 1 line · Yuri Csapo

On Ubuntu, you can tell apt to simply 'hold' a package and it will just

do

Quoted 2 lines

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

#4 lore raw
In reply to Yuri Csapo

Hi,

Quoted 2 lines

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

author
#5 lore raw

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

Quoted 27 lines · Hauke Kreft

Hi,

Quoted 1 line

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

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

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#7 lore raw

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

Yuri

Quoted 13 lines · Adam T. Bowen

Hi,

Quoted 1 line · Yuri Csapo

On Ubuntu, you can tell apt to simply 'hold' a package and it will just

do

Quoted 1 line

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

Signature · 15 lines
Yuri Csapo
Academic Computing & Networking
Colorado School of Mines
CT-256
Phone:  (303) 273-3503
Fax:      (303) 273-3475
Email:   [email protected]

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

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