Re: [arch-haskell] help upgrading packages

2014-05-12 Thread Nicola Squartini
http-conduit and its dependencies moved from haskell-happstack to
haskell-core and at that time the package release number reset to one. You
have to manually uninstall and reinstall those packages.

Nicola


On Sun, May 11, 2014 at 11:49 PM, Michael Katelman katel...@gmail.comwrote:

 I was hoping someone might help me with an issuing I'm having doing a
 system upgrade. When I run pacman -Syu, I get:

 :: Synchronizing package databases...
 haskell-core is up to date
 haskell-happstack is up to date
 core is up to date
 extra is up to date
 community is up to date
 :: Starting full system upgrade...
 warning: haskell-asn1-encoding: local (0.8.1.3-4) is newer than
 haskell-core (0.8.1.3-2)
 warning: haskell-asn1-parse: local (0.8.1-5) is newer than haskell-core
 (0.8.1-2)
 warning: haskell-asn1-types: local (0.2.3-3) is newer than haskell-core
 (0.2.3-1)
 warning: haskell-cipher-aes: local (0.2.7-3) is newer than haskell-core
 (0.2.7-1)
 warning: haskell-cipher-rc4: local (0.1.4-4) is newer than haskell-core
 (0.1.4-1)
 warning: haskell-connection: local (0.2.1-3) is newer than haskell-core
 (0.2.1-2)
 warning: haskell-cprng-aes: local (0.5.2-8) is newer than haskell-core
 (0.5.2-1)
 warning: haskell-crypto-cipher-types: local (0.0.9-3) is newer than
 haskell-core (0.0.9-1)
 warning: haskell-crypto-numbers: local (0.2.3-3) is newer than
 haskell-core (0.2.3-1)
 warning: haskell-crypto-pubkey: local (0.2.4-6) is newer than haskell-core
 (0.2.4-1)
 warning: haskell-crypto-pubkey-types: local (0.4.2.2-3) is newer than
 haskell-core (0.4.2.2-1)
 warning: haskell-crypto-random: local (0.0.7-4) is newer than haskell-core
 (0.0.7-1)
 warning: haskell-http-client-tls: local (0.2.1.1-21) is newer than
 haskell-core (0.2.1.1-2)
 warning: haskell-http-conduit: local (2.1.2-4) is newer than haskell-core
 (2.1.2-2)
 warning: haskell-mime-types: local (0.1.0.4-3) is newer than haskell-core
 (0.1.0.4-2)
 warning: haskell-publicsuffixlist: local (0.1-7) is newer than
 haskell-core (0.1-2)
 warning: haskell-securemem: local (0.1.3-3) is newer than haskell-core
 (0.1.3-1)
 warning: haskell-socks: local (0.5.4-10) is newer than haskell-core
 (0.5.4-2)
 warning: haskell-x509: local (1.4.11-5) is newer than haskell-core
 (1.4.11-2)
 warning: haskell-x509-store: local (1.4.4-9) is newer than haskell-core
 (1.4.4-2)
 warning: haskell-x509-validation: local (1.5.0-9) is newer than
 haskell-core (1.5.0-2)
 resolving dependencies...
 looking for inter-conflicts...
 error: failed to prepare transaction (could not satisfy dependencies)
 :: haskell-connection: requires haskell-network=2.4.2.2-60
 :: haskell-connection: requires haskell-tls=1.2.6-5
 :: haskell-connection: requires haskell-x509=1.4.11-5
 :: haskell-connection: requires haskell-x509-store=1.4.4-9
 :: haskell-connection: requires haskell-x509-validation=1.5.0-9
 :: haskell-cookie: requires haskell-blaze-builder=0.3.3.2-59
 :: haskell-cookie: requires haskell-text=1.1.1.1-1
 :: haskell-cprng-aes: requires haskell-cipher-aes=0.2.7-3
 :: haskell-cprng-aes: requires haskell-crypto-random=0.0.7-4
 :: haskell-http-client-tls: requires haskell-http-client=0.3.2.1-2
 :: haskell-http-client-tls: requires haskell-network=2.4.2.2-60
 :: haskell-http-client-tls: requires haskell-tls=1.2.6-5
 :: haskell-http-conduit: requires haskell-conduit=1.1.1.1-1
 :: haskell-http-conduit: requires haskell-http-client=0.3.2.1-2
 :: haskell-http-conduit: requires haskell-http-types=0.8.4-4
 :: haskell-http-conduit: requires haskell-lifted-base=0.2.2.1-3
 :: haskell-http-conduit: requires haskell-monad-control=0.3.2.3-5
 :: haskell-http-conduit: requires haskell-resourcet=1.1.2-1
 :: haskell-socks: requires haskell-network=2.4.2.2-60
 :: haskell-x509-system: requires haskell-x509=1.4.11-5
 :: haskell-x509-system: requires haskell-x509-store=1.4.4-9


 I really have no idea what to do with this or what would have caused it.
 I'm sure it's some important misunderstanding on my part. Any help would be
 greatly appreciated.

 -Mike

 ___
 arch-haskell mailing list
 arch-haskell@haskell.org
 http://www.haskell.org/mailman/listinfo/arch-haskell


