2

I couldn't install the Haskell platform on 14.04

apt-get or synaptic could not install the haskell-platform.

Error message below:

The following packages have unmet dependencies:
haskell-platform :  depends on: libghc-gluraw-dev (>= 1.3.0.0) but it will not be installed
            depends on: libghc-gluraw-dev (< 1.3.0.0+) but it will not be installed
            depends on: libghc-glut-dev (>= 2.4.0.0) but it will not be installed
            depends on: libghc-glut-dev (< 2.4.0.0+) but it will not be installed
            depends on: libghc-opengl-dev (>= 2.8.0.0) but it will not be installed
            depends on: libghc-opengl-dev (< 2.8.0.0+) but it will not be installed

When I try to install the first dependency I follow a process that ends with:

sudo apt-get install libgl-dev

Note: selecting <<libgl1-mesa-dev>> instead of <<libgl1-dev>>
the following packages have unmet dependencies:
libgl1-mesa-dev: depends on: libgl1-mesa-glx (= 10.1.0-4ubuntu5) but 10.1.3-0ubuntu0.1
     it will not be installed

So, what to do now?

6
  • Maybe relevant that my box is a 32bit system.
    – VHMG
    Nov 25, 2014 at 0:09
  • Use backticks "`" instead of quotes and your question looks much better! ;)
    – Fabby
    Nov 25, 2014 at 22:40
  • Do you have any PPAs enabled? Can you provide the output of apt-cache policy libgl1-mesa-glx? Feb 10, 2015 at 1:01
  • @DavidFoerster I am getting the same problem. Could you please help me with it?
    – ajay
    Apr 21, 2015 at 9:54
  • @ajay: If you the same problem, refer to the answers here; otherwise ask a new question. Apr 21, 2015 at 11:34

2 Answers 2

1

This could be because of some conflicts with some PPA.

You could try what is suggested here.

or, alternatively, use

sudo aptitude install haskell-platform

aptitude can offer some more suggestions to resolve dependencies.

0

I manage to install haskell-platform using aptitude to resolve the dependency problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .