Over the weekend, I allowed Linux to do an update. All was going well until the Update Manager politely posted an error message:
You’ll notice the last line in the error message, unexpected end of file or stream, with the file name and location of the bad file.
All this means, is that during the download, the file was corrupted somehow. I blame my poor WiFi connection to this particular machine.
How to fix it? Easy, just clear your cache!
Open a Terminal Window and type this: sudo apt-get clean
After you are asked for your password, the installation cache will be emptied, and you can then restart the Update Manager.
LInux will always tell you what is wrong, so read dialog windows carefully!