Unable to install haskell-hlint

Hey everybody, after upgrading to ghc 7.4 (from the official repos) I can't install haskell-hlint from [haskell]. It seems to require ghc=7.4.1-5 while my ghc is 7.4.1-2. What's wrong? $ sudo pacman -S haskell-hlint resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: haddock: requires ghc=7.4.1-2 :: haskell-ghc-paths: requires ghc=7.4.1-2 :: haskell-xhtml: requires ghc=7.4.1-2 $ pacman -Si haskell-hlint Repository : haskell Name : haskell-hlint Version : 1.8.24-3 URL : http://community.haskell.org/~ndm/hlint/ Licenses : GPL Groups : None Provides : None Depends On : ghc=7.4.1-5 haskell-cpphs=1.13.3-4 haskell-haskell-src-exts=1.11.1-4 haskell-hscolour=1.19-4 haskell-transformers=0.2.2.0-5 haskell-uniplate=1.6.6-4 Optional Deps : None Conflicts With : None Replaces : None ... $ pacman -Qi ghc Name : ghc Version : 7.4.1-2 ...

after upgrading to ghc 7.4 (from the official repos) I can't install haskell-hlint from [haskell]. It seems to require ghc=7.4.1-5 while my ghc is 7.4.1-2.
ghc-7.4.1-5 is in [haskell], while ghc-7.4.1-2 is in [extra] (this version mismatch is due to some package maintenance issues). To fix this, just install ghc (and possibly the other haskell packages you have on your machine) from [haskell], e.g. with: # pacman -S haskell/ghc To always prefer packages from [haskell], just put it before [extra] in your pacman.conf. Regards, Alessandro -- If God had intended for email to be written in HTML, then the traditional signoff of prayers would be </amen> -- Tom Liston

Thanks for your help, but I can't install haskell/ghc because it depends on haddock, which is only in community and depends on ghc=7.4.1-2 Best Regards Philip

I can't install haskell/ghc because it depends on haddock, which is only in community and depends on ghc=7.4.1-2
Just install haskell/ghc-haddock. Alessandro -- If God had intended for email to be written in HTML, then the traditional signoff of prayers would be </amen> -- Tom Liston

Thanks, that worked. It seems a bit counter-intuitive though.
I think it has been named like that because ghc provides the haddock binary, but not the library. But probably Magnus Therning, who managed the merge of [ghc74] and [haskell], can tell you more about this. -- If God had intended for email to be written in HTML, then the traditional signoff of prayers would be </amen> -- Tom Liston

On Wed, Mar 07, 2012 at 01:02:54PM +0100, Alessandro Pezzoni wrote:
Thanks, that worked. It seems a bit counter-intuitive though.
I think it has been named like that because ghc provides the haddock binary, but not the library. But probably Magnus Therning, who managed the merge of [ghc74] and [haskell], can tell you more about this.
Indeed, that is the reason. Adding a proper version of haddock, as haskell-haddock, is in the cards for the near future. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Perl is another example of filling a tiny, short-term need, and then being a real problem in the longer term. -- Alan Kay
participants (3)
-
Alessandro Pezzoni
-
Magnus Therning
-
Philip Müller