projg2 / eclean-kernel

Installed kernel cleanup tool
GNU General Public License v2.0
31 stars 10 forks source link

NameError("name 'errno' is not defined",) #3

Closed STrRedWolf closed 4 years ago

STrRedWolf commented 4 years ago

Getting this message:

sandra /usr/src/linux # eclean-kernel -n3
* Removing kernel 5.2.11-sandra (not referenced by bootloader (grub2))
- /boot/vmlinuz-5.2.11-sandra
- /boot/System.map-5.2.11-sandra
- /boot/config-5.2.11-sandra
- /lib/modules/5.2.11-sandra
- /usr/src/linux-5.2.11
* Removing kernel 5.2.9-sandra (not referenced by bootloader (grub2))
- /boot/vmlinuz-5.2.9-sandra
- /boot/System.map-5.2.9-sandra
- /boot/config-5.2.9-sandra
- /lib/modules/5.2.9-sandra
- /usr/src/linux-5.2.9
* Removing kernel 5.2.8-sandra (not referenced by bootloader (grub2))
- /boot/vmlinuz-5.2.8-sandra
- /boot/System.map-5.2.8-sandra
- /boot/config-5.2.8-sandra
- /lib/modules/5.2.8-sandra
- /usr/src/linux-5.2.8
* Removing kernel 5.2.1-sandra (not referenced by bootloader (grub2))
- /boot/vmlinuz-5.2.1-sandra
- /boot/System.map-5.2.1-sandra
- /boot/config-5.2.1-sandra
- /lib/modules/5.2.1-sandra
- /usr/src/linux-5.2.1
Removed 4 kernels
eclean-kernel has met the following issue:

  NameError("name 'errno' is not defined",)

If you believe that the mentioned issue is a bug, please report it
to https://github.com/mgorny/eclean-kernel/issues. If possible,
please attach the output of 'eclean-kernel --list-kernels' and your
regular eclean-kernel call with additional '--debug' argument.
sandra /usr/src/linux # 
mgorny commented 4 years ago

I think this is fixed now in git master. However, the code is undergoing major changes, so you may want to wait a bit more before trying it.