Posted March 16, 2013 8k views
Hi, After experimenting on another server I had installed webmin with virtual min but unfortunately this messed up my permissions, then I reinstalled from backup and my browser is telling me it cannot connect, then I restored from backup and I get this error when trying to sud apt-get install apache or proftpd to try and get my files back to start from scratch, what do I do? Thanks, Marcus

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
sorry, This error:

sudo: unable to open /var/lib/sudo/marcus/0: Read-only file system
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
you might be booted to rescue mode, you will have mount your drive and use scp command to copy your files to another server

sudo mount -o remount,rw /

this will mount your drive which will give you access to your files.