Fix for Updates in Ubuntu Linux Variants
So, you install an Ubuntu based Linux. (Such as Ubuntu itself, or, my current favorite, Linux Mint!) You go to update the installation to be sure that everything is OK.
So, you go to Update Manager and try and run that, or, you do a:
sudo apt-get update
Then, you get the error:
“E:Encountered a section with no Package: header…”
Bummer, man!
Well, worry not! The fix is to do this:
sudo rm /var/lib/apt/lists/* -vf
Then run:
sudo apt-get update
Kabing! It is fixed!