Comment 44 for bug 389766

Revision history for this message
Ladsy (tempo1) wrote :

Hi,

I'm on Precise Ubuntu 12.04 x86_64
Each time I launch synaptic under root.
user@machine:sudo su
root@machine:/usr/lib/gtk-2.0/modules# synaptic
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

I had this issue and finish by resolve with 2 things

>Gtk-Message: Failed to load module "canberra-gtk-module"
just solving by install : libcanberra-gtk-module

> Gtk-Message: Failed to load module "pk-gtk-module"
My dirty workaround to be quiet is to work with : packagekit-gtk-module from Natty (the most recent package who give "libpk-gtk-module.so"
- download : http://packages.ubuntu.com/natty/packagekit-gtk-module
- in the file packagekit-gtk-module_0.6.11-2ubuntu3_amd64.deb
- uncompress and find the file libpk-gtk-module.so
- create the directory : mkdir /usr/lib/gtk-2.0/modules/
- just cp libpk-gtk-module.so into /usr/lib/gtk-2.0/modules/

After that ... synaptic launch without any error message.

Remarks:
I found this on internet :
write via gconf-editor /apps/gnome_settings_daemon/gtk-modules/pk-gtk-module to false.
On Precise, the jey doesn't exist ... and it's useless.

Now I suggest ... or the gtk2 application are all translated in gtk3 (hard) ... or Ubuntu included each time the old gtk2.0 to have a good compliancy.

Hoping, that's could help.