How move a package to use alternatives

Orion Poplawski orion at cora.nwra.com
Thu Mar 27 21:18:05 UTC 2008


Garrick Staples and I are trying to move the torque and gridengine 
packages to use alternatives for the common POSIX queuing binaries they 
provide (qsub, qstat, etc).  However, upgrades to the new packages that 
use alternatives fail to create the symbolic links.  Garrick hit the 
nail on the head of the problem here I think:

The upgrade occurs as follows (using /usr/bin/qsub as example)

/usr/bin/qsub exists and is owned by torque-1
torque-2 files are installed (/usr/bin/qsub not owned by torque-2)
torque-2 %post runs alternatives (installing /usr/bin/qsub symlink - or 
perhaps not because /usr/bin/qsub exists)
torque-1 cleanup removes /usr/bin/qsub

How can we get around this?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the fedora-devel-list mailing list