You are not logged in.
Hi, for some reason I cannot use the haskell repository and install haskell packages properly.
The following is an example log from pacman:
sudo pacman -Sy ghc haskell-json
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
haskell-core is up to date
resolving dependencies...
looking for inter-conflicts...
Packages (7):
Name New Version Net Change
haskell-core/haskell-mtl 2.1.2-27 3.46 MiB
haskell-core/haskell-parsec 3.1.3-29 9.18 MiB
haskell-core/haskell-syb 0.4.1-2 3.48 MiB
haskell-core/haskell-text 0.11.3.1-1 30.30 MiB
haskell-core/haskell-transformers 0.3.0.0-27 10.71 MiB
extra/ghc 7.6.3-1 735.76 MiB
haskell-core/haskell-json 0.7-8 6.92 MiB
Total Installed Size: 799.82 MiB
:: Proceed with installation? [Y/n]
(7/7) checking keys in keyring [###################################################################################] 100%
(7/7) checking package integrity [###################################################################################] 100%
(7/7) loading package files [###################################################################################] 100%
(7/7) checking for file conflicts [###################################################################################] 100%
(7/7) checking available disk space [###################################################################################] 100%
(1/7) installing ghc [###################################################################################] 100%
(2/7) installing haskell-transformers [###################################################################################] 100%
Reading package info from stdin ... done.
(3/7) installing haskell-mtl [###################################################################################] 100%
WARNING: cache is out of date: /usr/lib/ghc-7.6.3/package.conf.d/package.cache
use 'ghc-pkg recache' to fix.
Reading package info from stdin ... done.
(4/7) installing haskell-text [###################################################################################] 100%
Reading package info from stdin ... done.
/tmp/alpm_cR5zyf/.INSTALL: line 8: /usr/share/doc/ghc/html/libraries/arch-gen-contents-index: No such file or directory
error: command failed to execute correctly
(5/7) installing haskell-parsec [###################################################################################] 100%
Reading package info from stdin ... done.
/tmp/alpm_Yob1yO/.INSTALL: line 8: /usr/share/doc/ghc/html/libraries/arch-gen-contents-index: No such file or directory
error: command failed to execute correctly
(6/7) installing haskell-syb [###################################################################################] 100%
Reading package info from stdin ... done.
/tmp/alpm_fzcs5n/.INSTALL: line 8: /usr/share/doc/ghc/html/libraries/arch-gen-contents-index: No such file or directory
error: command failed to execute correctly
(7/7) installing haskell-json [###################################################################################] 100%
Reading package info from stdin ... done.
/tmp/alpm_CCZe4X/.INSTALL: line 8: /usr/share/doc/ghc/html/libraries/arch-gen-contents-index: No such file or directory
error: command failed to execute correctlyIt appears, as if ghc-pkg has problems. I tried uninstalling everything related to haskell and reinstalling everything from scratch, but that doesn't help. Any ideas?
Last edited by janoliver (2013-12-04 20:23:35)
Offline
did you try pacman suggestion?
ezik
Offline
Don't install things with -Sy
What repositories are these? They clearly are not the official repos
All the best,
-HG
Offline
What repositories are these?
haskell-core: https://wiki.archlinux.org/index.php/Ha … Guidelines
https://wiki.archlinux.org/index.php/Un … skell-core
Offline
Not an Installation issue. moving to NC...
Offline
You're using a mix of packages from haskell-core and the Arch repos. ghc from haskell-core has /usr/share/doc/ghc/html/libraries/arch-gen-contents-index.
Offline
You're using a mix of packages from haskell-core and the Arch repos. ghc from haskell-core has /usr/share/doc/ghc/html/libraries/arch-gen-contents-index.
Hi skottish, thank you. I did use the wrong ghc, selecting the one from haskell-core solved it.
Offline