[Python-Dev] Discussion on the Python RPMs... (original) (raw)

Sean Reifschneider jafo@tummy.com
Wed, 27 Mar 2002 21:59:00 -0700


On Thu, Mar 28, 2002 at 02:38:14AM +0100, Juergen Hermann wrote:

We have good results with installing into fully versioned directories, and then symlinking a generic path to the latest installed version in the RPM %post script, i.e.

Well, the problem with that is that you're kind of circumventing the packaging system... The packaging system can't determine if that link has changed, or if other software conflicts with it. Not an earth-shattering situation, but something I try to avoid in the RPMs I distribute...

This allows parallel installs of several versions, and easy switching back and forth between them. Works for our requirements, YMMV.

I'd say that the packages themselves make it easy to switch back and forth between versions. "rpm -e package; rpm -i /tmp/package-previous.rpm"...

Sean

"If all you have is a hammer, every problem tends to look like a nail." Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com> tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python