On 11/02/2012 04:45 PM, JC Lawrence wrote:
> The current version of gfortran in 12.0 LTS depends on gfortran-4.6, which in 
> turn depends on GCC-4.6 (=, not >=), which can't be satisfied as the only GCC 
> release in 12.0 is 4.6.1-2.  Is this likely to be resolved soon?  I need 
> gfortran and am having the very devil of a time building GCC and thus 
> gfortran from sources (arghh!).
>
> # apt-get install gfortran
> Reading package lists... Done
> Building dependency tree       
> Reading state information... 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.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  gfortran : Depends: gfortran-4.6 (>= 4.6.1-1) but it is not going to be 
> installed
>
> # apt-get install gfortran-4.6
> Reading package lists... Done
> Building dependency tree       
> Reading state information... 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.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  gfortran-4.6 : Depends: gcc-4.6-base (= 4.6.1-9ubuntu3) but 4.6.3-1ubuntu5 
> is to be installed
>                 Depends: gcc-4.6 (= 4.6.1-9ubuntu3) but 4.6.3-1ubuntu5 is to 
> be installed
>                 Depends: libgfortran3 (>= 4.6.1-9ubuntu3) but it is not going 
> to be installed
> E: Unable to correct problems, you have held broken packages.
>
> # apt-cache show gcc
> Package: gcc
> Priority: optional
> Section: devel
> Installed-Size: 64
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
> Original-Maintainer: Debian GCC Maintainers <debian-...@lists.debian.org>
> Architecture: amd64
> Source: gcc-defaults (1.107ubuntu5)
> Version: 4:4.6.1-2ubuntu5
> Provides: c-compiler
> Depends: cpp (>= 4:4.6.1-2ubuntu5), gcc-4.6 (>= 4.6.1-1)
> Recommends: libc6-dev | libc-dev
> Suggests: gcc-multilib, make, manpages-dev, autoconf, automake1.9, libtool, 
> flex, bison, gdb, gcc-docConflicts: gcc-doc (<< 1:2.95.3)
> Filename: pool/main/g/gcc-defaults/gcc_4.6.1-2ubuntu5_amd64.deb
> Size: 5110
> MD5sum: 3c7599c5c4ff882a1914af6b9bb9b4d1
> SHA1: 26f17c03232d437703276e7a8929c410aaa8f215
> SHA256: 2284f6c7ca58020dc27809a77df2faa4afa3798caa16d9a9e13d48ca58e4f8a2
> Description-en: GNU C compiler
>  This is the GNU C compiler, a fairly portable optimizing compiler for C.
>  .
>  This is a dependency package providing the default GNU C compiler.
> Description-md5: c7efd71c7c651a9ac8b2adf36b137790
> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> Build-Essential: yes
> Origin: Ubuntu
> Supported: 18m
> Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, 
> xubuntu-desktop, mythbuntu-backend-master, mythbuntu-backend-slave, 
> mythbuntu-desktop, mythbuntu-frontend
>
> -- JCL
It seems like you're not using an up-to-date mirror.  From my precise
system:
apt-cache show gfortran | grep Ver
Version: 4:4.6.3-1ubuntu5

apt-cache show gfortran | grep Depen
Depends: cpp (>= 4:4.6.3-1ubuntu5), gcc (>= 4:4.6.3-1ubuntu5),
gfortran-4.6 (>= 4.6.3-1~)

Micah

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to