Description of problem:
When selecting certain items, pirut removes the kernel.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run pirut
2. Deselect certain packages
The dependencies will include the kernel. If you are not careful, you would
destroy your system.
pirut should not uninstall the kernel. It's a GUI, so at the very least it
should be put in a separate list with big warning signs. In RHEL up2date always
excluded the kernel for update (let alone removal).
We should really warn people when they are going to have an unusable system.
The following packages, when deselected in pirut, will also remove the kernel:
and so on...
There is a blacklist of "can't return from here" that we throw up a big and
scary warning about breaking your system. The problem with kernel is that it
could well be being removed if you've got kernel-xen or kernel-PAE installed as
So I'm not against extending the blacklist, I just want to make sure we're okay
with what it actually means...
Not that I have any say here, but I think that we should err on the side of
caution. It is a GUI, so it is likely that there will be users that use the
app, not knowing exactly what it is doing. If I were an advanced user, I would
know that I can safely ignore the error because I have a different kernel.
I think that it is important that we let the users know if they have the
potential to destroy their system, like remove the kernel.
In fact, is there a reason that we don't include Base and Core from comps.xml?
(In reply to comment #3)
> In fact, is there a reason that we don't include Base and Core from comps.xml?
Because there are a lot of packages there (especially in Base) which are
perfectly valid to remove.
Added kernels to pirut-1.3.5