Comment 7 for bug 1813442

Revision history for this message
Juanmi Taboada (juanmitaboada) wrote :

I got deeper into this problem and found that it was happening because we were using "version.record" which is the source of the failure.

Since we don't want to mess up with the UnicodeDecodeError still happening in the apt package, I decided to switch the way the dependencies information is readen from the package, and I removed "version.record" from the code so it doesn't try to parse the broken data anymore.

Also, I discovered in the original source code that "PreDepends" was empty in all my tests. Now it has information as I think it should work. I would like somebody to check my solution in search of some collateral problems with the new "PreDepends".

The PR that resolves this BUG:
https://github.com/CanonicalLtd/landscape-client/pull/152

Thank you,