Closed marmot1791 closed 4 years ago
2GB used to be enough, but I just tried it on a Fedora 30 template and it does indeed fail now:
[ERROR] Could not update repository "default": "/bin/cp -PRp /home/opam/opam-repository /home/opam/.opam/repo/default.new" exited with code 1
The command '/bin/sh -c cd ~/opam-repository && git fetch origin master && git reset --hard 5eed470abc5c7991e448c9653698c03d6ea146d1 && opam update' returned a non-zero code: 40
Looks like it's actually out of inodes rather than space (see df -hi
), but increasing the space does fix it.
The instructions should say how much space will be needed. Maybe something like this?
Create a new Fedora-30 AppVM (or reuse an existing one). In the Qube's Settings (Basic / Disk storage), increase the private storage from the default 2048 MiB to 4096 MiB. Open a terminal.
Updated per your comment.
Thanks!
Add note that AppVM used to build from source may need a private image larger than the default 2048MB.