
On 24 April 2015 at 13:09, SP
On 24/04/15 11:45, Magnus Therning wrote:
My spontaneous reaction is that it looks filesystem related. I'd personally start with running `fsck` on the file system to see if that clears up the issues you see above.
Listing the cache directory showed those Haskell packages to be of tiny size. I presumed it was an issue when downloading them (I have those on this machine cause I am behind proxy). So I scrapped the whole cache with `pacman -Scc` and I'm on to the next stage now.
I was installing cblrepo's dependencies one by one and they were disappearing from the missing list, until I accidentally got `ghc` package to reinstall again. I thought it would be fine but it warned me with:
==> All cabalized packages need to be reinstalled now. ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
And now clbrepo `./Setup.hs configure` complains all dependencies missing again like before. Reinstalling any of the packages as suggested doesn't work. For example I get this when reinstalling _haskell-unixutils_:
ghc-pkg: cannot find package Unixutils-1.53 error: command failed to execute correctly (1/1) reinstalling haskel-unixutils [###################] 100% Reading package info from stdin ... done. Unixutils-1.53: dependency "exceptions-0.8.0.2-067eead0ac0060ab628c11ede1c51b50" doesn't exist (use --force to override) Unixutils-1.53: dependency "mtl-2.2.1-9986828fc95bc8459870303efaabd81e" doesn't exist (use --force to override) Unixutils-1.53: dependency "process-extras-0.3.3.4-acf7cfde64a7eeb8de77ed902f28b42e" doesn't exist (use --force to override) Unixutils-1.53: dependency "pureMD5-2.1.2.1-30e721cd6127d447646b1e2fec789dbd" doesn't exist (use --force to override) Unixutils-1.53: dependency "regex-tdfa-1.2.0-d609432fe2944ef942a3146ddaef05ca" doesn't exist (use --force to override) Unixutils-1.53: dependency "zlib-0.5.4.2-7f8fa1baff7481f1dca70c1ad6ffca0e" doesn't exist (use --force to override)
So I guess this is how to reproduce the issue. Not sure if it a bug or something I should be doing after reinstalling the _ghc_ package.
Sorry, but I don't understand what steps you are performing. How do you get ghc to "accidentally" install a second time? After running `pacman -Rncs ghc` *everything* related to haskell development ought to disappear. I'd also suggest you clean out any locally installed packages (e.g. via `cabal install`). After that, the very first haskell package you install, e.g. `haskell-unixutils`, will pull in ghc as well. In other words, there is no need to explicitly install ghc at all. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus