Comment 8 for bug 1951705

Revision history for this message
Oli D (oliver.drechsler) wrote :

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#