I ran into this problem as well and it turns out /tmp was full. You can check with du -hs if it's chock full and if so, lose some things.