[Solved] Upgrade failed: 709-reform-tools_1.63_all.deb and 710-reform-branding_1_all.deb

It’s been a while so I decided to apt update the Pocket Reform with the original chipset from the Kickstarter. Over 800 packages!

Errors were encountered while processing:
 /tmp/apt-dpkg-install-jBiJUJ/709-reform-tools_1.63_all.deb
 /tmp/apt-dpkg-install-jBiJUJ/710-reform-branding_1_all.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Was there something I missed?

alex@subterraneobombus ~ [100]> apt search reform-tools
reform-branding/reform 1 all
  Company logo of MNT Research GmbH in multiple formats

reform-tools/reform 1.63 all [upgradable from: 1.56]
  MNT System Tools for MNT Reform and MNT Pocket Reform

alex@subterraneobombus ~> apt search reform-branding
reform-branding/reform 1 all
  Company logo of MNT Research GmbH in multiple formats

Now, my /etc/apt/sources.list does say:

deb http://deb.debian.org/debian trixie main
deb http://deb.debian.org/debian trixie-updates main
deb http://security.debian.org/debian-security trixie-security main

So perhaps I need to do something? I rember Josch saying at the time:

The one point of pain may be that after the trixie release, the MNT repositories will continue to build packages for unstable which will work for a while but will break after new uploads of glibc and friends. So in the future, you might want to switch out the MNT repo for the Debian stable repositories on reform.debian.net which are currently only serving packages for bookworm and not trixie.

My /etc/debian_version says trixie/sid. My /etc/apt/sources.list.d/mntre.sources still says:

Types: deb
URIs: https://mntre.com/reform-debian-repo
Suites: reform
Components: main
Architectures: arm64
Trusted: yes

Please run this and report the error messages in full:

sudo apt install reform-tools reform-branding reform-handbook

And the problem is gone! What I did, yesterday:

sudo apt-mark hold reform-tools
sudo apt upgrade

And today:

alex@subterraneobombus ~> sudo apt-mark unhold reform-tools
Canceled hold on reform-tools.
alex@subterraneobombus ~> sudo apt install reform-tools reform-branding reform-handbook
reform-handbook is already the newest version (2024-08-19+dfsg-1).
The following packages were automatically installed and are no longer required:
  libfmt9            libnma0                                linux-kbuild-6.11.2
  libical3t64        linux-headers-6.11.2-common            network-manager-gnome
  libmbedcrypto7t64  linux-headers-6.11.2-mnt-reform-arm64  python3-requests-toolbelt
  libnma-common      linux-image-6.11.2-mnt-reform-arm64    reform-qcacld2-6.11.4-mnt-reform-arm64
Use 'sudo apt autoremove' to remove them.

Upgrading:
  reform-tools

Installing:
  reform-branding

Summary:
  Upgrading: 1, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 0 B / 611 kB
  Space needed: 63.5 kB / 77.4 GB available

Continue? [Y/n] 
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 293528 files and directories currently installed.)
Preparing to unpack .../reform-tools_1.63_all.deb ...
Unpacking reform-tools (1.63) over (1.56) ...
Removing obsolete conffile /etc/modprobe.d/reform.conf ...
Preparing to unpack .../reform-branding_1_all.deb ...
Unpacking reform-branding (1) ...
Setting up reform-branding (1) ...
Setting up reform-tools (1.63) ...
E: /etc/apt/sources.list.d/mntre.sources has insecure permissions 0666 -- setting it to 644...
Processing triggers for flash-kernel (3.108+reform1) ...
Using DTB: freescale/imx8mp-mnt-pocket-reform.dtb
Installing /usr/lib/linux-image-6.11.10-mnt-reform-arm64/freescale/imx8mp-mnt-pocket-reform.dtb into /boot/dtbs/6.11.10-mnt-reform-arm64/freescale/imx8mp-mnt-pocket-reform.dtb
Taking backup of imx8mp-mnt-pocket-reform.dtb.
Installing new imx8mp-mnt-pocket-reform.dtb.
flash-kernel: installing version 6.11.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.145) ...
update-initramfs: Generating /boot/initrd.img-6.11.10-mnt-reform-arm64
Using DTB: freescale/imx8mp-mnt-pocket-reform.dtb
Installing /usr/lib/linux-image-6.11.10-mnt-reform-arm64/freescale/imx8mp-mnt-pocket-reform.dtb into /boot/dtbs/6.11.10-mnt-reform-arm64/freescale/imx8mp-mnt-pocket-reform.dtb
Taking backup of imx8mp-mnt-pocket-reform.dtb.
Installing new imx8mp-mnt-pocket-reform.dtb.
Installing /usr/lib/linux-image-6.11.10-mnt-reform-arm64/freescale/imx8mp-mnt-pocket-reform.dtb into /boot/dtbs/6.11.10-mnt-reform-arm64/freescale/imx8mp-mnt-pocket-reform.dtb
Taking backup of imx8mp-mnt-pocket-reform.dtb.
Installing new imx8mp-mnt-pocket-reform.dtb.
flash-kernel: installing version 6.11.10-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libglib2.0-0t64:arm64 (2.82.2-3) ...
Processing triggers for fontconfig (2.15.0-1.1+b1) ...