Brett,

I'm sorry you had such a hard time of things, but I'm not sure there's
anything we can do here to improve the situation.

- the kernel packages deliberately do not depend on grub, because in certain 
scenarios a user will need lilo instead so it needs to be possible to have lilo 
installed and not grub.
- that implies that the grub package will be removable, even though it's not a 
good idea to remove it.
- I've tested here, and see that trying to install splashy does not remove grub 
for me; that would have been a significant bug, and one we should want to fix 
very badly, but I don't see any bug here that we can fix.  If you can learn 
from your apt logs why the grub package was removed, maybe we can still do 
something to fix that.
- if the kernel doesn't find a bootloader, I think we *need* to fail the 
installation of that kernel package, since it won't be usable after install.  
In the case of grub, uninstalling the grub package probably leaves the 
bootloader blocks on the disk, but without update-grub the new kernel will 
never be activated, which could in many cases be a security hole if we don't 
throw an error.
- even if we wanted it to be permissible to remove the grub package and let the 
kernels be installed without auto-updating of the grub menu, the config file 
that tells the kernels to call update-grub, /etc/kernel-img.conf, is not 
managed by the grub package, it's managed by the installer.  So there's no good 
way to have this file changed when grub is removed without significant changes 
to the grub package, which I think would be inappropriate in any case (grub 
itself should not be the bit that decides whether grub gets invoked at kernel 
install time).

So in short, I'm afraid the answer to "the kernels don't install ok when
grub is removed" is "don't remove grub".  If we can find a package
that's forcing grub's removal, then that should be fixed; otherwise,
this is in the category of things you will always be able to do to break
your system, and therefore shouldn't do.  (In the same vein, it will
always be *possible* to remove all kernels from your system - but not a
good idea...)

-- 
Uninstalling grub makes kernel upgrade fail
https://bugs.launchpad.net/bugs/243842
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to