[fix] Gtk-Message: Failed to load module “pk-gtk-module”Fedora 17
Fedora 17 cuenta con gtk3, como sabrán; muchos programas aún nohan sido portados a esta nueva versión, por lo que al lanzarlosobtenemos un mensaje que dice:
Gtk-Message: Failed to load module"pk-gtk-module"
Para reparar esto, basta con instalar el módulo para gtk-2, paraesto descargaremos el paquete que resolverá el problema:
Para 64 bits
$ wgethttp://dl.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/os/Packages/PackageKit-gtk-module-0.6.19-3.fc16.x86_64.rpm
$ rpm2cpio PackageKit-gtk-module-0.6.19-3.fc16.x86_64.rpm| cpio -idmv
$ su -c 'mv./usr/lib64/gtk-2.0/modules/libpk-gtk-module.so/usr/lib64/gtk-2.0/modules/'
Para 32 bits
$ wgethttp://dl.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/i386/os/Packages/PackageKit-gtk-module-0.6.19-3.fc16.i686.rpm
$ rpm2cpio PackageKit-gtk-module-0.6.19-3.fc16.i686.rpm |cpio -idmv
$ su -c 'mv ./usr/lib/gtk-2.0/modules/libpk-gtk-module.so/usr/lib/gtk-2.0/modules/'
转自:http://blog.sina.com.cn/s/blog_8f31e5b101013og0.html
Failed to load module "pk-gtk-module"
It’s easy to fix, and at some point they’ll probably fix one of the other packages to require it as a dependency, and the problem will go away when you install updates. But here’s how to do it manually. At the command line, become root and give the command:
yum install PackageKit-gtk3-module
That should install it for you and get rid of this error message. There’s a similar package for GTK 2.xx called PackageKit-gtk-module (no “3″) that affects some programs but it was already installed on my systems.