You are not logged in.

#1 2012-10-11 09:07:11

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

Errors upgrading ghc/haskell/xmonad

Everytime i upgrade ghc/haskell/xmonad, it rains errors on me.
I don't know what they mean, and everything works just fine afterwards.
So what's this all about?

sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace vdpau-video with extra/libva-vdpau-driver? [Y/n] 
warning: vifm: local (0.7.3-1) is newer than community (0.7.3a-1)
resolving dependencies...
warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
looking for inter-conflicts...

Targets (30): dnsutils-9.9.2-1  flashplugin-11.2.202.243-1  gcc-libs-multilib-4.7.2-1
              gcc-multilib-4.7.2-1  ghc-7.6.1-1  haskell-extensible-exceptions-0.1.1.4-3
              haskell-mtl-2.1.2-1  haskell-random-1.0.1.1-3  haskell-syb-0.3.7-1
              haskell-transformers-0.3.0.0-2  haskell-utf8-string-0.3.7-3  haskell-x11-1.6.0.2-1
              haskell-x11-xft-0.3.1-5  iputils-20101006-7  lib32-dbus-core-1.6.8-1
              lib32-gcc-libs-4.7.2-1  lib32-gnutls-3.1.2-1  lib32-libtasn1-2.13-2
              lib32-libtiff-4.0.3-1  lib32-libxcb-1.9-1  libltdl-2.4.2-7  libtool-2.4.2-7
              libva-1.1.0-2  libva-vdpau-driver-0.7.4-1  libxcb-1.9-1  linux-api-headers-3.5.5-1
              vdpau-video-0.7.3-3 [removal]  xcb-proto-1.8-1  xmonad-0.10-5  xmonad-contrib-0.10-5

Total Installed Size:   1009.63 MiB
Net Upgrade Size:       17.83 MiB

Proceed with installation? [Y/n] 
(29/29) checking package integrity                          [################################] 100%
(29/29) loading package files                               [################################] 100%
(29/29) checking for file conflicts                         [################################] 100%
(30/30) checking available disk space                       [################################] 100%
(1/1) removing vdpau-video                                  [################################] 100%
( 1/29) upgrading dnsutils                                  [################################] 100%
( 2/29) upgrading flashplugin                               [################################] 100%
( 3/29) upgrading lib32-gcc-libs                            [################################] 100%
( 4/29) upgrading gcc-libs-multilib                         [################################] 100%
( 5/29) upgrading gcc-multilib                              [################################] 100%
==> Unregistering cabalized packages...
unregistering syb-0.3.6.1 would break the following packages: xmonad-contrib-0.10 xmonad-0.10 X11-xft-0.3.1 X11-1.6.0 (ignoring)
==> Done.
( 6/29) upgrading ghc                                       [################################] 100%
==> All cabalized packages need to be reinstalled now.
==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
ghc-pkg: cannot find package transformers-0.3.0.0
error: command failed to execute correctly
( 7/29) upgrading haskell-transformers                      [################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read ../mtl/mtl.haddock:
   Interface file is of wrong version: ../mtl/mtl.haddock
Skipping this interface.
Warning: Cannot read ../random/random.haddock:
   Interface file is of wrong version: ../random/random.haddock
Skipping this interface.
Warning: Cannot read ../syb/syb.haddock:
   Interface file is of wrong version: ../syb/syb.haddock
Skipping this interface.
Warning: Cannot read ../utf8-string/utf8-string.haddock:
   Interface file is of wrong version: ../utf8-string/utf8-string.haddock
Skipping this interface.
Warning: Cannot read ../X11/X11.haddock:
   Interface file is of wrong version: ../X11/X11.haddock
Skipping this interface.
Warning: Cannot read ../X11-xft/X11-xft.haddock:
   Interface file is of wrong version: ../X11-xft/X11-xft.haddock
Skipping this interface.
ghc-pkg: cannot find package mtl-2.1.1
error: command failed to execute correctly
( 8/29) upgrading haskell-mtl                               [################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read ../random/random.haddock:
   Interface file is of wrong version: ../random/random.haddock
Skipping this interface.
Warning: Cannot read ../syb/syb.haddock:
   Interface file is of wrong version: ../syb/syb.haddock
Skipping this interface.
Warning: Cannot read ../utf8-string/utf8-string.haddock:
   Interface file is of wrong version: ../utf8-string/utf8-string.haddock
Skipping this interface.
Warning: Cannot read ../X11/X11.haddock:
   Interface file is of wrong version: ../X11/X11.haddock
Skipping this interface.
Warning: Cannot read ../X11-xft/X11-xft.haddock:
   Interface file is of wrong version: ../X11-xft/X11-xft.haddock
Skipping this interface.
ghc-pkg: cannot find package random-1.0.1.1
error: command failed to execute correctly
( 9/29) upgrading haskell-random                            [################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read ../syb/syb.haddock:
   Interface file is of wrong version: ../syb/syb.haddock
Skipping this interface.
Warning: Cannot read ../utf8-string/utf8-string.haddock:
   Interface file is of wrong version: ../utf8-string/utf8-string.haddock
Skipping this interface.
Warning: Cannot read ../X11/X11.haddock:
   Interface file is of wrong version: ../X11/X11.haddock
Skipping this interface.
Warning: Cannot read ../X11-xft/X11-xft.haddock:
   Interface file is of wrong version: ../X11-xft/X11-xft.haddock
Skipping this interface.
ghc-pkg: cannot find package syb-0.3.6.1
error: command failed to execute correctly
(10/29) upgrading haskell-syb                               [################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read ../utf8-string/utf8-string.haddock:
   Interface file is of wrong version: ../utf8-string/utf8-string.haddock
Skipping this interface.
Warning: Cannot read ../X11/X11.haddock:
   Interface file is of wrong version: ../X11/X11.haddock
Skipping this interface.
Warning: Cannot read ../X11-xft/X11-xft.haddock:
   Interface file is of wrong version: ../X11-xft/X11-xft.haddock
Skipping this interface.
ghc-pkg: cannot find package utf8-string-0.3.7
error: command failed to execute correctly
(11/29) upgrading haskell-utf8-string                       [################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read ../X11/X11.haddock:
   Interface file is of wrong version: ../X11/X11.haddock
Skipping this interface.
Warning: Cannot read ../X11-xft/X11-xft.haddock:
   Interface file is of wrong version: ../X11-xft/X11-xft.haddock
Skipping this interface.
ghc-pkg: cannot find package X11-1.6.0
error: command failed to execute correctly
(12/29) upgrading haskell-x11                               [################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read ../X11-xft/X11-xft.haddock:
   Interface file is of wrong version: ../X11-xft/X11-xft.haddock
Skipping this interface.
ghc-pkg: cannot find package X11-xft-0.3.1
error: command failed to execute correctly
(13/29) upgrading haskell-x11-xft                           [################################] 100%
Reading package info from stdin ... done.
(14/29) upgrading iputils                                   [################################] 100%
(15/29) upgrading lib32-dbus-core                           [################################] 100%
(16/29) installing lib32-libtasn1                           [################################] 100%
(17/29) upgrading lib32-gnutls                              [################################] 100%
(18/29) upgrading lib32-libtiff                             [################################] 100%
(19/29) upgrading xcb-proto                                 [################################] 100%
(20/29) upgrading libxcb                                    [################################] 100%
(21/29) upgrading lib32-libxcb                              [################################] 100%
(22/29) upgrading libltdl                                   [################################] 100%
(23/29) upgrading libtool                                   [################################] 100%
(24/29) upgrading libva                                     [################################] 100%
New optional dependencies for libva
    libva-intel-driver: back-end for intel cards
    libva-vdpau-driver: vdpau back-end for nvidia
(25/29) upgrading linux-api-headers                         [################################] 100%
(26/29) installing libva-vdpau-driver                       [################################] 100%
(27/29) installing haskell-extensible-exceptions            [################################] 100%
Reading package info from stdin ... done.
ghc-pkg: cannot find package xmonad-0.10
error: command failed to execute correctly
(28/29) upgrading xmonad                                    [################################] 100%
Reading package info from stdin ... done.
xmonad-0.10: Warning: haddock-interfaces: /usr/share/doc/xmonad-0.10/html/xmonad.haddock doesn't exist or isn't a file
xmonad-0.10: Warning: haddock-html: /usr/share/doc/xmonad-0.10/html doesn't exist or isn't a directory
ghc-pkg: cannot find package xmonad-contrib-0.10
error: command failed to execute correctly
(29/29) upgrading xmonad-contrib                            [################################] 100%
Reading package info from stdin ... done.
xmonad-contrib-0.10: Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.10/html/xmonad-contrib.haddock doesn't exist or isn't a file
xmonad-contrib-0.10: Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.10/html doesn't exist or isn't a directory

Offline

#2 2012-10-11 09:17:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Errors upgrading ghc/haskell/xmonad

Please search before posting: solved here https://bbs.archlinux.org/viewtopic.php?id=143284


Closing -- for deletion


Reopened upon appeal.

Last edited by jasonwryan (2012-10-11 17:44:36)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-10-12 09:28:05

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

Re: Errors upgrading ghc/haskell/xmonad

Unfortunately, the other thread doesn't really solve that problem.
Does anybody else witnessed these errors? How do you deal with that?

Offline

#4 2012-10-24 06:31:10

Nisstyre56
Member
From: Canada
Registered: 2010-03-25
Posts: 85

Re: Errors upgrading ghc/haskell/xmonad

As the warning says, you must re-install everything that you installed via cabal/hackage. So that includes XMonad. just do ``cabal install xmonad-contrib'' and it should work afterwards (ASSUMING you installed XMonad from cabal) then do an xmonad --recompile to test it. Do this for every package you have installed from cabal (obviously excluding the XMonad specific instructions).

Last edited by Nisstyre56 (2012-10-24 06:33:39)


In Zen they say: If something is boring after two minutes, try it for four. If still boring, try it for eight, sixteen, thirty-two, and so on. Eventually one discovers that it's not boring at all but very interesting.
~ John Cage

Offline

#5 2014-07-02 10:28:29

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

Re: Errors upgrading ghc/haskell/xmonad

Sorry for the late reply.

I did not install anything via cabal/hackage, but everything with pacman from the official repositories.

As much as i would like the packages in the official repositories to upgrade nicely, i'm beginning to thing maybe i should give the unofficial Arch Haskell repository a try, as suggested by trusktr in the thread linked above and in this anouncement: https://www.archlinux.org/news/managing … h-ghc-782/

Offline

#6 2014-07-02 13:14:16

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Errors upgrading ghc/haskell/xmonad

This has been reported as a necro-bump. Keeping it open as decided in this discussion, https://bbs.archlinux.org/viewtopic.php?id=183657.

MickeyKnox, I have no idea what the cause of your problem could be. I used the same packages and did not get those errors (as best I can remember). There is no harm in trying with unofficial repo and seeing if you get the same error.

As a sanity check, what is the output of pacman -Qs haskell-x11 and the output of ghc-pkg list ?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2014-07-05 19:42:18

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

Re: Errors upgrading ghc/haskell/xmonad

The output of pacman -Qs haskell-x11 is:

local/haskell-x11 1.6.1.1-5
    A Haskell binding to the X11 graphics library.
local/haskell-x11-xft 0.3.1-10
    Bindings to the Xft, X Free Type interface library, and some Xrender parts

and for ghc-pkg list:

/usr/lib/ghc-7.8.2/package.conf.d
   Cabal-1.18.1.3
   X11-1.6.1.1
   X11-xft-0.3.1
   array-0.5.0.0
   base-4.7.0.0
   bin-package-db-0.0.0.0
   binary-0.7.1.0
   bytestring-0.10.4.0
   containers-0.5.5.1
   data-default-0.5.3
   data-default-class-0.0.1
   data-default-instances-base-0.0.1
   data-default-instances-containers-0.0.1
   data-default-instances-dlist-0.0.1
   data-default-instances-old-locale-0.0.1
   deepseq-1.3.0.2
   directory-1.2.1.0
   dlist-0.5
   extensible-exceptions-0.1.1.4
   filepath-1.3.0.2
   ghc-7.8.2
   ghc-prim-0.3.1.0
   haskell2010-1.1.2.0
   haskell98-2.0.0.3
   hoopl-3.10.0.1
   hpc-0.6.0.1
   integer-gmp-0.5.1.0
   mtl-2.1.3.1
   old-locale-1.0.0.6
   old-time-1.1.0.2
   pretty-1.1.1.1
   process-1.2.0.0
   random-1.0.1.1
   rts-1.0
   template-haskell-2.9.0.0
   time-1.4.2
   transformers-0.3.0.0
   unix-2.7.0.1
   utf8-string-0.3.7
   xmonad-0.11
   xmonad-contrib-0.11.2

I have not yet tried the unofficial repository, but i will report back once i did.

Offline

Board footer

Powered by FluxBB