
24 Apr
2015
24 Apr
'15
9:51 a.m.
On 24/04/15 13:04, Magnus Therning wrote:
If I re-install ghc all information about installed packages is lost, on the ghc-level [..] When re-installing ghc these two databases aren't in sync anymore and using `pacman` to install results in errors on the `ghc-pkg` level. Basically, `pacman` won't re-install all dependencies, since they are already installed, but when registering with `ghc-pkg` it has no records of those dependencies.
Can we protect the system from such mistakes? I guess the ideal solution would be to rsync the databases somehow after ghc is reinstalled. -- SP