I am having no luck in getting the following to work with the
old lammpi (7.0.6-1012) package and the new openmpi package in fink
tracking. I am trying to work out a way that a user can start with
the old lammpi, lammpi-shlibs and lammpi-dev installed and upgrade
to lammpi with 'fink install openmpi'. The best I have been able to
do is my latest revision of openmpi in fink trackering which has...
BuildConflicts: lammpi, lammpi-shlibs, lammpi-dev, lammpi2-dev
Conflicts: lammpi, lammpi-shlibs, lammpi-dev, lammpi2-dev
Replaces: lammpi, lammpi-shlibs, lammpi-dev
for the core openmpi package. This results in...
fink -kK rebuild openmpi
Information about 4975 packages read in 1 seconds.
The following package will be rebuilt:
openmpi
The following 3 packages will be removed:
lammpi lammpi-dev lammpi-shlibs
Do you want to continue? [Y/n] y
Fink will attempt to remove 3 packages
when I execute 'fink install openmpi'. The procedure almost works.
All of the lammpi packages are properly deinstalled, the new openmpi
package is built and then installed. However the tail end of the
procedure fails because fink tries to reinstall lammpi-dev after
the newly built openmpi is installed. This error, while fatal to
fink, does appear to leave lammpi properly deinstalled and
openmpi properly installed. It just looks rather amateurish.
Any ideas on how to stop fink from reinstalling a package? The
only clean way I see would require an update to the old lammpi
in stable to make it conflict with openmpi but that won't help
folks who upgrade from the current version of lammpi to openmpi
in stable.
Jack
ps This was exactly the case which I was thinking of when I proposed
a DependsIfInstalled variable for fink which would have allowed me
to force lammpi to be removed or upgraded when openmpi is installed.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel