Bug#1108264: systemd-boot.postinst: 50: cannot open /boot/efi/EFI/debian/shimx64.efi: No such file

Martin-Éric Racine martin-eric.racine at iki.fi
Tue Jun 24 13:21:43 BST 2025


Package: systemd-boot
Version: 257.6-1
Severity: normal
X-Debbugs-Cc: martin-eric.racine at iki.fi

$ sudo LC_ALL=C dpkg -i shim-signed*
(Reading database ... 146251 files and directories currently installed.)
Preparing to unpack shim-signed_1.46+15.8-1_amd64.deb ...
Unpacking shim-signed:amd64 (1.46+15.8-1) over (1.46+15.8-1) ...
Preparing to unpack shim-signed-common_1.46+15.8-1_all.deb ...
Unpacking shim-signed-common (1.46+15.8-1) over (1.46+15.8-1) ...
Setting up shim-signed-common (1.46+15.8-1) ...
No DKMS packages installed: not changing Secure Boot validation state.
Setting up shim-signed:amd64 (1.46+15.8-1) ...
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for systemd-boot (257.6-1) ...
/var/lib/dpkg/info/systemd-boot.postinst: 50: cannot open /boot/efi/EFI/debian/shimx64.efi: No such file
rmdir: failed to remove '/boot/efi/EFI/debian': No such file or directory

$ sudo tree /boot/efi/
/boot/efi/
├── 1abae6f7114041bd9af42d1affea7e1d
│   ├── 6.12.31-amd64
│   │   ├── initrd.img-6.12.31-amd64
│   │   └── linux
│   └── 6.12.32-amd64
│       ├── initrd.img-6.12.32-amd64
│       └── linux
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── Linux
│   └── systemd
│       └── systemd-bootx64.efi
└── loader
    ├── entries
    │   ├── 1abae6f7114041bd9af42d1affea7e1d-6.12.31-amd64.conf
    │   └── 1abae6f7114041bd9af42d1affea7e1d-6.12.32-amd64.conf
    ├── entries.srel
    ├── keys
    ├── loader.conf
    └── random-seed

11 directories, 11 files



-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.32-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd-boot depends on:
ii  libc6               2.41-9
ii  libsystemd-shared   257.6-1
ii  systemd             257.6-1
ii  systemd-boot-efi    257.6-1
ii  systemd-boot-tools  257.6-1

Versions of packages systemd-boot recommends:
ii  efibootmgr   18-2
ii  shim-signed  1.46+15.8-1

Versions of packages systemd-boot suggests:
pn  systemd-ukify  <none>

-- no debconf information


More information about the Pkg-systemd-maintainers mailing list