[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367674: gfortran-4.1: uninstallable on Sid due to dependency problems





On 5/26/06, Matthias Klose <doko@cs.tu-berlin.de> wrote:
works for me; please make sure that your mirror is up to date, else
try to find out why it's uninstallable. dselect might help to find
that out.


There is some problem which I am not able to pin point. I am using uptodate mirrors. I tried using dselect with the --debug option but it wants to upgrade 631 packages - which I do not want to do.

After some fiddling around I was able to install gfortran-4.1. But I am now unable to install gfortran.

$dpkg -l gfortran\* | grep ^ii
ii  gfortran-4.0-doc 4.0.3-3        Documentation for the GNU Fortran compiler (
ii  gfortran-4.1     4.1.0-4        The GNU Fortran 95 compiler
ii  gfortran-doc     4.0.3-4        Documentation for the GNU Fortran compiler (

Now if I do

$sudo apt-get install gfortran
Reading package lists... Done
Building dependency tree... Done
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:

The following packages have unmet dependencies:
  gfortran: Depends: gfortran-4.0 (>= 4.0.3-1) but it is not going to be installed
E: Broken packages


However, If I install gfortran-4.0 first then gfortran can be installed.

$sudo apt-get install gfortran-4.0
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libgfortran0-dev
The following packages will be REMOVED:
  gfortran-4.1 libgfortran1-dev
The following NEW packages will be installed:
  gfortran-4.0 libgfortran0-dev
0 upgraded, 2 newly installed, 2 to remove and 633 not upgraded.
Need to get 0B/2519kB of archives.
After unpacking 1315kB disk space will be freed.
Do you want to continue [Y/n]?
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
(Reading database ... 294425 files and directories currently installed.)
Removing gfortran-4.1 ...
Removing libgfortran1-dev ...
Selecting previously deselected package libgfortran0-dev.
(Reading database ... 294408 files and directories currently installed.)
Unpacking libgfortran0-dev (from .../libgfortran0-dev_4.0.3-3_i386.deb) ...
Selecting previously deselected package gfortran-4.0.
Unpacking gfortran-4.0 (from .../gfortran-4.0_4.0.3-3_i386.deb) ...
Setting up libgfortran0-dev (4.0.3-3) ...
Setting up gfortran-4.0 (4.0.3-3) ...


After this I am able to install gfortran

$sudo apt-get install gfortran
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  gfortran
0 upgraded, 1 newly installed, 0 to remove and 633 not upgraded.
Need to get 0B/1148B of archives.
After unpacking 8192B of additional disk space will be used.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Selecting previously deselected package gfortran.
(Reading database ... 294426 files and directories currently installed.)
Unpacking gfortran (from .../gfortran_4%3a4.0.3-4_i386.deb) ...
Setting up gfortran (4.0.3-4) ...

$sudo dpkg -l gfortran\* | grep ^ii
ii  gfortran         4.0.3-4        The GNU Fortran 95 compiler
ii  gfortran-4.0     4.0.3-3        The GNU Fortran 95 compiler
ii  gfortran-4.0-doc 4.0.3-3        Documentation for the GNU Fortran compiler (
ii  gfortran-doc     4.0.3-4        Documentation for the GNU Fortran compiler (


I know that gfortran is a dummy package that can safely be removed. But I think there is a dependency problem somewhere.

Also, is the conflict between gfortran-4.0 and gfortran-4.1 normal? I am asking this because, I can have gcc-4.0 and gcc-4.1 where as I cannot have gfortran-4.0 and gfortran-4.1 simulataneously?

thanks
raju

--
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about
Reply to: