Skip to content

efibootmgr: post-remove kernel hook error when removing old kernel package #13133

Description

@ackalker

System

  • xuname:
    Void 5.1.17_1 x86_64 GenuineIntel uptodate rrrrmdFFFFFFFFF
  • package:
    efibootmgr-17_3

Expected behavior

When removing old kernel package (using for instance vkpurge rm), the post-install kernel hooks should finish without any errors due to bugs.

Actual behavior

When I removed an old kernel on my system using vkpurge rm, the 50-efibootmgr post-install kernel hook produced the error: efibootmgr: option requires an argument -- 'b'

Steps to reproduce the behavior

  • On a system with multiple kernel packages installed, use xbps-remove or vkpurge rm to remove a kernel package version which is in the same major.minor range but older than the latest installed version in that range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions