Installed size: 52 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
Erasing : kernel-core-4.8.6-300.fc25.x86_64 1/1
warning: file /lib/modules/4.8.6-300.fc25.x86_64/updates: remove failed: No such file or directory
Verifying : kernel-core-4.8.6-300.fc25.x86_64 1/1
Two things; firstly F25 build seems to have a machine-id
--- 691008ddc87a434 02
[root@dib-xenial /]# cat /etc/machine-id
afcaeb9a88f5444
---
but also works without a machine-id
--- core-0: 4.8.6-300. fc25.x86_ 64 core-0: 4.8.6-300. fc25.x86_ 64 ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
[root@dib-xenial /]# dnf repoquery --installonly --latest-limit=-1 -q
kernel-
[root@dib-xenial /]# dnf remove -y kernel-
Dependencies resolved.
=======
Package Arch Version Repository Size
=======
Removing:
kernel-core x86_64 4.8.6-300.fc25 @anaconda 52 M
Transaction Summary ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
Remove 1 Package
Installed size: 52 M core-4. 8.6-300. fc25.x86_ 64 1/1 4.8.6-300. fc25.x86_ 64/updates: remove failed: No such file or directory core-4. 8.6-300. fc25.x86_ 64 1/1
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
Erasing : kernel-
warning: file /lib/modules/
Verifying : kernel-
Removed: core.x86_ 64 4.8.6-300.fc25
kernel-
Complete!
---