I have some broken packages on my pc i want to fix but whatever command i run it just says
E: Read error - read (5: Input/output error)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
I tried running commands like sudo apt --fix-missing update
and removing corrupted lists from /var/lib/apt/lists/ which returns:-
rm: cannot remove '/var/lib/apt/lists/ppa.launchpad.net_libreoffice_ppa_ubuntu_dists_bionic_main_binary-amd64_Packages': Read-only file system
rm: cannot remove '/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_bionic-security_multiverse_dep11_icons-64x64.tar.gz': Read-only file system
rm: cannot remove '/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_bionic-updates_main_dep11_icons-48x48.tar.gz': Read-only file system
rm: cannot remove '/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_bionic-backports_universe_dep11_Components-amd64.yml.gz': Read-only file system
rm: cannot remove '/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_bionic-backports_main_binary-i386_Packages': Read-only file system
rm: cannot remove '/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_bionic-security_universe_dep11_icons-64x64.tar.gz': Read-only file system```
. No matter what command i run it gives me the same stuff :(
I run Ubuntu 18.04 with lxde de