Hi Achernar and Welcome to Linux Mint Forums!
From the output that you have posted your system is saying that there is an corrupt file in apt/lists.
What we can try first is to just delete that file alone. If nothing else is wrong this should get you fixed up.
If not we can then try deleting them all BUT the
partial directory. The other files will be regenerated by running the update command.
Lets proceed if you want:
Please be very careful when running the following commands. Copy and paste OR type them exactly as they are written.
1.
Open a terminal and run
Code: Select all
sudo rm -f /var/lib/apt/lists/packages.linuxmint.com_dists_maya_main_binary-amd64_Packages
which should only delete the offending file as listed in your output
E: Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_maya_main_binary-amd64_Packages
This may leave behind something else that is broken, but you can try this first.
Then run
if successful you are done. If not see number 2.
2.
Open a terminal and run
you should see a warning message like >
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory This is expected and wanted in this case. By using the -f switch alone we will force the deletion of all the files without deleting the
partial directory that is located inside (which you will need to update with). (*note: the asterisk
* in the command syntax acts as a wildcard to represent all of the files located in a directory).
Then run
Now you should be fixed and ready to go.
Please let us know.
Thanks,
S