Package: memtest86+
Version: 8.00-1
Severity: normal
# dpkg --configure -a
Setting up memtest86+ (8.00-1) ...
cp: cannot stat '/boot/memtest86+x64.efi': No such file or directory
dpkg: error processing package memtest86+ (--configure):
installed memtest86+ package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
memtest86+
I get the above errors when trying to configure it.
if [ -e /boot/efi/EFI/systemd/systemd-bootx64.efi ] ; then
mkdir -p /boot/efi/loader/entries
mkdir -p /boot/efi/EFI/memtest86+/
echo "title Memtest86+
efi /EFI/memtest86+/memtest86+x64.efi" >/boot/efi/loader/entries/memtest.conf
cp /boot/memtest86+x64.efi
/boot/efi/EFI/memtest86+/memtest86+x64.efi
fi
The above is the relevant section of the postinst, so when
/boot/efi/EFI/systemd/systemd-bootx64.efi exists (IE the system is configure
to boot with systemd-boot) it will try to copy /boot/memtest86+x64.efi which
doesn't exist, it's now in /usr/lib/memtest86+/memtest86+x64.iso .
So it looks like the postinst needs to extract the file from the iso.
-- System Information:
Debian Release: forky/sid
Architecture: amd64 (x86_64)
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/44 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages memtest86+ depends on:
ii grub-common 2.14~git20250718.0e36779-2
ii grub2-common [grub-common] 2.14~git20250718.0e36779-2
memtest86+ recommends no packages.
Versions of packages memtest86+ suggests:
pn grub-efi | grub-pc <none>
pn memtester <none>
ii mtools 4.0.49-1
-- debconf-show failed