Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#77765 - [systemd-253.1-2] ukify depends on python-pefile

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Tuesday, 07 March 2023, 16:54 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 07 March 2023, 21:09 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


$ /usr/lib/systemd/ukify /boot/vmlinuz-linux-zen /boot/initramfs-linux-zen.img --os-release @/etc/os-release --cmdline @/etc/kernel/cmdline
Host arch 'x86_64', EFI arch 'x64'
Kernel version not specified, starting autodetection 😖.
Found uname version: 6.2.2-zen1-1-zen
Traceback (most recent call last):
File "/usr/lib/systemd/ukify", line 784, in <module>
File "/usr/lib/systemd/ukify", line 780, in main
File "/usr/lib/systemd/ukify", line 519, in make_uki
uki = UKI(opts.stub)
File "<string>", line 5, in __init__
File "/usr/lib/systemd/ukify", line 276, in __post_init__
self.offset = round_up(pe_next_section_offset(self.executable))
File "/usr/lib/systemd/ukify", line 81, in pe_next_section_offset
import pefile
ModuleNotFoundError: No module named 'pefile'

python-pefile could be an optional dependancy, or a dependancy of systemd
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 07 March 2023, 21:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#77529