Skip to content

Using The Command After Compiling With Python Packaging (following non-debian install instructions) Returns With Error "No module named 'debian'" #45

Description

@ColAlexsanders

Package manager: pacman/yay
Distro: Arch

Below are the tracebacks for two commands:

sudo kernelstub --help
Traceback (most recent call last):
  File "/usr/bin/kernelstub", line 44, in <module>
    from kernelstub import application
  File "/usr/lib/python3.14/site-packages/kernelstub/application.py", line 59, in <module>
    from . import kernel_option as KernelOption
  File "/usr/lib/python3.14/site-packages/kernelstub/kernel_option.py", line 3, in <module>
    from debian.changelog import Version
ModuleNotFoundError: No module named 'debian'

sudo kernelstub -o "intel_iommu=on"
Traceback (most recent call last):
  File "/usr/bin/kernelstub", line 44, in <module>
    from kernelstub import application
  File "/usr/lib/python3.14/site-packages/kernelstub/application.py", line 59, in <module>
    from . import kernel_option as KernelOption
  File "/usr/lib/python3.14/site-packages/kernelstub/kernel_option.py", line 3, in <module>
    from debian.changelog import Version
ModuleNotFoundError: No module named 'debian'

The problem's easy to identify, I just don't know how much of the code would need to get refactored since there's a lot of code in kernel_option.py which relies on that module lol

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions