Out of a discussion with Renan. On the system that worked, this triggers it again as it will run apt- cache policy.
root@n:~# pro attach C1FTFZ9LbGLJWbJdbXhT9twkhymSQ An unexpected error occurred: 'utf-8' codec can't decode byte 0xa0 in position 18: invalid start byte For more details, see the log: /var/log/ubuntu-advantage.log If you think this is a bug, please run: ubuntu-bug ubuntu-advantage-tools root@n:~# pro detach An unexpected error occurred: 'utf-8' codec can't decode byte 0xa0 in position 18: invalid start byte For more details, see the log: /var/log/ubuntu-advantage.log If you think this is a bug, please run: ubuntu-bug ubuntu-advantage-tools The problem is that the problem that this was is fixed "apt list --installed". But this turns out to now be other calls, in that case apt-cache policy. root@n:~# apt-cache policy Fichiers du paquet�: 100 /var/lib/dpkg/status ... You see the bad char here. So it is more that all kind of calls could return unparseable, based on the language settings, and hit a bug quite similar to this. So it seems: - the original bug is actually fixed - at least one more similar case is open still - If we can we will try to ignore parsing errors kind of everywhere. - If not, then this would need to become a new issue as it would need a bigger fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060769 Title: pro-client execs `apt list --installed` instead of using python3-apt - leading to utf-8 errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2060769/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs