1

sudo apt update && sudp apt upgrade -y now shows the error message

E:The package linux-modules-5.4.0-56-generic needs to be reinstalled. But I can't find an archive for it.

and nothing proceeds. How can I fix this problem?

Thanks.

1

2 Answers 2

1

This package has been removed from the repositories.

Run

sudo apt remove linux-modules-5.4.0-56-generic

But make sure you have another kernel installed.

1
  • Sorry, all-apt-related seems broken. Same message occurs. Dec 16, 2020 at 13:33
0

From:

https://launchpadlibrarian.net/508370158/linux-modules-5.4.0-56-generic_5.4.0-56.62_amd64.deb

download and install by

dpkg -i [file name]

after this, do what you need (update/upgrade/install... )

1
  • Oh, Thanx. Now it is fixed. Truely, truely, it is long time to NO APT UPDATE & UPGRADE... Oct 7, 2021 at 8:10

Not the answer you're looking for? Browse other questions tagged .