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?

Fabby
  • 34,259
VHMG
  • 71

2 Answers2

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.

VHMG
  • 71