Ao tentar instalar a plataforma haskell usando sudo apt-get install haskell-platform
, recebo a seguinte mensagem de erro:
The following packages have unmet dependencies:
haskell-platform : Depends: libghc-gluraw-dev (>= 1.3.0.0) but it is not going to be installed
Depends: libghc-gluraw-dev (< 1.3.0.0+) but it is not going to be installed
Depends: libghc-glut-dev (>= 2.4.0.0) but it is not going to be installed
Depends: libghc-glut-dev (< 2.4.0.0+) but it is not going to be installed
Depends: libghc-opengl-dev (>= 2.8.0.0) but it is not going to be installed
Depends: libghc-opengl-dev (< 2.8.0.0+) but it is not going to be installed
Ao tentar fazer o mesmo usando sudo aptitude install haskell-platform
:
The following packages have unmet dependencies:
libgl1-mesa-dri-lts-utopic : Conflicts: libgl1-mesa-dri but 10.2.0~git20140424.fd92346c-0ubuntu0ricotz~saucy is installed.
Conflicts: libgl1-mesa-dri:i386 but 10.2.0~git20140424.fd92346c-0ubuntu0ricotz~saucy is installed.
libgl1-mesa-glx-lts-utopic : Conflicts: libgl1 which is a virtual package.
Conflicts: libgl1:i386 which is a virtual package.
Conflicts: libgl1-mesa-glx but 10.2.0~git20140315.2e361160-0ubuntu0sarvatt~saucy is installed.
Conflicts: libgl1-mesa-glx:i386 but 10.2.0~git20140315.2e361160-0ubuntu0sarvatt~saucy is installed.
libgl1-mesa-glx : Conflicts: libgl1 which is a virtual package.
libgl1-mesa-glx:i386 : Conflicts: libgl1 which is a virtual package.
libglapi-mesa-lts-utopic : Conflicts: libglapi-mesa but 10.2.0~git20140315.2e361160-0ubuntu0sarvatt~saucy is installed.
Conflicts: libglapi-mesa:i386 but 10.2.0~git20140315.2e361160-0ubuntu0sarvatt~saucy is installed.
xserver-xorg : Conflicts: xorg-renamed-package which is a virtual package.
Acho que o libgl1-mesa
é o culpado, mas não tenho certeza. Eu tenho libegl1-mesa
já instalado no meu sistema, mas a versão é 10.2.0~git20140315.2e361160-0ubuntu0sarvatt~saucy
. Parece que o haskell precisa de outra versão, mas não posso remover o já existente, porque há dependências nele.
Aptitude
também propôs várias "soluções", mas elas são bem radicais. Um deles era remover wine
, skype
, xorg
, etc.
Resultado de apt-cache policy haskell-platform
:
haskell-platform:
Installed: (none)
Candidate: 2013.2.0.0.debian3
Version table:
2013.2.0.0.debian3 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Resultado de apt-cache policy libghc-gluraw-dev
:
libghc-gluraw-dev:
Installed: (none)
Candidate: 1.3.0.0-2
Version table:
1.3.0.0-2 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Resultado de sudo apt-get install libghc-gluraw-dev
:
The following packages have unmet dependencies:
libghc-gluraw-dev : Depends: libghc-openglraw-dev-1.3.0.0-3fbff
Depends: libglu1-mesa-dev but it is not going to be installed
Resultado de apt-cache policy libghc-openglraw-dev-1.3.0.0-3fbff
:
libghc-openglraw-dev-1.3.0.0-3fbff:
Installed: (none)
Candidate: (none)
Version table:
Resultado de sudo apt-get install libghc-openglraw-dev-1.3.0.0-3fbff
:
The following packages have unmet dependencies:
libghc-openglraw-dev : Depends: libgl1-mesa-dev or
libgl-dev