I'm not sure why that error happened but it happened to me too.
I removed the offending files manually and tried again, and ran into more problems (although everything installed, there were many warnings about interface files being the wrong version and being skipped).
So I'm not sure what the correct way out is. Perhaps it will require some manual removals then reinstalls.

On Sat, Oct 13, 2012 at 11:20 AM, Mateusz Loskot <mateusz@loskot.net> wrote:
Hi,

I just tried to update my Arch system and
I got error which I'm not sure how to deal with:

mloskot ~ $ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 haskell is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (6): ghc-7.6.1-1  haskell-cairo-0.12.3.1-25
haskell-mtl-2.1.2-25  haskell-text-0.11.2.3-25
haskell-transformers-0.3.0.0-25  haskell-xml-1.3.12-25

Total Installed Size:   814.39 MiB
Net Upgrade Size:       12.18 MiB

Proceed with installation? [Y/n]
(6/6) checking package integrity

[################################################################]
100%
(6/6) loading package files

[################################################################]
100%
(6/6) checking for file conflicts

[################################################################]
100%
error: failed to commit transaction (conflicting files)
ghc: /usr/share/doc/ghc/html/libraries/hslogo-16.png exists in filesystem
ghc: /usr/share/doc/ghc/html/libraries/synopsis.png exists in filesystem
Errors occurred, no packages were upgraded.
mloskot ~ $


I'm using the haskell repo configured like this:

mloskot ~ $ grep haskell /etc/pacman.conf
[haskell]
Server = http://xsounds.org/~haskell/$arch


Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net

_______________________________________________
arch-haskell mailing list
arch-haskell@haskell.org
http://www.haskell.org/mailman/listinfo/arch-haskell