You are not logged in.

#1 2011-03-11 13:28:53

w1ntermute
Member
Registered: 2009-06-28
Posts: 146

Haskell upgrade errors

Hi,

I got these errors from various Haskell packages while updating my system yesterday:

( 3/15) installing 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 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.
Warning: Cannot read xmonad-contrib/xmonad-contrib.haddock:
   Interface file is of wrong version: xmonad-contrib/xmonad-contrib.haddock
Skipping this interface.
ghc-pkg: cannot find package mtl-1.1.0.2
error: command failed to execute correctly
( 4/15) upgrading haskell-mtl                                          [########################################] 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.
Warning: Cannot read xmonad-contrib/xmonad-contrib.haddock:
   Interface file is of wrong version: xmonad-contrib/xmonad-contrib.haddock
Skipping this interface.
ghc-pkg: cannot find package utf8-string-0.3.6
error: command failed to execute correctly
( 5/15) 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.
Warning: Cannot read xmonad-contrib/xmonad-contrib.haddock:
   Interface file is of wrong version: xmonad-contrib/xmonad-contrib.haddock
Skipping this interface.
( 6/15) installing haskell-syb                                         [########################################] 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.
Warning: Cannot read xmonad-contrib/xmonad-contrib.haddock:
   Interface file is of wrong version: xmonad-contrib/xmonad-contrib.haddock
Skipping this interface.
ghc-pkg: cannot find package X11-1.5.0.0
error: command failed to execute correctly
( 7/15) 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.
Warning: Cannot read xmonad-contrib/xmonad-contrib.haddock:
   Interface file is of wrong version: xmonad-contrib/xmonad-contrib.haddock
Skipping this interface.
ghc-pkg: cannot find package X11-xft-0.3
error: command failed to execute correctly
( 8/15) upgrading haskell-x11-xft                                      [########################################] 100%
Reading package info from stdin ... done.
Warning: Cannot read xmonad-contrib/xmonad-contrib.haddock:
   Interface file is of wrong version: xmonad-contrib/xmonad-contrib.haddock
Skipping this interface.

Is this something I need to worry about? If so, how do I fix it?

Thanks!

Last edited by w1ntermute (2011-03-11 13:29:14)

Offline

#2 2011-03-11 14:34:01

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Re: Haskell upgrade errors

I'm not sure, but they appear to be due to the order of the package upgrades since a lot of the errors are complaining about packages that are next in the pacman's queue.

Offline

#3 2011-03-11 16:55:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Haskell upgrade errors

File a bug report if it hasn't been done.

Offline

#4 2011-03-11 18:16:22

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Haskell upgrade errors

I had pretty much the same errors this morning and kept messing around installing the packages it was complaining about and such. I finally got it fixed with no errors using:

# pacman -Sy haskell-containers haskell-directory haskell-unix ghc haskell-mtl haskell-utf8-string xmonad

"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#5 2011-03-11 18:25:34

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Haskell upgrade errors

all the packages need to updated at once iirc  then nothing fails

Offline

#6 2011-03-11 20:40:16

owain
Member
Registered: 2009-08-24
Posts: 251

Re: Haskell upgrade errors

I encountered a similar problem today, which seems to have been the result of conflicts caused by the unofficial [haskell] repository.  Removing this from /etc/pacman.conf, then removing and reinstalling packages, solved it.

Offline

Board footer

Powered by FluxBB