fiel GHC do universo quebra fiel

1

Eu quero instalar o compilador haskell GHC e alguns outros pacotes dependentes dele. (versão 6.4 ou superior) link

então eu tento:

$ sudo apt-get install ghc
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:
 ghc : Depends: libbsd-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Isso quebra o gerenciador de pacotes. Então eu não posso instalar as bibliotecas que estou usando o GHC para instalar via cabal.

Então eu sudo o apt-get install -f e isso conserta o gerenciador de pacotes, mas eu não consigo instalar libbsd0, libbsd-dev ou ghc.

UPDATE

$ sudo apt-cache policy ghc libbsd-dev
ghc:
  Installed: (none)
  Candidate: 7.6.3-10
  Version table:
     7.6.3-10 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
libbsd-dev:
  Installed: (none)
  Candidate: 0.6.0-2ubuntu1
  Version table:
     0.6.0-2ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

E minha versão:

$ lsb_release -d
Description:    Ubuntu 14.04.1 LTS

O ghc é um pacote suportado ou não? está no universo do pacote, então eu pensei que seria suportado. como posso instalar este pacote suportado ??

    
por j0h 02.01.2015 / 19:05

1 resposta

3

Eu tive o mesmo problema que foi resolvido com o downgrade de minha libbsd0.

sudo apt-get install libbsd0=0.6.0-2ubuntu1

Minha libbsd0 foi versionada em 0.7.0-2 + deb.sury.org ~ trusty + 1, o que é provavelmente incompatível.

    
por Pranav Maneriker 29.07.2015 / 10:37