Recently, when attempting to update, it appears that reform-tools is failiing. I’ve tried numerous things e.g removing then reinstalling, but nothing is working.
Here’s a tail of the apt output.
Installing /usr/lib/linux-image-6.18.10-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb into /boot/dtbs/6.18.10-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: installing version 6.18.10-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Errors were encountered while processing:
reform-tools
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Hello @josch Here is everything. Looks like something in the postinst script isn’t working?
Setting up reform-tools (1.84-1+reform20260128T083307Z+1)…
I: Now running: /usr/share/kernel/postinst.d/zz-reform-tools 6.15.3-mnt-reform-arm64 /boot/vmlinuz-6.15.3-mnt-reform-arm64
I: with DEB_MAINT_PARAMS=configure
W: no dtb for rockchip/rk3588-mnt-desktop-reform.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for amlogic/meson-g12b-bananapi-cm4-mnt-pocket-reform.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for rockchip/rk3588-mnt-pocket-reform.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for freescale/imx8mp-mnt-pocket-reform.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for freescale/imx8mq-mnt-reform2-hdmi.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for amlogic/meson-g12b-bananapi-cm4-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for freescale/fsl-ls1028a-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for qcom/qcs6490-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for qcom/qcs8550-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for rockchip/rk3588-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for rockchip/rk3588-mnt-reform2-dsi.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
W: no dtb for freescale/imx8mp-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb -- skipping...
E: no dtb for freescale/imx8mq-mnt-reform2.dtb in /usr/lib/modules/6.15.3-mnt-reform-arm64/dtb but is required for this platform
dpkg: error processing package reform-tools (--configure):
old reform-tools package postinst maintainer script subprocess failed with exit status 1
Processing triggers for flash-kernel (3.110+reform20260112T221244Z+1)…
Using DTB: freescale/imx8mq-mnt-reform2.dtb
Installing /usr/lib/linux-image-6.18.10-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb into /boot/dtbs/6.18.10-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: installing version 6.18.10-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Processing triggers for initramfs-tools (0.150)…
update-initramfs: Generating /boot/initrd.img-6.18.10-mnt-reform-arm64
W: No zstd in /usr/bin:/sbin:/bin, using gzip
I: The initramfs will attempt to resume from /dev/nvme0n1p2
I: (UUID=71152579-d3f4-4b4b-a748-8d845265a396)
I: Set the RESUME variable to override this.
Using DTB: freescale/imx8mq-mnt-reform2.dtb
Installing /usr/lib/linux-image-6.18.10-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb into /boot/dtbs/6.18.10-mnt-reform-arm64/freescale/imx8mq-mnt-reform2.dtb
Taking backup of imx8mq-mnt-reform2.dtb.
Installing new imx8mq-mnt-reform2.dtb.
flash-kernel: installing version 6.18.10-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Errors were encountered while processing:
reform-tools
Error: Sub-process /usr/bin/dpkg returned an error code (1)
@josch you gave me the clue here. It was the empty directories that caused it. The kernels were no longer there so I’m not sure why they ‘stuck’. Anyway, all fixed! Thanks.
The directories were completely empty? Did you already remove them? I’d like to see more diagnostic output before you remove these directories so that we can figure out why it happened and prevent this from happening to the next person.