You are not logged in.

#26 2017-09-25 21:29:59

olig1905
Member
Registered: 2012-01-21
Posts: 32

Re: [Solved] Xmonad error after update

I had already opened one and jasonwryan closed it and referred me here and another thread. I will try stack and post my results there (https://bbs.archlinux.org/viewtopic.php?pid=1738234). Thanks for your help at debugging. smile

Offline

#27 2017-09-25 22:08:03

rata
Member
Registered: 2006-04-10
Posts: 46

Re: [Solved] Xmonad error after update

olig1905 wrote:

I had already opened one and jasonwryan closed it and referred me here and another thread. I will try stack and post my results there (https://bbs.archlinux.org/viewtopic.php?pid=1738234). Thanks for your help at debugging. smile

I gather from https://bbs.archlinux.org/viewtopic.php … 4#p1738244 that stack did the trick indeed? I'm glad that helped with your problem. Forget about cabal-install, that tool has always been sort of broken.

Offline

#28 2017-10-03 13:21:34

kyezil
Member
Registered: 2017-10-03
Posts: 3

Re: [Solved] Xmonad error after update

I'm having the exact same problem but on a fresh install of xmonad and xmonad-contrib

My xmonad.hs is from https://wiki.haskell.org/Xmonad/Using_x … Config.Kde

$ ghci xmonad.hs
GHCi, version 8.2.1: http://www.haskell.org/ghc/  :? for help
[1 of 1] Compiling Main             ( xmonad.hs, interpreted )

xmonad.hs:2:1: error:
    Could not find module ‘XMonad.Config.Kde’
    Perhaps you meant XMonad.Config (from xmonad-0.13)
    Use -v to see a list of the files searched for.
  |
2 | import XMonad.Config.Kde
  | ^^^^^^^^^^^^^^^^^^^^^^^^
Failed, 0 modules loaded.

I have both xmonad and xmonad-contrib installed via pacman

$ ghc-pkg list | grep xmonad
    xmonad-0.13
    xmonad-contrib-0.13

Output of ghci -package xmonad -v

$ ghci -package xmonad -v
Glasgow Haskell Compiler, Version 8.2.1, stage 2 booted by GHC version 8.2.1
Using binary package database: /usr/lib/ghc-8.2.1/package.conf.d/package.cache
package flags [-package xmonad{package xmonad True ([])}]
loading package database /usr/lib/ghc-8.2.1/package.conf.d
package xmonad-contrib-0.13-F6w2BUl1QKWHqJMi0GMBoA is unusable due to shadowed dependencies:
  xmonad-0.13-BD2NHZ6woCmKiljsMS6jfz
wired-in package ghc-prim mapped to ghc-prim-0.5.1.0
wired-in package integer-gmp mapped to integer-gmp-1.0.1.0
wired-in package base mapped to base-4.10.0.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.12.0.0
wired-in package ghc mapped to ghc-8.2.1
wired-in package dph-seq not found.
wired-in package dph-par not found.
*** Parser [source]:
!!! Parser [source]: finished in 0.11 milliseconds, allocated 0.130 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.20 milliseconds, allocated 0.111 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.95 milliseconds, allocated 1.497 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.13 milliseconds, allocated 0.132 megabytes
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/integer-gmp-1.0.1.0 --print-file-name libgmp.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/integer-gmp-1.0.1.0 --print-file-name liblibgmp.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name librt.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name liblibrt.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name libutil.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name liblibutil.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name libdl.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name liblibdl.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name libpthread.so
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -B/usr/lib/ghc-8.2.1/unix-2.7.2.2 --print-file-name liblibpthread.so
*** Parser [source]:
!!! Parser [source]: finished in 0.07 milliseconds, allocated 0.054 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.11 milliseconds, allocated 0.066 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.04 milliseconds, allocated 0.019 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.09 milliseconds, allocated 0.084 megabytes
*** Parser [source]:
!!! Parser [source]: finished in 0.20 milliseconds, allocated 0.159 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.14 milliseconds, allocated 0.084 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.05 milliseconds, allocated 0.023 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.14 milliseconds, allocated 0.101 megabytes
Prelude> 
*** Deleting temp files:
Deleting: 
*** Deleting temp dirs:
Deleting: 

I think the problem comes from this line:

package xmonad-contrib-0.13-F6w2BUl1QKWHqJMi0GMBoA is unusable due to shadowed dependencies:
  xmonad-0.13-BD2NHZ6woCmKiljsMS6jfz

Edit:

installing and using stack,  "stack ghci xmonad.hs" runs without problems.
Any idea to solve it without using stack ? I don't get why it doesn't work the simple way....

Last edited by kyezil (2017-10-03 13:57:01)

Offline

#29 2017-10-03 15:35:26

rata
Member
Registered: 2006-04-10
Posts: 46

Re: [Solved] Xmonad error after update

That's not the exact same problem, but anyway. Your problem is maybe cabal? Try from your home directory

mv .cabal cabal
ghc-pkg recache
ghci -package xmonad -v

and look at the output of ghci to see if xmonad is still shadowed. If it's not, then you can safely

rm -rf cabal

Otherwise, post the full output of

ghc-pkg check

and

ghc-pkg list

Offline

#30 2017-10-03 17:35:23

ilikerackmounts
Member
Registered: 2017-10-03
Posts: 5

Re: [Solved] Xmonad error after update

I would like to add I'm also having this issue after updating.

Offline

#31 2017-10-03 18:57:26

kyezil
Member
Registered: 2017-10-03
Posts: 3

Re: [Solved] Xmonad error after update

Thanks for your help rata.

Actually, I'm not using cabal, it's not even installed.
After recache xmonad is still shadowed.

Output of ghc-pkg check

Warning: haddock-interfaces: /usr/share/doc/xmonad/html/xmonad.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/xmonad/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib/html/xmonad-contrib.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/xmonad-contrib/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-setlocale/html/setlocale.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-setlocale/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-old-time/html/old-time.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-old-time/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-extensible-exceptions/html/extensible-exceptions.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-extensible-exceptions/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-xml-types/html/xml-types.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-xml-types/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/ghci-8.2.1/ghci.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/ghci-8.2.1 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-attoparsec/html/attoparsec.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-attoparsec/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-hinotify/html/hinotify.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-hinotify/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/hpc-0.6.0.3/hpc.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/hpc-0.6.0.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-data-default-class/html/data-default-class.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-data-default-class/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/containers-0.5.10.2/containers.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/containers-0.5.10.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/binary-0.8.5.1/binary.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/binary-0.8.5.1 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/ghc-prim-0.5.1.0/ghc-prim.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/ghc-prim-0.5.1.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-stm/html/stm.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-stm/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/hoopl-3.10.2.2/hoopl.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/hoopl-3.10.2.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-regex-compat/html/regex-compat.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-regex-compat/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-async/html/async.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-async/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-regex-posix/html/regex-posix.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-regex-posix/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/integer-gmp-1.0.1.0/integer-gmp.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/integer-gmp-1.0.1.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-random/html/random.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-random/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-dbus/html/dbus.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-dbus/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/ghc-compact-0.1.0.0/ghc-compact.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/ghc-compact-0.1.0.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/terminfo-0.4.1.0/terminfo.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/terminfo-0.4.1.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-dlist/html/dlist.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-dlist/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-primitive/html/primitive.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-primitive/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-parsec/html/parsec.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-parsec/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-data-default-instances-containers/html/data-default-instances-containers.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-data-default-instances-containers/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/time-1.8.0.2/time.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/time-1.8.0.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/array-0.5.2.0/array.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/array-0.5.2.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-data-default-instances-dlist/html/data-default-instances-dlist.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-data-default-instances-dlist/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-x11-xft/html/X11-xft.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-x11-xft/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-utf8-string/html/utf8-string.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-utf8-string/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-vector/html/vector.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-vector/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-data-default-instances-old-locale/html/data-default-instances-old-locale.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-data-default-instances-old-locale/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/filepath-1.4.1.2/filepath.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/filepath-1.4.1.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/base-4.10.0.0/base.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/base-4.10.0.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/deepseq-1.4.3.0/deepseq.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/deepseq-1.4.3.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-regex-base/html/regex-base.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-regex-base/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/pretty-1.1.3.3/pretty.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/pretty-1.1.3.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/unix-2.7.2.2/unix.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/unix-2.7.2.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-cereal/html/cereal.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-cereal/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-scientific/html/scientific.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-scientific/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-old-locale/html/old-locale.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-old-locale/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/transformers.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/transformers-0.5.2.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/bytestring-0.10.8.2/bytestring.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/bytestring-0.10.8.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-network/html/network.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-network/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-http/html/HTTP.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-http/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/ghc-boot-8.2.1/ghc-boot.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/ghc-boot-8.2.1 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-text/html/text.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-text/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-hashable/html/hashable.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-hashable/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-mtl/html/mtl.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-mtl/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/ghc-boot-th-8.2.1/ghc-boot-th.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/ghc-boot-th-8.2.1 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-integer-logarithms/html/integer-logarithms.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-integer-logarithms/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/process-1.6.1.0/process.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/process-1.6.1.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-data-default/html/data-default.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-data-default/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-network-uri/html/network-uri.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-network-uri/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-x11/html/X11.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-x11/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/directory-1.3.0.2/directory.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/directory-1.3.0.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/haskeline.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/template-haskell-2.12.0.0/template-haskell.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/template-haskell-2.12.0.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-libxml-sax/html/libxml-sax.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-libxml-sax/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/ghc-8.2.1/ghc.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/ghc-8.2.1 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/xhtml.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc/html/libraries/xhtml-3000.2.2 doesn't exist or isn't a directory

And ghc-pkg list

/usr/lib/ghc-8.2.1/package.conf.d
    HTTP-4000.3.7
    X11-1.8
    X11-xft-0.3.1
    array-0.5.2.0
    async-2.1.1.1
    attoparsec-0.13.2.0
    base-4.10.0.0
    binary-0.8.5.1
    bytestring-0.10.8.2
    cereal-0.5.4.0
    containers-0.5.10.2
    data-default-0.7.1.1
    data-default-class-0.1.2.0
    data-default-instances-containers-0.0.1
    data-default-instances-dlist-0.0.1
    data-default-instances-old-locale-0.0.1
    dbus-0.10.13
    deepseq-1.4.3.0
    directory-1.3.0.2
    dlist-0.8.0.3
    extensible-exceptions-0.1.1.4
    filepath-1.4.1.2
    ghc-8.2.1
    ghc-boot-8.2.1
    ghc-boot-th-8.2.1
    ghc-compact-0.1.0.0
    ghc-prim-0.5.1.0
    ghci-8.2.1
    hashable-1.2.6.1
    haskeline-0.7.4.0
    hinotify-0.3.9
    hoopl-3.10.2.2
    hpc-0.6.0.3
    integer-gmp-1.0.1.0
    integer-logarithms-1.0.2
    libmpd-0.9.0.7
    libxml-sax-0.7.5
    mtl-2.2.1
    network-2.6.3.2
    network-uri-2.6.1.0
    old-locale-1.0.0.7
    old-time-1.1.0.3
    parsec-3.1.11
    pretty-1.1.3.3
    primitive-0.6.2.0
    process-1.6.1.0
    random-1.1
    regex-base-0.93.2
    regex-compat-0.95.1
    regex-posix-0.95.2
    rts-1.0
    scientific-0.3.5.2
    setlocale-1.0.0.5
    stm-2.4.4.1
    template-haskell-2.12.0.0
    terminfo-0.4.1.0
    text-1.2.2.2
    time-1.8.0.2
    transformers-0.5.2.0
    unix-2.7.2.2
    utf8-string-1.0.1.1
    vector-0.12.0.1
    xhtml-3000.2.2
    xml-types-0.3.6
    xmonad-0.13
    xmonad-contrib-0.13
/home/louis/.ghc/x86_64-linux-8.2.1/package.conf.d
    (no packages)

Offline

#32 2017-10-04 07:30:11

seth
Member
Registered: 2012-09-03
Posts: 51,679

Re: [Solved] Xmonad error after update

Sorry, but this was todays random xkcd: https://xkcd.com/1312/
tongue

Offline

#33 2017-10-04 08:09:58

arvalas
Member
Registered: 2017-10-04
Posts: 1

Re: [Solved] Xmonad error after update

after running pacman -Syu xmonad-contrib was updated. then, i  recompiled xmonad and everything's fine

Offline

#34 2017-10-08 18:32:28

kyezil
Member
Registered: 2017-10-03
Posts: 3

Re: [Solved] Xmonad error after update

Same as @arvalas, now with xmonad-contrib (0.13-7) and xmonad (0.13-9). Just works smile

Offline

#35 2017-10-25 23:41:36

sylvainf
Member
Registered: 2017-10-25
Posts: 1

Re: [Solved] Xmonad error after update

I had the same problem and fixed it without reinstalling anything.

I just did (as root):

run-parts --regex="\.sh$"  /usr/share/haskell/register

Each .sh script in this directory uses ghc-pkg to update the database of packages. Now

xmonad --recompile

works without error.

Offline

Board footer

Powered by FluxBB