SystemError during Ubuntu upgrade: no linux-headers-4.40-166 archive

Posted April 23, 2021 131 views

I am trying to upgrade Ubuntu using sudo do-release-upgrade, and it errors out with:

“SystemError: E:The package linux-headers-4.4.0-166 needs to be reinstalled, but I can’t find an archive for it.”

How do I proceed?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!