Public bug reported: Installation of the base library package (slurm-drmaa1) does not create a libdrmaa alternative. This is done in the development package, where it installs an alternative for "libdrmaa.so" and a symbolic link for "libdrmaa.so"
me@hostname[~/build/slurm-drmaa]: update-alternatives --query libdrmaa.so update-alternatives: error: no alternatives for libdrmaa.so. me@hostname[~/build/slurm-drmaa]: sudo dpkg --install slurm-drmaa1_1.0.6-2_amd64.deb Selecting previously unselected package slurm-drmaa1. (Reading database ... 252299 files and directories currently installed.) Unpacking slurm-drmaa1 (from slurm-drmaa1_1.0.6-2_amd64.deb) ... Setting up slurm-drmaa1 (1.0.6-2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place me@hostname[~/build/slurm-drmaa]: update-alternatives --query libdrmaa.so update-alternatives: error: no alternatives for libdrmaa.so. me@hostname[~/build/slurm-drmaa]: sudo dpkg --install slurm-drmaa-dev_1.0.6-2_amd64.deb Selecting previously unselected package slurm-drmaa-dev. (Reading database ... 252306 files and directories currently installed.) Unpacking slurm-drmaa-dev (from slurm-drmaa-dev_1.0.6-2_amd64.deb) ... Setting up slurm-drmaa-dev (1.0.6-2) ... update-alternatives: using /usr/lib/slurm-drmaa/lib/libdrmaa.so to provide /usr/lib/libdrmaa.so (libdrmaa.so) in auto mode. me@hostname[~/build/slurm-drmaa]: update-alternatives --query libdrmaa.so Link: libdrmaa.so Status: auto Best: /usr/lib/slurm-drmaa/lib/libdrmaa.so Value: /usr/lib/slurm-drmaa/lib/libdrmaa.so Alternative: /usr/lib/slurm-drmaa/lib/libdrmaa.so Priority: 40 Slaves: drmaa.h /usr/lib/slurm-drmaa/include/drmaa.h It seems to me that the base library package should handle any alternatives for the library. The development package would simply add the slave for the drmaa header files. I've handled this in our environment by adding a slurm-drmaa1.postinst and slurm-drmaa1.prerm command to manage the alternative. Seems to work OK, and happy to provide my work. Thanks Michael ** Affects: slurm-drmaa (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1110569 Title: Installation of libdrmaa alternatives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/slurm-drmaa/+bug/1110569/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs