I looked over the bug 908616 that you filed. Its a known issue that if the user points switcher at something that then gets uninstalled, it will break...and arguably, it probably should. Otherwise the user may unknowingly run with the wrong stuff.
The system level default setting is another question. Can you double check that this also gets messed up on an uninstall? After looking over the package install/uninstall lib, I think you are correct. I believe switcher sets the MPI default during the configurator step. This step does not get rerun if all that is done is a package uninstall. Right now, configurator only gets rerun if something actually gets installed. The fix you outline should work for LAM...but you'd have to apply it to MPICH also...and any other set of switcher selected packages that wind up in this boat. We'll probably need to modify the lib in some way. -- John On Tue, 2004-03-02 at 20:07, Bernard Li wrote: > I am looking at the bug I submitted today: > > https://sourceforge.net/tracker/?func=detail&atid=109368&aid=908616&grou > p_id=9368 > > Potentially a fix (for instance with removing LAM) would be: > > 1) run switcher mpi --list to find out what mpi implementations are > remaining > 2) set the first one on the list to be the new systems/user default > 3) if the list is empty, remove the mpi tag entirely (this might be bad > if the package installation doesn't set up the switcher tag if it > doesn't exist...) > > Does this sound reasonable? If so then I might assign myself this item > and add some logic to the uninstall scripts. > > Thanks, > > Bernard > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > Oscar-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-devel ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Oscar-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-devel
