(Imported from Trac #798, reported by tsueako on 2011-02-01)
In installing regex-pcre in an installation with regex-base already installed, I get:
/usr/bin/ghc-pkg update - --global --no-user-package-conf
removeLink: does not exist (No such file or directory)
and regex-pcre does not install. However, prior to running cabal 'ghc-pkg list' had shown that regex-base was already installed.
I suspect this is a problem due to the way haskell is installed on Fedora. Basically, you:
1. install a haskell-platform rpm, which leads to a bunch of ghc rpms being installed.
2. you supplement these rpms with any other Fedora
haskell package rpms you may need. At this point everything works.
3. when you cabal install other packages from hackagedb, 1 of 3 things usually happens:
BTW, I have also noticed that the global package.conf.d directory has a mixed format (entries with and w/o a hash) as in:
(Imported comment by tsueako on 2011-02-01)
Verbose printout of cabal install
odd file names in /usr/lib/ghc-6.12.3/package.conf.d
I should mention I am using haskell-platform-2010.2.0.0-1.fc14.i686 on Fedora 14.