On 17 Jul 2007, at 12:28, Jack Howarth wrote:

>     Does anyone know why a user would be having
> problems using fink commander to install the
> current gcc42 package in fink 10.4 stable?
> The user already has the current gcc4 installed
> (it reports as OBSOLETE so I believe it is
> current). However when he tries to install
> gcc42, fink commander can only manage to install
> gcc42-shlibs.
>
> Reading Package Lists...
> Building Dependency Tree...
> The following NEW packages will be installed:
>   gcc42-shlibs
> 0 packages upgraded, 1 newly installed, 0 to remove and 1  not  
> upgraded.
> Need to get 0B/27.6MB of archives. After unpacking 123MB will be used.
> Selecting previously deselected package gcc42-shlibs.
> (Reading database ... 38863 files and directories currently  
> installed.)
> Unpacking gcc42-shlibs (from .../gcc42-
> shlibs_4.1.9999-20070124_darwin-powerpc.deb) ...
> Setting up gcc42-shlibs (4.1.9999-20070124) ...
> Reading Package Lists...
> Building Dependency Tree...
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
>
> Since you only requested a single operation it is extremely likely  
> that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
>
> Sorry, but the following packages have unmet dependencies:
>   gcc42: Depends: gcc42-shlibs (>= 0:4.1.9999-20070124) but
> 4.1.9999-20070124 is to be installed
> E: Sorry, broken packages
>
> He currently has...
>
>  fink list | grep gcc
>         avr-gcc 4.2.0-1 GNU GCC for ATMEL AVR micro controllers
>         broken-gcc      3.3-1   [virtual package representing a
> broken gcc compiler]
> *i*     fink-buildlock-gcc42-4.2.0-1001 2007.07.17-10.51.01
> Package compile-time lockfile
>         gcc2    2.95.2-0        [virtual package representing the
> gcc 2.95.2 compiler]
>         gcc2.95 2.95.2-0        [virtual package representing the
> gcc 2.95.2 compiler]
> i      gcc3.1  3.1-1256        [virtual package representing the gcc
> 3.1 compiler]
> i      gcc3.3  3.3-1819        [virtual package representing the gcc
> 3.3 compiler]
>         gcc4    2:4.1.99999-20060617    OBSOLETE - GNU Compiler
> Collection Version 4
>         gcc4-shlibs     2:4.1.99999-20060617    Shared libraries for
> gcc4
> i      gcc4.0  4.0.1-5367      [virtual package representing the gcc
> 4.0.1 compiler]
>         gcc42   4.2.0-1001      GNU Compiler Collection Version 4.2
> (i)     gcc42-shlibs    4.2.0-1001    Shared libraries for gcc4
>         m681x-gcc     3.3.6-3 For Motorola 68hc11/12 micro
> controllers
>         mingw-gcc       4.1.0-2 GNU GCC for MinGW
> i      odcctools       622.3-20060925  Darwin cctools build system/
> code base to support gcc4
>
> ...installed. Any ideas?
>                 Jack
I have no idea about how fink commander works, but :
The msg "Sorry, but the following packages have unmet dependencies:
   gcc42: Depends: gcc42-shlibs (>= 0:4.1.9999-20070124) but
  4.1.9999-20070124 is to be installed"
shows that he is not trying to install the current version,
and that he has gcc42-0:4.1.9999-20070124 at least half installed.
(maybe fink commander gets confused with epoch:0 ?)

Further
>         gcc42   4.2.0-1001      GNU Compiler Collection Version 4.2
> (i)     gcc42-shlibs    4.2.0-1001    Shared libraries for gcc4
shows that gcc42-0:4.1.9999-20070124 is not fully installed...

So he has from previously some install of gcc42-0:4.1.9999-20070124
where for some reason the "setting up.." did not complete.
I guess that "dpkg --purge gcc42" (with appropriate force if needed)
would repair things...

JF Mertens

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to