Hi everyone, i followed your thread and i've the same error as reported above on my Raspberry Pi 4 with ubuntu server 20.04. Now I can confirm that the above pull request solved the (and my) problem! I changed the package on my system, applied the patch/fix manual with the GitHub PullRequest fix and my install worked!!!. So please merge the GH PR and everything will be fine.
Here's my steps and output: root:/# cp /var/cache/apt/archives/ubuntu-advantage-tools_27.4.1~20.04.1_arm64.deb /usr/src root:/usr/src# cd /usr/src root:/usr/src# mkdir ubuntu-advantage-tools root:/usr/src# dpkg-deb -R ubuntu-advantage-tools_27.4.1~20.04.1_arm64.deb ubuntu-advantage-tools root:/usr/src# vi ubuntu-advantage-tools/DEBIAN/postinst. #applied changed from GitHub pr to file root:/usr/src# dpkg-deb -b ubuntu-advantage-tools ubuntu-advantage-tools_27.4.1-fix~20.04.1_arm64.deb root:/usr/src# dpkg -i ubuntu-advantage-tools_27.4.1-fix~20.04.1_arm64.deb (Lese Datenbank ... 162018 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von ubuntu-advantage-tools_27.4.1-fix~20.04.1_arm64.deb ... Entpacken von ubuntu-advantage-tools (27.4.1~20.04.1) über (27.4.1~20.04.1) ... ubuntu-advantage-tools (27.4.1~20.04.1) wird eingerichtet ... Trigger für man-db (2.9.1-1) werden verarbeitet ... root:/usr/src# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1951705 Title: traceback from postinst on upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1951705/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs