ok AI helped fix this one... here's the found cause and solution:

Root cause:
The installed triggers file /var/lib/dpkg/info/libp8-platform2:amd64.triggers 
was corrupted. The valid directive "activate-noawait" read as 
"abtIvate-n/await". All three differences are single-bit flips:
  c (0x63) -> b (0x62)  bit 0
  i (0x69) -> I (0x49)  bit 5
  o (0x6F) -> / (0x2F)  bit 6
Three independent bit flips in one 16-byte string points to hardware (RAM or 
storage path), not a packaging defect. The cached .deb was intact.

Resolution:
1. Compared the installed triggers file against the copy in the cached .deb 
(dpkg-deb -I <deb> triggers). The .deb copy was correct: "activate-noawait 
ldconfig".
2. Restored the file from the .deb control archive, configured pending 
packages, and completed the upgrade:
   dpkg-deb --ctrl-tarfile <deb> | tar -xO ./triggers | tee 
/var/lib/dpkg/info/libp8-platform2:amd64.triggers
   dpkg --configure -a && apt full-upgrade
Upgrade completed successfully.

Damage assessment:
- No other malformed directives in /var/lib/dpkg/info/*.triggers (grep check)
- dpkg --verify found no other installed files failing checksums

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172243

Title:
  package libp8-platform2 2.1.0.1+dfsg1-4 failed to install/upgrade:
  triggers package metadata file
  '/var/lib/dpkg/info/libp8-platform2:amd64.triggers' contains unknown
  directive 'abtIvate-n/await'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/p8-platform/+bug/2172243/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to