hi, getting this when trying to upgrade after doing an apt upgrade
and finding it broken afterwards:
❯ sudo apt reinstall devterm-thermal-printer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
devterm-thermal-printer
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
58 not fully installed or removed.
Need to get 0 B/41.2 kB of archives.
After this operation, 168 kB disk space will be freed.
Reading changelogs... Done
(Reading database ... 128341 files and directories currently installed.)
Preparing to unpack .../devterm-thermal-printer_0.38_arm64.deb ...
Failed to stop devterm-printer.service: Unit devterm-printer.service not loaded.
Failed to stop devterm-socat.service: Unit devterm-socat.service not loaded.
Failed to disable unit: Unit file devterm-printer.service does not exist.
Failed to disable unit: Unit file devterm-socat.service does not exist.
dpkg: warning: old devterm-thermal-printer package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to stop devterm-printer.service: Unit devterm-printer.service not loaded.
Failed to stop devterm-socat.service: Unit devterm-socat.service not loaded.
Failed to disable unit: Unit file devterm-printer.service does not exist.
Failed to disable unit: Unit file devterm-socat.service does not exist.
dpkg: error processing archive /var/cache/apt/archives/devterm-thermal-printer_0.38_arm64.deb (--unpack):
new devterm-thermal-printer package pre-removal script subprocess returned error exit status 1
Failed to enable unit: Unit file devterm-socat.service does not exist.
Failed to start devterm-socat.service: Unit devterm-socat.service not found.
Failed to enable unit: Unit file devterm-printer.service does not exist.
Failed to start devterm-printer.service: Unit devterm-printer.service not found.
chmod: cannot access '/usr/local/bin/devterm_socat.sh': No such file or directory
dpkg: error while cleaning up:
installed devterm-thermal-printer package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/devterm-thermal-printer_0.38_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
╭─ │ ~ ▓▒░────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ 100 ✘ │ took 5s │ at 02:05:02 AM ─╮
╰─
anyone know if there is a known fix for this?