0

I am trying to upgrade to 18.04LTS from 16.04LTS. However, I am unable to run Software Updater. The red circle with the white dash is showing. When I try to update from the terminal, I get the message: E:The package linux-headers-4.4.0-51 needs to be reinstalled, but I can't find an archive for it.

I'm between a noob and mediocre, so please give me step-by step instructions.

pat@pat-Inspiron-3521:~$ sudo apt-get upgrade
[sudo] password for pat: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package linux-headers-4.4.0-51 needs to be reinstalled, but I can't find an archive for it.
pat@pat-Inspiron-3521:~$ 

Thank you.

marked as duplicate by Panther, karel, N0rbert, Eric Carvalho, Kevin Bowen Jul 31 '18 at 18:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Welcome to Ask Ubuntu. The package mentioned is available for xenial, but not bionic (packages.ubuntu.com/search?keywords=linux-headers-4.4.0-51). You haven't said how you were trying to release-upgrade; and if done, did you reboot after release-upgrade? What is your current kernel (uname -r) and current release (lsb_release -a) If you're on a 18.04 LTS box with 18.04 kernel, I doubt it's worth adding a xenial source just to fix that issue (only then to remove it). If you have other kernels on your machine I'd likely just purge that kernel. – guiverc Jul 31 '18 at 3:36

Browse other questions tagged or ask your own question.