I try to update Ubuntu 20.04 using Synaptic, but the update generates an error:
E: se interrumpió la ejecución de dpkg, debe ejecutar manualmente «dpkg --configure -a» para corregir el problema
E: _cache->open() failed, please report.
W: No se utilizan bloqueos para el fichero de bloqueo de sólo lectura /var/lib/dpkg/lock-frontend W: No se utilizan bloqueos para el fichero de bloqueo de sólo lectura /var/lib/dpkg/lock
I try to fix this error and I get:
dpkg: error: unable to access the dpkg database directory /var/lib/dpkg: File System only read
By reading several tutorials, I found that I should remove the /var/lib/apt/lists/lock
file, but when I try to remove it using rm
, I get:
rm: does not erase ‘/var/lib/apt/lists/lock’: File System only read
Is there any way to fix this error without reinstalling Ubuntu?