___
arch-haskell mailing list
arch-haskell@haskell.org
http://www.haskell.org/mailman/listinfo/arch-haskell


Re: [arch-haskell] help upgrading packages

2014-05-12 Thread Dawid Loubser
I had a similar issue with a large number of packages.
I ended up removing and re-installing my entire Haskell ecosystem, and
now things work again.

I note the absence of certain packages like haskell-buildwrapper (which
EclipseFP tools needs) - and reading the wiki, it seems confusing at
this time whether the Haskell tinkerer / developer should just be using
cabal-install to install all required packages (even though I know that
cabal is not a package management system) or... what?

What are other Haskell developers here doing currently?

kind regards,
Dawid Loubser


On 12/05/2014 08:49, Nicola Squartini wrote:
 http-conduit and its dependencies moved from haskell-happstack to
 haskell-core and at that time the package release number reset to one.
 You have to manually uninstall and reinstall those packages.

 Nicola


 On Sun, May 11, 2014 at 11:49 PM, Michael Katelman katel...@gmail.com
 mailto:katel...@gmail.com wrote:

 I was hoping someone might help me with an issuing I'm having
 doing a system upgrade. When I run pacman -Syu, I get:

 :: Synchronizing package databases...
 haskell-core is up to date
 haskell-happstack is up to date
 core is up to date
 extra is up to date
 community is up to date
 :: Starting full system upgrade...
 warning: haskell-asn1-encoding: local (0.8.1.3-4) is newer than
 haskell-core (0.8.1.3-2)
 warning: haskell-asn1-parse: local (0.8.1-5) is newer than
 haskell-core (0.8.1-2)
 warning: haskell-asn1-types: local (0.2.3-3) is newer than
 haskell-core (0.2.3-1)
 warning: haskell-cipher-aes: local (0.2.7-3) is newer than
 haskell-core (0.2.7-1)
 warning: haskell-cipher-rc4: local (0.1.4-4) is newer than
 haskell-core (0.1.4-1)
 warning: haskell-connection: local (0.2.1-3) is newer than
 haskell-core (0.2.1-2)
 warning: haskell-cprng-aes: local (0.5.2-8) is newer than
 haskell-core (0.5.2-1)
 warning: haskell-crypto-cipher-types: local (0.0.9-3) is newer
 than haskell-core (0.0.9-1)
 warning: haskell-crypto-numbers: local (0.2.3-3) is newer than
 haskell-core (0.2.3-1)
 warning: haskell-crypto-pubkey: local (0.2.4-6) is newer than
 haskell-core (0.2.4-1)
 warning: haskell-crypto-pubkey-types: local (0.4.2.2-3) is newer
 than haskell-core (0.4.2.2-1)
 warning: haskell-crypto-random: local (0.0.7-4) is newer than
 haskell-core (0.0.7-1)
 warning: haskell-http-client-tls: local (0.2.1.1-21) is newer than
 haskell-core (0.2.1.1-2)
 warning: haskell-http-conduit: local (2.1.2-4) is newer than
 haskell-core (2.1.2-2)
 warning: haskell-mime-types: local (0.1.0.4-3) is newer than
 haskell-core (0.1.0.4-2)
 warning: haskell-publicsuffixlist: local (0.1-7) is newer than
 haskell-core (0.1-2)
 warning: haskell-securemem: local (0.1.3-3) is newer than
 haskell-core (0.1.3-1)
 warning: haskell-socks: local (0.5.4-10) is newer than
 haskell-core (0.5.4-2)
 warning: haskell-x509: local (1.4.11-5) is newer than haskell-core
 (1.4.11-2)
 warning: haskell-x509-store: local (1.4.4-9) is newer than
 haskell-core (1.4.4-2)
 warning: haskell-x509-validation: local (1.5.0-9) is newer than
 haskell-core (1.5.0-2)
 resolving dependencies...
 looking for inter-conflicts...
 error: failed to prepare transaction (could not satisfy dependencies)
 :: haskell-connection: requires haskell-network=2.4.2.2-60
 :: haskell-connection: requires haskell-tls=1.2.6-5
 :: haskell-connection: requires haskell-x509=1.4.11-5
 :: haskell-connection: requires haskell-x509-store=1.4.4-9
 :: haskell-connection: requires haskell-x509-validation=1.5.0-9
 :: haskell-cookie: requires haskell-blaze-builder=0.3.3.2-59
 :: haskell-cookie: requires haskell-text=1.1.1.1-1
 :: haskell-cprng-aes: requires haskell-cipher-aes=0.2.7-3
 :: haskell-cprng-aes: requires haskell-crypto-random=0.0.7-4
 :: haskell-http-client-tls: requires haskell-http-client=0.3.2.1-2
 :: haskell-http-client-tls: requires haskell-network=2.4.2.2-60
 :: haskell-http-client-tls: requires haskell-tls=1.2.6-5
 :: haskell-http-conduit: requires haskell-conduit=1.1.1.1-1
 :: haskell-http-conduit: requires haskell-http-client=0.3.2.1-2
 :: haskell-http-conduit: requires haskell-http-types=0.8.4-4
 :: haskell-http-conduit: requires haskell-lifted-base=0.2.2.1-3
 :: haskell-http-conduit: requires haskell-monad-control=0.3.2.3-5
 :: haskell-http-conduit: requires haskell-resourcet=1.1.2-1
 :: haskell-socks: requires haskell-network=2.4.2.2-60
 :: haskell-x509-system: requires haskell-x509=1.4.11-5
 :: haskell-x509-system: requires haskell-x509-store=1.4.4-9


 I really have no idea what to do with this or what would have
 caused it. I'm sure it's some important misunderstanding on my
 part. Any help would be greatly appreciated.

 -Mike

 

