Hello, I have changed the default kernel come with Ubuntu 14.04 to a 15.04 kernel version. First of all I don’t know if this is allowed to do as when I did it, the 15.04 kernel was in the list.
I didn’t encounter problems until I am trying to configure the firewall. When I issue the command “ufw status”, I get error
modprobe: ERROR: …/libkmod/libkmod.c:556 kmodsearchmoddep() could not open moddep file '/lib/modules/3.16.0-23-generic/modules.dep.bin
found also in this thread.
I tried sudo apt-get install linux-image-$(uname -r) then I get E: Unable to locate package linux-image-3.19.0-16-generic
Should I do sudo apt-get install --reinstall linux-image-3.13.0?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
ufw is outputting an error because it can’t load the necessary kernel modules to run a firewall. You need to install the currently-running kernel’s modules on your droplet which is done by running sudo apt-get install linux-image-$(uname -r).
Because you’re trying to use a 15.04 kernel on a 14.04 system, that command won’t work because the kernel package does not exist in 14.04’s repositories.
Generally, you should be fine running the latest kernel that is available in 14.04’s repositories as it is an “LTS” (long-term support) release, which means that it will keep receiving security updates until April, 2019.
I would like to move to 15.04 so I can run kernel updates via apt-get. What is the easiest way to do this on DigitalOcean? Not being able to update at terminal is a huge pain. Thanks for any tips.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.