[Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-16 Thread Peter Simons
Hi Mathew,

  [My GHC installation breaks] when pacman updates a package using an
  AUR package, which cabal refuses to install because it can break
  other packages (yet the package still gets installed according to
  pacman).

this bug has been fixed about two weeks ago; it should no longer occur
with the current PKGBUILD files. An easy way to get your system back in
shape is to un-install all Haskell packages by running

  pacman -R --cascade ghc

..., then clean up the package database with

  rm -rf /usr/lib/ghc-6.12.3

..., and finally re-install those packages that you'd like to have. The
procedure is a little awkward, I'm afraid, but you won't ever have to do
it again, just this one time. ;-)

Take care,
Peter

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread Mathew de Detrich
This is an example of what happens
Proceed with installation? [Y/n] Y
checking package integrity...
(1/1) checking for file conflicts
 [##] 100%
ghc-pkg: unregistering gio-0.11.1 would break the following packages:
ltk-0.8.0.8 gtksourceview2-0.12.1 gtk-0.11.2 (use --force to override)
error: command failed to execute correctly
(1/1) upgrading haskell-gio
 [##] 100%
Reading package info from stdin ... done.

In other words, pacman still syncs the package (puts the files on the
system) and causes GHC to break, and if you do this for a big update, you
have to manually go through and fix it all
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread James Sanders
Personally I gave up on installing haskell packages through AUR, I 
pretty much stick to Cabal now.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread Mathew de Detrich
Yeah I used to do that as well, but then that kind of fails on packages that
provides both libraries and binaries (and other issues as well)
On 16/11/2010 4:53 PM, James Sanders jimmyjaz...@gmail.com wrote:
 Personally I gave up on installing haskell packages through AUR, I
 pretty much stick to Cabal now.
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Updating Haskell Packages through Archlinux becoming A Pain

2010-11-15 Thread Magnus Therning
On Sun, Nov 14, 2010 at 00:32, Mathew de Detrich dete...@gmail.com wrote:
 This is an example of what happens
 Proceed with installation? [Y/n] Y
 checking package integrity...
 (1/1) checking for file conflicts
  [##] 100%
 ghc-pkg: unregistering gio-0.11.1 would break the following packages:
 ltk-0.8.0.8 gtksourceview2-0.12.1 gtk-0.11.2 (use --force to override)
 error: command failed to execute correctly
 (1/1) upgrading haskell-gio
  [##] 100%
 Reading package info from stdin ... done.
 In other words, pacman still syncs the package (puts the files on the
 system) and causes GHC to break, and if you do this for a big update, you
 have to manually go through and fix it all

May I suggest you post this to the arch-haskell mailinglist[1] instead?

The team managing the haskell packages on AUR are more likely to take
note of your bug report if it's posted there.

/M

[1]: http://www.haskell.org/mailman/listinfo/arch-haskell

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe