Error: The package lists or status file could not be parsed or opened.
On startup today Trisquel has a big red error icon in the system tray talking about the package manager having a serious problem. I tried to run updates but I get the error seen in the screenshot here. I've tried sudo apt-get clean but it did not change anything.
What should I do?
Attachment | Size |
---|---|
2019-02-27-172320_1024x768_scrot.png | 571.92 KB |
Execute that:
$ sudo rm /var/lib/apt/lists/*
Then, try again to update.
grey@x60:~$ sudo rm /var/lib/apt/lists/*
[sudo] password for grey:
rm: cannot remove '/var/lib/apt/lists/partial': Is a directory
grey@x60:~$
Try
sudo rm -rf /var/lib/apt/lists/*
Yes, but the removal of the regular files (which did occur) may have been enough.