The error "system is read-only" versus "Permission denied" which means there could be something wrong with your root filesystem.

It could be full or maybe corrupted. Look at the output of the...