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.

2 Answers2

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.

Pilot6
  • 90,100
  • 91
  • 213
  • 324
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... )

tinlyx
  • 3,230