[packagekit] pk-glib2 problem

Richard Hughes hughsient at gmail.com
Wed Sep 16 11:00:05 PDT 2009


2009/9/16 Daniel Nicoletti <dantti85-pk at yahoo.com.br>:
> Well no, for apt what from the package id really matters is
> pkg name and version, and i need the name to match to the internal
> package.

Just create an aptcc function:

gchar* aptcc_convert_package_id_to_name_ver (const gchar *package_id)

and then g_free the result when you're done.

> BTW do you know what i need to do with gdb to see if there is something
> leaking?

Use valgrind. It rocks.

Richard.



More information about the PackageKit mailing list