Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  problem installing persistent-postgresql together with
      persistent-template (Miro Karpis)
   2. Re:  problem installing persistent-postgresql together with
      persistent-template (Michael Snoyman)


----------------------------------------------------------------------

Message: 1
Date: Wed, 2 Mar 2016 11:04:34 +0100
From: Miro Karpis <miroslav.kar...@gmail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <Beginners@haskell.org>
Subject: [Haskell-beginners] problem installing persistent-postgresql
        together with persistent-template
Message-ID:
        <cajnnbxfrvao26gmesysp-pkbvd7hti2qkuerg2jodbf0had...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Please,..can you help me with following?

I'm trying to install both persistent-postgresql together with
persistent-template, but I keep getting:


mac:~ miro$ cabal install persistent-template
Resolving dependencies...
In order, the following would be installed:
aeson-0.9.0.1 (latest: 0.11.0.0) (via: persistent-template-2.1.5
persistent-2.2.4 aeson-compat-0.3.1.0) (new version)
aeson-compat-0.3.1.0 (via: persistent-template-2.1.5) (new package)
persistent-2.2.4 (via: persistent-template-2.1.5) (reinstall) (changes:
aeson-0.11.0.0 -> 0.9.0.1)
persistent-template-2.1.5 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
persistent-postgresql-2.2.2
Use --force-reinstalls if you want to install anyway.



If I continue with force-reinstall then I broke postgresql. Is there a way
to force persistent-template to use 2.2.2 version (I know if I download it
and change the dep. in cabal file,....but is that what I should do :) )?



running on:
mac:~ miro$ cabal --version
cabal-install version 1.22.8.0
using version 1.22.7.0 of the Cabal library

mac:~ miro$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3


cheers,
m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20160302/255860ad/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 2 Mar 2016 12:15:57 +0200
From: Michael Snoyman <mich...@snoyman.com>
To: Miro Karpis <miroslav.kar...@gmail.com>,  The Haskell-Beginners
        Mailing List - Discussion of primarily beginner-level topics related
        to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] problem installing
        persistent-postgresql together with persistent-template
Message-ID:
        <caka2jgkqyh-jaq169k_aovrkyqg5pbztvi96ckw1sbzcatm...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

You can force this with cabal using --constraint
"persistent-template=2.2.2" or the equivalent.

But these kinds of dependency solving problems are the primary reason I
recommend using a Stackage snapshot[1]. If you switch over to building with
Stack[2], you'll get that behavior by default.

[1] https://www.stackage.org/
[2] http://haskellstack.org/

On Wed, Mar 2, 2016 at 12:04 PM, Miro Karpis <miroslav.kar...@gmail.com>
wrote:

> Please,..can you help me with following?
>
> I'm trying to install both persistent-postgresql together with
> persistent-template, but I keep getting:
>
>
> mac:~ miro$ cabal install persistent-template
> Resolving dependencies...
> In order, the following would be installed:
> aeson-0.9.0.1 (latest: 0.11.0.0) (via: persistent-template-2.1.5
> persistent-2.2.4 aeson-compat-0.3.1.0) (new version)
> aeson-compat-0.3.1.0 (via: persistent-template-2.1.5) (new package)
> persistent-2.2.4 (via: persistent-template-2.1.5) (reinstall) (changes:
> aeson-0.11.0.0 -> 0.9.0.1)
> persistent-template-2.1.5 (new package)
> cabal: The following packages are likely to be broken by the reinstalls:
> persistent-postgresql-2.2.2
> Use --force-reinstalls if you want to install anyway.
>
>
>
> If I continue with force-reinstall then I broke postgresql. Is there a way
> to force persistent-template to use 2.2.2 version (I know if I download it
> and change the dep. in cabal file,....but is that what I should do :) )?
>
>
>
> running on:
> mac:~ miro$ cabal --version
> cabal-install version 1.22.8.0
> using version 1.22.7.0 of the Cabal library
>
> mac:~ miro$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.10.3
>
>
> cheers,
> m.
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20160302/c87d88fa/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 93, Issue 1
****************************************

Reply via email to