Bug#1133276: mkosi: Building Debian Images fails (kmod not found)
Manuel Traut
manut at mecka.net
Sat Apr 11 13:10:55 BST 2026
Package: mkosi
Version: 26-2
Severity: normal
X-Debbugs-Cc: manut at mecka.net
Running mkosi on Debian/sid for building a Debian image fails:
$ mkosi --distribution debian --release sid --package linux-image-amd64 --output disk
‣ Running depmod for 6.19.11+deb14-amd64
‣ depmod not found.
Expected output (with mkosi from git):
Automatically determined minimal disk image size as 473.6M, current block device/image size is 473.6M.
File '/work/home/manut/.cache/mkosi/mkosi-workspace-gu1xq3hv/staging/disk.raw' already is of requested size or larger, not growing. (473.6M >= 473.6M)
No changes.
‣ [main] /home/manut/x86/disk.raw size is 473.7M, consumes 315.9M.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64
Kernel: Linux 6.19.10+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mkosi depends on:
ii apt 3.2.0
ii apt-utils 3.2.0
ii btrfs-progs 6.19.1-1
ii cpio 2.15+dfsg-2.1
ii cryptsetup-bin 2:2.8.6-1
ii debian-archive-keyring 2025.1
ii dosfstools 4.2-1.2
ii e2fsprogs 1.47.4-1
ii efitools 1.9.2-5
ii erofs-utils 1.9.1-1
ii fdisk 2.42-2
ii gnupg 2.4.9-4
ii jq 1.8.1-4+b1
ii kmod 34.2-2+b1
ii mtools 4.0.49-1
ii openssl 3.6.1-3
ii pesign 116-8.1
ii python3 3.13.9-3
ii python3-cryptography 46.0.7-1
ii python3-pefile 2024.8.26-2.1
ii squashfs-tools 1:4.7.5-1
ii systemd 260.1-1
ii systemd-boot-efi 260.1-1
ii systemd-boot-tools 260.1-1
ii systemd-container 260.1-1
ii systemd-repart 260.1-1
ii systemd-ukify 260.1-1
ii tpm2-tools 5.7-1
ii ubuntu-keyring 2023.11.28.1-0.2
ii xz-utils 5.8.3-1
ii zstd 1.5.7+dfsg-3+b1
Versions of packages mkosi recommends:
ii archlinux-keyring 0~20251116-1
ii debian-archive-keyring 2025.1
ii distribution-gpg-keys 1.119+ds-1
ii dnf 4.24.0-1
ii ipxe-qemu 2.0.0+dfsg-5
ii ovmf 2025.11-5
ii pacman-package-manager 7.1.0-1
ii qemu-system 1:10.2.2+ds-1
ii systemd-timesyncd 260.1-1
ii ubuntu-keyring 2023.11.28.1-0.2
ii uidmap 1:4.19.3-2
ii virtiofsd 1.13.2-6
ii zypper 1.14.95-1
mkosi suggests no packages.
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list