I have forgotten .. my bad

Hello, darcs get --init ....?????? I want to pull down Data.FiniteMap. I have forgotten the path to Hackage .. I tried .... sudo darcs get http://hackage.haskell.org/ Data.FiniteMap [sudo] password for vigalchin: Invalid repository: http://hackage.haskell.org darcs failed: Failed to download URL http://hackage.haskell.org/_darcs/inventory : HTTP error (404?) ?? Obviously the code I am cabalizing needs to be "upgraded"(i.e. not using deprecated packages) but first I want it to build! Thanks, Vasili

On Fri, May 15, 2009 at 5:30 AM, Vasili I. Galchin
Hello,
darcs get --init ....?????? I want to pull down Data.FiniteMap. I have forgotten the path to Hackage .. I tried ....
sudo darcs get http://hackage.haskell.org/ Data.FiniteMap [sudo] password for vigalchin: Invalid repository: http://hackage.haskell.org
darcs failed: Failed to download URL http://hackage.haskell.org/_darcs/inventory : HTTP error (404?)
??
Obviously the code I am cabalizing needs to be "upgraded"(i.e. not using deprecated packages) but first I want it to build!
From the error message above you appear to be "darcs get"ting the root
If you want to install something from Hackage, use $ cabal install foo If you want to grab the source $ darcs get --partial path/to/repo (Omit the --partial flag if you want the full source tree, but if you're not intending to do serious work on the source it's probably not worth it.) directory of the hackage server, which isn't a valid repository. Cheers, D -- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net

On Thu, May 14, 2009 at 9:30 PM, Vasili I. Galchin
Hello,
darcs get --init ....?????? I want to pull down Data.FiniteMap. I have forgotten the path to Hackage .. I tried ....
sudo darcs get http://hackage.haskell.org/ Data.FiniteMap [sudo] password for vigalchin:
I don't know what your machine is configured like, but I'm rather surprised to see you use 'sudo' with darcs. In case you're not already familiar with the purpose of sudo, I'll explain. The purpose is to give the command the same privileges as root, the super user. Effectively, you're giving darcs full range over your computer. Although, this should be harmless in the case of darcs, it is usually a bad idea to give commands superuser privileges unless they really need it :) Good luck! Jason

I mean what is the path to Hackage repo?
Vasili
On Fri, May 15, 2009 at 4:32 AM, Jason Dagit
On Thu, May 14, 2009 at 9:30 PM, Vasili I. Galchin
wrote: Hello,
darcs get --init ....?????? I want to pull down Data.FiniteMap. I have forgotten the path to Hackage .. I tried ....
sudo darcs get http://hackage.haskell.org/ Data.FiniteMap [sudo] password for vigalchin:
I don't know what your machine is configured like, but I'm rather surprised to see you use 'sudo' with darcs. In case you're not already familiar with the purpose of sudo, I'll explain. The purpose is to give the command the same privileges as root, the super user. Effectively, you're giving darcs full range over your computer. Although, this should be harmless in the case of darcs, it is usually a bad idea to give commands superuser privileges unless they really need it :)
Good luck! Jason

Vasili I. Galchin schrieb:
Hello,
darcs get --init ....?????? I want to pull down Data.FiniteMap. I have forgotten the path to Hackage .. I tried .... Hi Vasili, Hackage does not host the darcs repositories. You can get the FinitMap's source code via
cabal unpack FiniteMap
though. benedikt
sudo darcs get http://hackage.haskell.org/ Data.FiniteMap [sudo] password for vigalchin: Invalid repository: http://hackage.haskell.org
darcs failed: Failed to download URL http://hackage.haskell.org/_darcs/inventory : HTTP error (404?)
??
Obviously the code I am cabalizing needs to be "upgraded"(i.e. not using deprecated packages) but first I want it to build!
Thanks,
Vasili
------------------------------------------------------------------------
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (4)
-
Benedikt Huber
-
Dougal Stanton
-
Jason Dagit
-
Vasili I. Galchin