0

18.04 LTS AMD 64bit HP-Pavillion When trying to upgrade to 20.04, the system says:

Failed to load the package list
This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.
E:The package linux-headers-4.15.0-126 needs to be reinstalled, but I can't find an archive for it.

But, unfortunately, I couldn't manage to install or reinstall the package. The system keeps giving the same message:

azevedo@HP-Pavilion:~$ sudo apt-get install -- reinstall linux-headers-4.15.0-126
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package linux-headers-4.15.0-126 needs to be reinstalled, but I can't find an archive for it.
azevedo@HP-Pavilion:~$ uname
Linux
azevedo@HP-Pavilion:~$ uname -r
4.15.0-126-generic
Pizza
  • 1,428

0 Answers0