I have installed Endless OS 3.5 from window 10, when I start Endless OS and use terminal to run “apt-get update & apt-get upgrade”, I got an error and then when I delete file “/var/lib/dpkg/lock” I received a message: “rm: cannot remove ‘/var/lib/dpkg/lock’: Read-only file system”. How to resolve this error in my case?
I also use some guiding such as “sudo mount -o rw,remount /” or “fsck -n -f then reboot” but not effect.