On 04/20/2009 02:55 PM, Joachim Breitner wrote:
Hi,

Am Montag, den 20.04.2009, 14:38 +0200 schrieb Michal Suchanek:
On 04/20/2009 02:34 PM, Joachim Breitner wrote:
Hi Michal,

Am Montag, den 20.04.2009, 12:15 +0200 schrieb Michal Suchanek :
The libghc6-xmonad package searches for ghc binary during build but
Debian only provides ghc6.
You do have the ghc6 package installed, do you? If so, then /usr/bin/ghc
should be a symlink pointing to /etc/alternatives/ghc which should point
to /usr/lib/ghc-6.10.1/bin/ghc. Can you verify that on your machine?
Yes, I do have the package installed, the alternatives system shows that the 
link should point to
ghc 6.10 but in fact it points to ghc 6.8.

Perhaps some postinst script should check the alternatives?

Oh, you have ghc6.8 _and_ ghc6.10 installed at the same time? I’m
surprised that Debian even allows that.


No, I did have only 6.10 but the link was pointing to 6.8, and there was no way to re-create it because there is only one alternative, obviously.

However, purging ghc6 and reinstalling the Debian packages fixed the problem.

Now the state of the alternative is auto and it was manual previously. Either way I suspect the mess was created by some ghc package upgrade because I did not touch the alternative.

Thanks

Michal


--
Michal Suchánek
Univerzita Karlova v Praze
Ǔstav Výpočetní Techniky
Ovocný trh 3
Praha 1



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to