[Hackage] #551: cabal-install config file lacking

#551: cabal-install config file lacking ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: high | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Mac OS | ---------------------------------+------------------------------------------ 1. cabal-install can't work without a remote package server address.[[BR]] 2. this server should be specified in the ~/.cabal/config file.[[BR]] 3. cabal-install 0.6.2 does not provide such a file.[[BR]] 4. instructions on cabal-install page say that this file will be downloaded through a "cabal update" command.[[BR]] 5. however as no server is provided, "cabal update" can't download anything...[[BR]] 6. Goto step 2...[[BR]] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/551 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#551: cabal-install config file lacking ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: high | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: Mac OS ---------------------------------+------------------------------------------ Old description:
1. cabal-install can't work without a remote package server address.[[BR]] 2. this server should be specified in the ~/.cabal/config file.[[BR]] 3. cabal-install 0.6.2 does not provide such a file.[[BR]] 4. instructions on cabal-install page say that this file will be downloaded through a "cabal update" command.[[BR]] 5. however as no server is provided, "cabal update" can't download anything...[[BR]] 6. Goto step 2...[[BR]]
New description: 1. cabal-install can't work without a remote package server address.[[BR]] 2. this server should be specified in the ~/.cabal/config file.[[BR]] 3. cabal-install 0.6.2 does not provide such a file.[[BR]] 4. instructions on cabal-install page say that this file will be downloaded through a "cabal update" command.[[BR]] 5. however as no server is provided, "cabal update" can't download anything...[[BR]] 6. Goto step 2...[[BR]] So now I have cabal-install, but it just does not do its work... Hence the "high" prority. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/551#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#551: cabal-install config file lacking ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: high | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: | Platform: Mac OS ---------------------------------+------------------------------------------ Comment (by duncan): At some point in that process you must have created a `~/.cabal/config` file (but one that does not specify any servers). When the file is missing completely then indeed `cabal update` will create a `~/.cabal/config` containing all defaults. Try this: {{{ $ rm ~/.cabal/config $ cabal update }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/551#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#551: cabal-install config file lacking ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: closed Priority: high | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: Mac OS ---------------------------------+------------------------------------------ Changes (by guest): * status: new => closed * resolution: => fixed Comment: Sorry, I am so ashamed... I forgot I added a custom config file. Really sorry to have presented this as a "bug", I should have asked before. It now all works perfectly. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/551#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage