10.04 LTS Upgrade failed - read only lock file and file system
My upgrade has failed and I cannot access anything except the command line - results below:
sudo apt-get upgrade
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
When I do this it says
dpkg: unable to access dpkg status area: read only file system.
if I try to remove the lock using
sudo rm /var/lib/dpkg/lock
it says rm cannot remove `/var/lib/
I can run the live CD, which I have since downloaded. I don't want to use it to install because it will overwrite my home folder, as far as I can see. I don't have the home folder on a separate /. I can't copy or back up my mail from my home folder or some of my other files, permission is denied. I can't copy them using gksu nautilus either. I am running a dual boot with windows XP. XP is still working.
Please help me to fix this and save my data.