I use this command

sudo apt-get install \
linux-image-extra-$(uname -r) \

and get this error Is there anybody can help me to resolve this problem? thanks.

Ubuntu 18.04 Error


linux-image-generic should already install the associated linux-image-extra package, but the name has been changed to linux-modules-extra. Try this to upgrade to the latest kernel:

sudo apt update
sudo apt upgrade
sudo apt install --reinstall linux-image-generic

Then, reboot and try using the following command instead:

sudo apt install linux-modules-extra-$(uname -r) linux-image-extra-virtual 

As @mchid said in the comments,


packages have been renamed


  • 4
    Where is this kind of thing documented? – bennlich Mar 10 at 23:14

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.