Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 2nd, 2011  |  syntax: None  |  size: 1.81 KB  |  hits: 110  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. sparrow@vb:~/.cabal$ cabal update -v3
  2. Downloading the latest package list from hackage.haskell.org
  3. Sending:
  4. GET http://hackage.haskell.org/packages/archive/00-index.tar.gz HTTP/1.1
  5. User-Agent: cabal-install/0.10.2
  6. Host: hackage.haskell.org
  7. proxy uri host: local_proxy, port: :proxy_port
  8. Creating new connection to local_proxy:proxy_port
  9. Received:
  10. HTTP/1.0 200 OK
  11. Date: Tue, 02 Aug 2011 08:51:16 GMT
  12. Server: Apache/2.2.9 (Debian) mod_python/3.3.1 Python/2.5.2
  13. Last-Modified: Tue, 02 Aug 2011 04:38:12 GMT
  14. ETag: "1bda0be-2de1d4-4a97e50b73500"
  15. Accept-Ranges: bytes
  16. Content-Length: 3006932
  17. Content-Type: application/x-tar
  18. Content-Encoding: x-gzip
  19. X-Cache: MISS from local_proxy
  20. X-Cache-Lookup: MISS from local_proxy:proxy_port
  21. Via: 1.0 local_proxy (squid/3.0.STABLE2)
  22. Proxy-Connection: close
  23. Downloaded to
  24. /home/sparrow/.cabal/packages/hackage.haskell.org/00-index.tar.gz
  25. cabal: /home/sparrow/.cabal/packages/hackage.haskell.org/: permission denied
  26. sparrow@vb:~/.cabal$
  27. =================================================================
  28.  
  29. When i try to use "sudo cabal update":
  30. =================================================================
  31. sparrow@vb:~/.cabal$ sudo cabal update -v3
  32. Downloading the latest package list from hackage.haskell.org
  33. Sending:
  34. GET /packages/archive/00-index.tar.gz HTTP/1.1
  35. Host: hackage.haskell.org
  36. User-Agent: cabal-install/0.10.2
  37. Creating new connection to hackage.haskell.org
  38. cabal: timeout
  39. sparrow@vb:~/.cabal$
  40. =================================================================
  41.  
  42. http_proxy and cabal version:
  43. =================================================================
  44. sparrow@vb:~/.cabal$ set | grep HTTP
  45. HTTP_PROXY=http://local_proxy:proxy_port/
  46. sparrow@vb:~/.cabal$ cabal --v
  47. cabal-install version 0.10.2
  48. using version 1.10.2.0 of the Cabal library
  49. sparrow@vb:~/.cabal$