Re: gfortran-4.6 dependency problems
On 4 Nov 2012, at 15:29, Dmitrijs Ledkovs wrote: > On 2 November 2012 21:45, 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 > > Can you show the output of: > > $ apt-cache policy gfortran $ apt-cache policy gfortran gfortran: Installed: (none) Candidate: 4:4.6.1-2ubuntu5 Version table: 4:4.6.1-2ubuntu5 0 500 http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages Micah's assessment of a stale package repository was accurate (the AWS repositories are quite stale). After moving /etc/apt/sources.list over to the requisite Ubuntu repositories: # apt-get -o Debug::pkgProblemResolver=yes install gfortran-4.6 Reading package lists... Done Building dependency tree Reading state information... Done Starting Starting 2 Investigating (0) gfortran-4.6 [ amd64 ] < none -> 4.6.1-9ubuntu3 > ( devel ) Broken gfortran-4.6:amd64 Depends on gcc-4.6-base [ amd64 ] < 4.6.3-1ubuntu5 > ( libs ) (= 4.6.1-9ubuntu3) Considering gcc-4.6-base:amd64 61 as a solution to gfortran-4.6:amd64 Broken gfortran-4.6:amd64 Depends on gcc-4.6 [ amd64 ] < none -> 4.6.1-9ubuntu3 > ( devel ) (= 4.6.1-9ubuntu3) Considering gcc-4.6:amd64 1 as a solution to gfortran-4.6:amd64 Reinst Failed early because of gcc-4.6-base:amd64 Broken gfortran-4.6:amd64 Depends on libgfortran3 [ amd64 ] < none -> 4.6.1-9ubuntu3 > ( libs ) (>= 4.6.1-9ubuntu3) Considering libgfortran3:amd64 1 as a solution to gfortran-4.6:amd64 Reinst Failed early because of gcc-4.6-base:amd64 Broken gfortran-4.6:amd64 Depends on libc6-dev [ amd64 ] < none -> 2.13-20ubuntu5.2 > ( libdevel ) (>= 2.13-0ubuntu6) Considering libc6-dev:amd64 1 as a solution to gfortran-4.6:amd64 Reinst Failed early because of libc6:amd64 Considering libc6-dev:amd64 1 as a solution to gfortran-4.6:amd64 Broken gfortran-4.6:amd64 Depends on libmpc2 [ amd64 ] < none -> 0.9-3 | 0.9-4 > ( libs ) Considering libmpc2:amd64 1 as a solution to gfortran-4.6:amd64 Re-Instated libmpfr4:amd64 Re-Instated libmpc2:amd64 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 it is not going to be installed Depends: libgfortran3 (>= 4.6.1-9ubuntu3) but it is not going to be installed Depends: libc6-dev (>= 2.13-0ubuntu6) but it is not going to be installed E: Unable to correct problems, you have held broken packages. The long short and tall of which is that sufficient was pushed forward in a prior apt-get upgrade that moving back to get coherence with the current gfortran packages was a PITA. After dropping back to a raw-install, everything is again happy in the house of cross-compilation. Thanks guys! -- JCL -- 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
gfortran-4.6 dependency problems
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 Original-Maintainer: Debian GCC Maintainers 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 -- 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