getting rid of yum

Lars E. Pettersson lars at homer.se
Tue Dec 16 20:27:16 UTC 2014


On 12/16/14 09:31, Jan Zelený wrote:
> On 15. 12. 2014 at 13:03:54, Chris Murphy wrote:
...
>> I suggest being really skeptical of dnf erase suggestions. It can be
>> brutal (don't try dnf erase kernel for example, it'll remove all
>> kernels including the running one).
>
> This is not true, the issue was fixed quite some time ago:

On a system recently updated from f20 to f21:

# dnf erase kernel
...
Removing:
  kernel         x86_64         3.17.4-301.fc21            @System 
      0
  kernel         x86_64         3.17.4-302.fc21            @System 
      0
  kernel         x86_64         3.17.6-300.fc21            @System 
      0
...
# uname -a
Linux tux 3.17.6-300.fc21.x86_64 #1 SMP Mon Dec 8 22:29:32 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

> [root at boson ~]# dnf erase kernel
> Dependencies resolved.
> Error: The operation would result in removing the booted kernel:

How come our systems behave differently?

Lars
-- 
Lars E. Pettersson <lars at homer.se>
http://www.sm6rpz.se/


More information about the users mailing list