jbbarth/cookbooks — Issue #2: Vagrant: Unable to open /root/.aptitude/config for writing - apt_init
Author: drnic
Created: 2011-12-10 20:04:06+00:00
State: open

When running the "trying cloudfoundry" instructions at http://jbbarth.com/archives/tags/cloudfoundry, I get an error installing your cookbooks' install-rvm.sh:

```
vagrant@lucid32:~$ sudo bash < <(wget -q --no-check-certificate -O - https://github.com/jbbarth/cookbooks/raw/master/install-rvm.sh)
E: Unable to open /root/.aptitude/config for writing - apt_init (30: Read-only file system)
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
groupadd: cannot lock /etc/group; try again later.
bash: line 20: curl: command not found
bash: line 23: /root/.bashrc: Read-only file system
sed: couldn't open temporary file /etc/skel/sedERAOU2: Read-only file system
bash: line 29: /etc/skel/.bashrc: Read-only file system
```

Is your lucid32 image special? Or my broken?