Quote:
Originally Posted by manan58
"Error: Opening the cache (E:Couldn't create temporary file to work with /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_bionic_InRelease - mkstemp (30:Read-only file system...
|
Read-only filesystem is a rather significant error. Something went wrong, probably during system initialization, after POST and Grub menu selection, to prevent the root filesystem from mounting normally in read/write (rw) mode. It's also possible something went wrong during the previous shutdown, or the power was removed instead of shutting down properly.
First thing to try is rebooting, to see if it happens again. If it's repeatable, you'll need to perform a rescue boot and repair. The hard part is in determining what needs repairing. In such a case the first step is in determining where the root filesystem is and its type and attempting to check it.
How old is this installation? If brand new, it is likely to be much easier to install again than to repair.