[packagekit] Transaction error

Domenico Panella pandom79 at gmail.com
Fri Jan 29 18:00:19 UTC 2021


Hi,

I am developing the packagekit backend for my distro.
I have a problem about the transactions.
When i try to install/remove a package, the first time it works fine, the
next
transactions fail instead.
After careful debugging, I have seen that some static variables of the
package
manager library hold the value instead of being reinitialized after each
transaction.
How can i fix that?
It seems how if the memory area where the static variables are allocated
(Data
segment) is not cleaned after each transaction.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/packagekit/attachments/20210129/3272aa6a/attachment.htm>


More information about the PackageKit mailing list