Re: [arch-haskell] help upgrading packages

2014-05-12 Thread Nicola Squartini
On Mon, May 12, 2014 at 2:24 PM, Dawid Loubser dawid.loub...@ibi.co.zawrote:

  I had a similar issue with a large number of packages.
 I ended up removing and re-installing my entire Haskell ecosystem, and now
 things work again.

 Normally this should never happen. It's because Haskell is very strict on
dependencies (despite being lazy on other things).
In this case the reason was that those packages were added to the
repository  [haskell-core] with initial release number set to 1, although
they had been in [haskell-happstack] already for some time and their
release number was higher. I removed those immediately
from [haskell-happstack] to avoid duplicate work, but they must also be
manually removed from local, since pacman always keeps the highest
version-release.

In order to avoid this kind of issues in the future we should either have a
policy to coordinate work between different haskell repositories, or merge
everything into a unique repository and call it simply [haskell].



 I note the absence of certain packages like haskell-buildwrapper (which
 EclipseFP tools needs) - and reading the wiki, it seems confusing at this
 time whether the Haskell tinkerer / developer should just be using
 cabal-install to install all required packages (even though I know that
 cabal is not a package management system) or... what?


Personally I don't like installing things using cabal-install because in my
opinion the distro package manager should always be in charge.


 What are other Haskell developers here doing currently?

 kind regards,
 Dawid Loubser



 On 12/05/2014 08:49, Nicola Squartini wrote:

 http-conduit and its dependencies moved from haskell-happstack to
 haskell-core and at that time the package release number reset to one. You
 have to manually uninstall and reinstall those packages.

  Nicola


 On Sun, May 11, 2014 at 11:49 PM, Michael Katelman katel...@gmail.comwrote:

 I was hoping someone might help me with an issuing I'm having doing a
 system upgrade. When I run pacman -Syu, I get:

  :: Synchronizing package databases...
 haskell-core is up to date
 haskell-happstack is up to date
 core is up to date
 extra is up to date
 community is up to date
 :: Starting full system upgrade...
 warning: haskell-asn1-encoding: local (0.8.1.3-4) is newer than
 haskell-core (0.8.1.3-2)
 warning: haskell-asn1-parse: local (0.8.1-5) is newer than haskell-core
 (0.8.1-2)
 warning: haskell-asn1-types: local (0.2.3-3) is newer than haskell-core
 (0.2.3-1)
 warning: haskell-cipher-aes: local (0.2.7-3) is newer than haskell-core
 (0.2.7-1)
 warning: haskell-cipher-rc4: local (0.1.4-4) is newer than haskell-core
 (0.1.4-1)
 warning: haskell-connection: local (0.2.1-3) is newer than haskell-core
 (0.2.1-2)
 warning: haskell-cprng-aes: local (0.5.2-8) is newer than haskell-core
 (0.5.2-1)
 warning: haskell-crypto-cipher-types: local (0.0.9-3) is newer than
 haskell-core (0.0.9-1)
 warning: haskell-crypto-numbers: local (0.2.3-3) is newer than
 haskell-core (0.2.3-1)
 warning: haskell-crypto-pubkey: local (0.2.4-6) is newer than
 haskell-core (0.2.4-1)
 warning: haskell-crypto-pubkey-types: local (0.4.2.2-3) is newer than
 haskell-core (0.4.2.2-1)
 warning: haskell-crypto-random: local (0.0.7-4) is newer than
 haskell-core (0.0.7-1)
 warning: haskell-http-client-tls: local (0.2.1.1-21) is newer than
 haskell-core (0.2.1.1-2)
 warning: haskell-http-conduit: local (2.1.2-4) is newer than haskell-core
 (2.1.2-2)
 warning: haskell-mime-types: local (0.1.0.4-3) is newer than haskell-core
 (0.1.0.4-2)
 warning: haskell-publicsuffixlist: local (0.1-7) is newer than
 haskell-core (0.1-2)
 warning: haskell-securemem: local (0.1.3-3) is newer than haskell-core
 (0.1.3-1)
 warning: haskell-socks: local (0.5.4-10) is newer than haskell-core
 (0.5.4-2)
 warning: haskell-x509: local (1.4.11-5) is newer than haskell-core
 (1.4.11-2)
 warning: haskell-x509-store: local (1.4.4-9) is newer than haskell-core
 (1.4.4-2)
 warning: haskell-x509-validation: local (1.5.0-9) is newer than
 haskell-core (1.5.0-2)
 resolving dependencies...
 looking for inter-conflicts...
 error: failed to prepare transaction (could not satisfy dependencies)
 :: haskell-connection: requires haskell-network=2.4.2.2-60
 :: haskell-connection: requires haskell-tls=1.2.6-5
 :: haskell-connection: requires haskell-x509=1.4.11-5
 :: haskell-connection: requires haskell-x509-store=1.4.4-9
 :: haskell-connection: requires haskell-x509-validation=1.5.0-9
 :: haskell-cookie: requires haskell-blaze-builder=0.3.3.2-59
 :: haskell-cookie: requires haskell-text=1.1.1.1-1
 :: haskell-cprng-aes: requires haskell-cipher-aes=0.2.7-3
 :: haskell-cprng-aes: requires haskell-crypto-random=0.0.7-4
 :: haskell-http-client-tls: requires haskell-http-client=0.3.2.1-2
 :: haskell-http-client-tls: requires haskell-network=2.4.2.2-60
 :: haskell-http-client-tls: requires haskell-tls=1.2.6-5
 :: haskell-http-conduit: requires haskell-conduit=1.1.1.1-1
 :: haskell-http-conduit: requires 

