Error: The package lists or status file could not be parsed or opened.

4 réponses [Dernière contribution]
northernarcher
Hors ligne
A rejoint: 12/24/2014

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?

Pièce jointeTaille
2019-02-27-172320_1024x768_scrot.png571.92 Ko
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Execute that:
$ sudo rm /var/lib/apt/lists/*
Then, try again to update.

northernarcher
Hors ligne
A rejoint: 12/24/2014

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:~$

aloniv

I am a translator!

Hors ligne
A rejoint: 01/11/2011

Try
sudo rm -rf /var/lib/apt/lists/*

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Yes, but the removal of the regular files (which did occur) may have been enough.