On Tue, Jan 7, 2014 at 9:53 AM, Frank Murphy frankly3d@gmail.com wrote:
On Tue, 07 Jan 2014 09:48:16 +0100 Vít Ondruch vondruch@redhat.com wrote:
Dne 6.1.2014 23:26, Chris Murphy napsal(a):
Since "* remove kernel" appears to be inspecific, removing all kernels isn't what I'd expect. It's not how mv or cp or anything else would work.
So why not turn this around. In case somebody is doing "dnf remove kernel" and dnf will figures out that there is more packages, then it should fail and ask user to be more specific. That way dnf could behave consistently and user would have to go with "dnf remove kernel*" to explicitly specify, that (s)he wants to remove all kernels.
Vít
dnf remove kernel --all
I assume you're suggestion that `dnf remove kernel` should only remove the latest kernel.
It wouldn't change the fact that removing only the latest installonly package could most likely remove the running kernel, which is the main issue here.
Regards, Frank www.frankly3d.com
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct