Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm attempting to install Haskell but I am running into the following error:

ash~$ sudo apt-get install haskell-platform
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.
 haskell-platform : Depends: libghc-glut-dev (>= 2.1.2.1) but it is not going to be installed
                    Depends: libghc-glut-dev (< 2.1.2.1+) but it is not going to be installed
                    Depends: libghc-opengl-dev (>= 2.2.3.1) but it is not going to be installed
                    Depends: libghc-opengl-dev (< 2.2.3.1+) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Is there a way to resolve this or an up-to-date PPA that's I can use?

Thanks

share|improve this question
    
Do you have a fresh install of 12.04.2 (not updated from 12.04.1 to 12.04.2)? –  Salem Mar 18 '13 at 11:03
    
I think this machine started on 12.04 and has since been updated to 12.04.1 and then 12.04.2 –  Ash Mar 18 '13 at 11:06
    
Can you provide the output of sudo apt-get -o Debug::pkgProblemResolver=1 install haskell-platform ? Note: it should be quite long, so use paste.ubuntu.com or pastebinit. Also have you already tried sudo apt-get update && sudo apt-get install -f? –  Salem Mar 18 '13 at 11:14
    
did you try sudo apt-get -f install haskell-platform ? before I would sudo apt-get clean (clean the /var/cache/apt/archives directory, but not the packages installed...) –  riimzzai Mar 18 '13 at 11:39
    
sudo apt-get -o Debug::pkgProblemResolver=1 install haskell-platform output - paste.ubuntu.com/5625136 –  Ash Mar 18 '13 at 13:02
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.