summaryrefslogtreecommitdiff
path: root/doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__
diff options
context:
space:
mode:
authorJoey Hess2015-09-09 18:31:43 -0400
committerJoey Hess2015-09-09 18:31:43 -0400
commit672d23d0feb9f45d803ce2c381a9b77bd34559ff (patch)
tree082165fdf9d74506d9bccdee7c28fb9d25965c15 /doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__
parent60b388a4ca7db4331764db8088205f83ba97d3e0 (diff)
response
Diffstat (limited to 'doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__')
-rw-r--r--doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__/comment_2_a071a094c69451d6f43f3f8e01fff8a3._comment24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__/comment_2_a071a094c69451d6f43f3f8e01fff8a3._comment b/doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__/comment_2_a071a094c69451d6f43f3f8e01fff8a3._comment
new file mode 100644
index 00000000..ed97a2d8
--- /dev/null
+++ b/doc/forum/Why_downloading_package_list_from_hackage.haskell.org__63__/comment_2_a071a094c69451d6f43f3f8e01fff8a3._comment
@@ -0,0 +1,24 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2015-09-09T22:25:55Z"
+ content="""
+Propellor needs to build itself from source on the host it's
+provisioning, and so it needs to install its haskell library dependencies.
+
+It first does this by trying to apt-get install all the relevant packages.
+However, that might fail for some reason, including perhaps that new enough
+versions of some library is not available to apt-get. So, it then also
+asks cabal to install any missing dependencies. This is where the `cabal
+update` comes in. I'd rather only do that if apt didn't install all
+necessary deps, but I don't currently know how to check that, so it does it
+always.
+
+It looks like cabal may be allocating too much memory to work on your arm
+router. This could be because of a problem in depenedency resolution, which
+sometimes runs cabal out of memory even on big boxes, or it could just be
+too memory hungry to be practical there.
+
+The smallest system I've successfully run git-annex on had 500 mb of
+memory. IIRC, most memory is used when ghc is compiling propellor.
+"""]]