remove Ubuntu kernel?
I'm now running 16.04. I just tried to use the new snap feature, but it failed. I got my Ubuntu One key, but it failed before I could use it. See below.
The issue is that I do not think I need this kernel as I am using the Linode kernel? Is this correct? If so, what do I remove/purge to get rid of my Ubuntu kernel, without creating any problems? I think that some years ago when I first set up Linode, I wanted the current linux headers which I thought might be important for development, so I installed a bunch of stuff at that time.
Setup snap "ubuntu-core" (423) security profiles (no state entry for key)
- Setup snap "canonical-livepatch" (15) security profiles (cannot setup apparmor for snap "canonical-livepatch": cannot load apparmor profile "snap.canonical-livepatch.canonical-livepatch": cannot load apparmor profile: exit status 1
apparmor_parser output:
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use –subdomainfs to override.
)
- Setup snap "canonical-livepatch" (15) security profiles (cannot load apparmor profile "snap.canonical-livepatch.canonical-livepatch": cannot load apparmor profile: exit status 1
apparmor_parser output:
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
3 Replies
distribution-supplied kernel
If you continue to use the Linode kernel, there's nothing wrong with having the distribution kernel installed - it just takes a little disk space. The package manager may not like it if you try to remove it, depending on how the dependencies are set up.
@Vance:
If the snap service requires a feature that isn't in the Linode kernel, you can use a
instead. distribution-supplied kernelIf you continue to use the Linode kernel, there's nothing wrong with having the distribution kernel installed - it just takes a little disk space. The package manager may not like it if you try to remove it, depending on how the dependencies are set up.
Thanks for your link and help. I want to stay with the Latest Linode kernel, not select GRUB 2 which I would install and have to update myself. I also sense it would not be a good idea to purge/remove my installed kernel since there may be some dependencies.
So, for now at least, I guess I'll stick with rebooting whenever my Ubuntu kernel updates, as well as rebooting when I see that Linode has updated its latest KVM kernel (I have that set on my RSS).
Thanks.
Lester