
cabal upgrade hlint Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base >=4.2 && <6 For the dependency on base >=4.2 && <6 there are these packages:
L.S., I had a strange response from Cabal: base-4.2.0.0. However none of them are available. base-4.2.0.0 was excluded because of the top level dependency base -any So, base-4.2.0.0 cannot be used, because any version of base is OK? Is this a bug in Cabal? Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

"Henk-Jan van Tuyl"
I had a strange response from Cabal:
cabal upgrade hlint
I thought upgrade was disabled... what version of cabal-install do you have?
Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base >=4.2 && <6 For the dependency on base >=4.2 && <6 there are these packages: base-4.2.0.0.
Base 4.2 and containers-0.3 come with/are for GHC-6.12.*
So, base-4.2.0.0 cannot be used, because any version of base is OK? Is this a bug in Cabal?
The latest version of hlint doesn't need containers-0.3; so just do "cabal install --reinstall hlint" to get the new version. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On Mon, 2010-01-11 at 13:33 +0100, Henk-Jan van Tuyl wrote:
L.S.,
cabal upgrade hlint Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base >=4.2 && <6 For the dependency on base >=4.2 && <6 there are these packages:
I had a strange response from Cabal: base-4.2.0.0. However none of them are available. base-4.2.0.0 was excluded because of the top level dependency base -any
So, base-4.2.0.0 cannot be used, because any version of base is OK? Is this a bug in Cabal?
It's a bug in the sense that the error message is misleading. What it actually means is "base-4.2.0.0 cannot be used, because an installed version of base is required". The pretty printing for "installed constraints" (as opposed to version constraints) is borked. Duncan
participants (3)
-
Duncan Coutts
-
Henk-Jan van Tuyl
-
Ivan Lazar Miljenovic