[Haskell-cafe] Packages all screwed up

Antoine Latter aslatter at gmail.com
Tue Feb 1 13:41:13 CET 2011


On Tue, Feb 1, 2011 at 1:16 AM, Arnaud Bailly <arnaud.oqube at gmail.com> wrote:
> Hi,
> Thanks for your answers.
>
> I did
>
>> cabal upgrade yesod
>
> As for the user/global issue, I think I tried a user install, this is
> default isn't it?
>
> Looks like I will have to reinstall everything :-(
>

Well, since you went wrong with a user install you should be fine
clearing out your user package DB.

So you'll only need to reinstall most things :-)

There might be a path forward, but I get frustrated easily with this
sort of thing - I would have cleared by user package DB by no, I
think.

> Arnaud
>
> On Tue, Feb 1, 2011 at 1:34 AM, Antoine Latter <aslatter at gmail.com> wrote:
>> On Mon, Jan 31, 2011 at 4:59 PM, Arnaud Bailly <arnaud.oqube at gmail.com> wrote:
>>> Hello,
>>> I recently tried to upgrade some package (eg. yesod) and it seems
>>> that, in the process, I screwed up my Haskell packages setup.
>>> When I am trying to do a simple:
>>>> ghc --make Crete1941
>>
>> What command(s) did you issue to "upgrade some packages?"
>> Were you trying to do a user or global install?
>>
>> When ghc loads packages, I've had cases where packages in the user db
>> would shadow packages in the global db, causing *other* packages in
>> the global db to report as "broken".
>>
>> Thanks,
>> Antoine
>>
>



More information about the Haskell-Cafe mailing list