linux-headers-5.4.0-56 generic

Is there any solution for this "Error: E:The package linux-headers-5.4.0-56-generic needs to be reinstalled, but I can't find an archive for it." I can't do anything...just whatever I do or any updating show me this message. This is my third post regarding this.

1

1 Answer

The simplest method is to remove the problematic package by

sudo apt-get purge linux-headers-5.4.0-56-generic

or in low-level

sudo dpkg -P --force-all linux-headers-5.4.0-56-generic

Then install normal latest kernel and its headers using:

sudo apt-get update
sudo apt-get install linux-headers-generic linux-image-generic
sudo apt-get install --reinstall linux-headers-$(uname -r)
sudo apt-get install --reinstall linux-image-$(uname -r)
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like