Instructions on navigating the current pkgs issues.

Hi, I am wondering if someone can point me to instructions that might allow me to navigate the current issues with ghc-related pkgs? Basically, when I type pacman -Syu, it doesn't work and it would be great if instead what it did was act normal and update my installed packages. I'd provide more detail on my particular error message etc., but I have a totally plain haskell-platform install plust stuff I've installed through cabal and it seems like it's probably obvious to those involved why that no longer works and causes pacman to freak out.
From what little I've gathered reading some posts on this list and elsewhere, there seems to be some disagreement over what goes where and why. It sounds really important and I'm sure that, in its own way, it's fascinating. However, with limited time on my hands, what would be absolutely awesome is if some instructions showed up that told me how to magically move back to a tenable arch installation without becoming deeply entrenched in the "whys" for the changes.
Thanks in advance!

Hello, Sadly I haven't got around the haskell-related dependency issues myself (haskell packages depend on specific versions of other haskell packages, thus pacman complains when you try to update them). I can tell you, though, that ghc 7.4.1 has been moved to [extra] and [haskell], and that the haskell-platform package has been removed as it currently depends on ghc 7.0.x and next release is planned for May 2012. As such, you should remove the haskell-platform related (hence the haskell) packages from your system, update, and then reinstall what you need (starting with ghc and cabal-install). If you need more than basic packages, I suggest you add the [haskell] repo to your pacman.conf (see here [1]) before the [extra] repo and use those packages instead (simply due to broader availability). Hope this helps, Alessandro 1: https://wiki.archlinux.org/index.php/Haskell_package_guidelines -- If God had intended for email to be written in HTML, then the traditional signoff of prayers would be </amen> -- Tom Liston

On Tue, Mar 06, 2012 at 09:26:22PM -0800, Michael Katelman wrote:
Hi,
I am wondering if someone can point me to instructions that might allow me to navigate the current issues with ghc-related pkgs? Basically, when I type pacman -Syu, it doesn't work and it would be great if instead what it did was act normal and update my installed packages. I'd provide more detail on my particular error message etc., but I have a totally plain haskell-platform install plust stuff I've installed through cabal and it seems like it's probably obvious to those involved why that no longer works and causes pacman to freak out.
From what little I've gathered reading some posts on this list and elsewhere, there seems to be some disagreement over what goes where and why. It sounds really important and I'm sure that, in its own way, it's fascinating. However, with limited time on my hands, what would be absolutely awesome is if some instructions showed up that told me how to magically move back to a tenable arch installation without becoming deeply entrenched in the "whys" for the changes.
The easy answer is to first find the list of "top-level haskell packages": # pacman -Qet|grep haskell-|cut -f1 -d ' ' > haskell-pkgs Then remove everything that requires ghc: # pacman -Rncs ghc Now you can re-install. Due to a slight mismatch between [haskell] and [community] you'll need to add 'ghc-haddock' to the list: # pacman -S ghc-haddock $(cat haskell-pkgs) It is *very* likely that there are packages missing in [haskell]-of-today compared to [haskell]-of-yesterweek. Please report any packages you want added to me (github, mailing list, private email, ...) and I'll try to get on adding them. /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
-
Michael Katelman