CM4 8GB/32GB eMMC, official Bullseye image: error installing upgrade to devterm-thermal-printer

Ok, I got my printer working again, after using these commands to get information about what was installed:

apt-cache policy devterm-thermal-printer
apt-cache policy devterm-thermal-printer-cm4
apt-cache policy devterm-thermal-printer-cups

In my case, after updating it only had …-printer and …-printer-cups installed. But …printer-cm4 was NOT installed. When I installed …printer-cm4, it removed …printer. But THAT caused printing to work again!

So apparently with the CM4 based Devterm, we don’t want to have devterm-thermal-printer installed and ONLY want to have devterm-thermal-printer-cm4 and devterm-thermal-printer-cups installed.

Here’s what things look like for my (working) printer now:

cpi@devterm-cm4:~ $ apt-cache policy devterm-thermal-printer
devterm-thermal-printer:
  Installed: (none)
  Candidate: 0.38
  Version table:
     0.38 500
        500 https://raw.githubusercontent.com/clockworkpi/apt/main/debian stable/main arm64 Packages
cpi@devterm-cm4:~ $ apt-cache policy devterm-thermal-printer-cm4
devterm-thermal-printer-cm4:
  Installed: 0.11
  Candidate: 0.11
  Version table:
 *** 0.11 500
        500 https://raw.githubusercontent.com/clockworkpi/apt/main/debian stable/main arm64 Packages
        100 /var/lib/dpkg/status
cpi@devterm-cm4:~ $ apt-cache policy devterm-thermal-printer-cups
devterm-thermal-printer-cups:
  Installed: 0.12.1
  Candidate: 0.12.1
  Version table:
 *** 0.12.1 500
        500 https://raw.githubusercontent.com/clockworkpi/apt/main/debian stable/main arm64 Packages
        100 /var/lib/dpkg/status