Re: [arch-haskell] help upgrading packages

2014-05-12 Thread Magnus Therning
On Mon, May 12, 2014 at 3:33 PM, Nicola Squartini tens...@gmail.com wrote:
 On Mon, May 12, 2014 at 2:24 PM, Dawid Loubser dawid.loub...@ibi.co.za
 wrote:

 I had a similar issue with a large number of packages.
 I ended up removing and re-installing my entire Haskell ecosystem, and now
 things work again.

 Normally this should never happen. It's because Haskell is very strict on
 dependencies (despite being lazy on other things).
 In this case the reason was that those packages were added to the repository
 [haskell-core] with initial release number set to 1, although they had been
 in [haskell-happstack] already for some time and their release number was
 higher. I removed those immediately from [haskell-happstack] to avoid
 duplicate work, but they must also be manually removed from local, since
 pacman always keeps the highest version-release.

 In order to avoid this kind of issues in the future we should either have a
 policy to coordinate work between different haskell repositories, or merge
 everything into a unique repository and call it simply [haskell].

Indeed.  This is entirely my fault!

I have not been keeping track of what is available in any other repos
at all.  I was even under the impression that there were no other
maintained repos at the moment.  Clearly I am completely wrong :(

 I note the absence of certain packages like haskell-buildwrapper (which
 EclipseFP tools needs) - and reading the wiki, it seems confusing at this
 time whether the Haskell tinkerer / developer should just be using
 cabal-install to install all required packages (even though I know that
 cabal is not a package management system) or... what?

 Personally I don't like installing things using cabal-install because in my
 opinion the distro package manager should always be in charge.

The same goes for me.  Occasionally I revert to installing a package
for the local user only, but not even then do I use `cabal install` to
do that, I prefer running `./Setup.hs configure,build,install` myself.

I do mean to look into using `cabal` myself at some point, because I
keep on hearing good things about it.  So far every time I've tried it
I've run into something weird, most recently it was trying to install
an older version of a lib than was needed, and I already had the newer
version installed on my system too.  A lot of terrifyingly clever
people swear by it though, so there has to be something I'm missing
out on!

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus
___
arch-haskell mailing list
arch-haskell@haskell.org
http://www.haskell.org/mailman/listinfo/arch-haskell


Re: [arch-haskell] help upgrading packages

2014-05-12 Thread Dawid Loubser
I'm afraid that I am not one of those 'terrifyingly clever' people you
speak of, Magnus, but in the past I have had a world of pain trying to
use a mixture of packages between cabal and pacman.

Had a very happy time using just pacman until *haskell-buildwrapper*
disappeared recently, and I could no longer use my favourite Haskell IDE :-(
I don't want to even try installing it using cabal, becuase then I'll be
back in package-dependency hell.

I have to say, I appreciate your efforts into making Haskell easy to use
on Arch so very much - I don't mean to complain at all!

regards,
Dawid


On 12/05/2014 15:47, Magnus Therning wrote:
 On Mon, May 12, 2014 at 3:33 PM, Nicola Squartini tens...@gmail.com wrote:
 On Mon, May 12, 2014 at 2:24 PM, Dawid Loubser dawid.loub...@ibi.co.za
 wrote:
 I had a similar issue with a large number of packages.
 I ended up removing and re-installing my entire Haskell ecosystem, and now
 things work again.

 Normally this should never happen. It's because Haskell is very strict on
 dependencies (despite being lazy on other things).
 In this case the reason was that those packages were added to the repository
 [haskell-core] with initial release number set to 1, although they had been
 in [haskell-happstack] already for some time and their release number was
 higher. I removed those immediately from [haskell-happstack] to avoid
 duplicate work, but they must also be manually removed from local, since
 pacman always keeps the highest version-release.

 In order to avoid this kind of issues in the future we should either have a
 policy to coordinate work between different haskell repositories, or merge
 everything into a unique repository and call it simply [haskell].
 Indeed.  This is entirely my fault!

 I have not been keeping track of what is available in any other repos
 at all.  I was even under the impression that there were no other
 maintained repos at the moment.  Clearly I am completely wrong :(

 I note the absence of certain packages like haskell-buildwrapper (which
 EclipseFP tools needs) - and reading the wiki, it seems confusing at this
 time whether the Haskell tinkerer / developer should just be using
 cabal-install to install all required packages (even though I know that
 cabal is not a package management system) or... what?
 Personally I don't like installing things using cabal-install because in my
 opinion the distro package manager should always be in charge.
 The same goes for me.  Occasionally I revert to installing a package
 for the local user only, but not even then do I use `cabal install` to
 do that, I prefer running `./Setup.hs configure,build,install` myself.

 I do mean to look into using `cabal` myself at some point, because I
 keep on hearing good things about it.  So far every time I've tried it
 I've run into something weird, most recently it was trying to install
 an older version of a lib than was needed, and I already had the newer
 version installed on my system too.  A lot of terrifyingly clever
 people swear by it though, so there has to be something I'm missing
 out on!

 /M


___
arch-haskell mailing list
arch-haskell@haskell.org
http://www.haskell.org/mailman/listinfo/arch-haskell


Re: [arch-haskell] help upgrading packages

2014-05-12 Thread Magnus Therning
On Mon, May 12, 2014 at 4:02 PM, Dawid Loubser dawid.loub...@ibi.co.za wrote:
 I'm afraid that I am not one of those 'terrifyingly clever' people you speak
 of, Magnus, but in the past I have had a world of pain trying to use a
 mixture of packages between cabal and pacman.

 Had a very happy time using just pacman until haskell-buildwrapper
 disappeared recently, and I could no longer use my favourite Haskell IDE :-(
 I don't want to even try installing it using cabal, becuase then I'll be
 back in package-dependency hell.

 I have to say, I appreciate your efforts into making Haskell easy to use on
 Arch so very much - I don't mean to complain at all!

Create a new issue for it on the github page[1], or even better dig
into `cblrepo`, add it yourself, and send me a pull request ;)

/M

[1]: https://github.com/archhaskell/habs/issues

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus
___
arch-haskell mailing list
arch-haskell@haskell.org
http://www.haskell.org/mailman/listinfo/arch-haskell