Skip to content

Instantly share code, notes, and snippets.

@AmrAbdeen
Last active September 20, 2024 14:01
Show Gist options
  • Save AmrAbdeen/59d688b3d4cf20cc81f2 to your computer and use it in GitHub Desktop.
Save AmrAbdeen/59d688b3d4cf20cc81f2 to your computer and use it in GitHub Desktop.
Fix| Error E:Encountered a section with no Package: header, E:Problem with MergeList
Error “E:Encountered a section with no Package: header, E:Problem with MergeList …….”
Fix it by this steps .. #linux_mint_17.2
1- Clean up..
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get purge
sudo apt-get autoremove -y
sudo rm -fv /var/lib/apt/lists/*
2- Full update..
sudo apt-get update
sudo apt-get dist-upgrade -y
Then reboot. I suspect you’ll find your errors in the GUI update tool will have gone.
@jotaba
Copy link

jotaba commented Mar 2, 2024

muchas gracias , estuve horas buscando la solucion

@marpros
Copy link

marpros commented Sep 20, 2024

You could also have corrupted /var/lib/dpkg/status file with some binary garbage (like me) e.g. due power outages or HW errors,
than above steps will not work.
Best way is to copy important data and full system reinstall... bcs if you have one file corrupted than also propable some number of others..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment