HaddingtonDynamics / Dexter

GNU General Public License v3.0
363 stars 84 forks source link

apt-get fails "Encountered a section with no Package: header" #75

Closed JamesNewton closed 4 years ago

JamesNewton commented 4 years ago

https://askubuntu.com/questions/454895/update-manager-bug-encountered-a-section-with-no-package-header

The following two commands fix this. The first command will remove the damaged list and when you run the second command it will replace it with a new list.

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update