Viv Kendon wrote:
> I need a bit of advice for how to get round this mess:
>
> fink install openmpi-dev
> Information about 9112 packages read in 1 seconds.
> The following package will be installed or updated:
>   openmpi-dev
> The following additional package will be installed:
>   openmpi
> Do you want to continue? [Y/n]
> Reading buildlock packages...
>          All buildlocks accounted for.
> /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/unstable/main/binary-darwin-i386/devel/openmpi-dev_1.3.2-1002_darwin-i386.deb
>  
> /sw/fink/dists/unstable/main/binary-darwin-i386/devel/openmpi_1.3.2-1002_darwin-i386.deb
> (Reading database ... 66642 files and directories currently 
> installed.)
> Unpacking openmpi-dev (from 
> .../openmpi-dev_1.3.2-1002_darwin-i386.deb) ...
> Selecting previously deselected package openmpi.
> Unpacking openmpi (from 
> .../openmpi_1.3.2-1002_darwin-i386.deb) ...
> /sw/bin/dpkg: error processing 
> /sw/fink/dists/unstable/main/binary-darwin-i386/devel/openmpi_1.3.2-1002_darwin-i386.deb
>  
> (--install):
>   trying to overwrite `/sw/bin/mpicc', which is also in 
> package openmpi-dev
> dpkg: dependency problems prevent configuration of 
> openmpi-dev:
>   openmpi-dev depends on openmpi (= 1.3.2-1002); however:
>    Package openmpi is not installed.
> /sw/bin/dpkg: error processing openmpi-dev (--install):
>   dependency problems - leaving unconfigured
>
> I am actually trying to install fftw-mpi (on a multicore 
> machine) in order to rebuild grace, because the slidy 
> widgets in the interface aren't working (I'll come back on 
> that in a new topic if the rebuild doesn't fix it).  So I 
> tried to install plain fftw instead, which will keep grace 
> happy, but now I can't unintstall the messed up openmpi-dev:
>
>   fink-buildlock-fftw-2.1.5-1014 conflicts with openmpi-dev
>    openmpi-dev (version 1.3.2-1002) is unpacked but not 
> configured.
>
> ...
>
>   fink remove openmpi-dev
> Information about 9112 packages read in 0 seconds.
> WARNING: openmpi-dev is not installed, skipping.
> Nothing removed
>
> This is on an intel macpro only recently set up with the 
> latest dev tools and fink unstable enabled:
>
> Package manager version: 0.29.7
> Distribution version: selfupdate-rsync Wed Jun 24 19:34:03 
> 2009, 10.5, i386
>   gcc --version
> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 
> 5493)
>
> many thanks...
> -- Viv
> ________________________________________________
> Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
> tel: +44 113 343 4864      Physics and Astronomy
> Quantum Information Group    University of Leeds
>
>   
The issue here is that openmpi and openmpi-dev have files that install
in the same directory but only differ by case, e.g. 'mpiCC' vs.
'mpicc'.  On a case-insensitive filesystem these look the same. 

I _think_ you may be able to work around this by using

    sudo dpkg -r openmpi openmpi-dev
    fink install openmpi
    sudo dpkg -i --force-overwrite
/sw/fink/dists/unstable/main/binary-darwin-i386/devel/openmpi-dev_1.3.2-1002_darwin-i386.deb

.
I'm not sure why the upstream developers insist on this behavior, but
it's something that needs to be properly addressed within the Fink
packaging.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to