Re: [Haskell-cafe] Cabal bug? repeat --reinstall

2013-01-10 Thread Niklas Hambüchen
Where do we report this?

On 05/01/13 02:36, Albert Y. C. Lai wrote:
 On 13-01-04 04:36 PM, Niklas Hambüchen wrote:
 I get the following:

 $ cabal install --only-dependencies --reinstall

 Resolving dependencies...
 All the requested packages are already installed:
 Use --reinstall if you want to reinstall anyway.


 Can somebody confirm that they see the same?
 
 I confirm.
 
 
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal bug? repeat --reinstall

2013-01-10 Thread Niklas Hambüchen
Ahah on Github. Filed as https://github.com/haskell/cabal/issues/1175.

On Fri 11 Jan 2013 01:21:11 CET, Niklas Hambüchen wrote:
 Where do we report this?

 On 05/01/13 02:36, Albert Y. C. Lai wrote:
 On 13-01-04 04:36 PM, Niklas Hambüchen wrote:
 I get the following:

 $ cabal install --only-dependencies --reinstall

 Resolving dependencies...
 All the requested packages are already installed:
 Use --reinstall if you want to reinstall anyway.


 Can somebody confirm that they see the same?

 I confirm.


 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Cabal bug? repeat --reinstall

2013-01-04 Thread Niklas Hambüchen
I get the following:

$ cabal install --only-dependencies --reinstall

Resolving dependencies...
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.


Can somebody confirm that they see the same?

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal bug? repeat --reinstall

2013-01-04 Thread Albert Y. C. Lai

On 13-01-04 04:36 PM, Niklas Hambüchen wrote:

I get the following:

$ cabal install --only-dependencies --reinstall

Resolving dependencies...
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.


Can somebody confirm that they see the same?


I confirm.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Cabal bug?

2010-01-11 Thread Henk-Jan van Tuyl


L.S.,


I had a strange response from Cabal:
  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:  
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
--
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal bug?

2010-01-11 Thread Ivan Lazar Miljenovic
Henk-Jan van Tuyl hjgt...@chello.nl writes:

 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.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal bug?

2010-01-11 Thread Duncan Coutts
On Mon, 2010-01-11 at 13:33 +0100, Henk-Jan van Tuyl wrote:
 L.S.,
 
 
 I had a strange response from Cabal:
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:  
 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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe