Gtk-Message: Failed to load module “pk-gtk-module”

After upgrading to GNOME 3, I encountered this error message after running a zenity-based application : “Gtk-Message: Failed to load module “pk-gtk-module”

To look after a special file, you should use apt-file program.

root@localhost:~# apt-file update && apt-file search pk-gtk-module

gnome-packagekit: /usr/lib/gnome-settings-daemon-3.0/gtk-modules/gpk-pk-gtk-module.desktop
packagekit-dbg: /usr/lib/debug/usr/lib/gtk-3.0/modules/libpk-gtk-module.so
packagekit-gtk3-module: /usr/lib/gtk-3.0/modules/libpk-gtk-module.so

Install all these packages :

root@localhost:~#apt-get install gnome-packagekit packagekit-dbg packagekit-gtk3-module

The problem is finally solved.

Advertisements

5 thoughts on “Gtk-Message: Failed to load module “pk-gtk-module”

      • In Fedora only you must change ‘apt-get ‘ and type ‘yum’ as root:

        yum install gnome-packagekit packagekit-dbg packagekit-gtk3-module

        that’s all 😉

  1. It doesn’t work
    I get nothing:
    $ apt-file update && apt-file search pk-gtk-module
    Ignoring source without Contents File:
    http://redirect/ubuntu/dists/lucid/Contents-amd64.gz
    Ignoring source without Contents File:
    http://redirect/ubuntu/dists/lucid-updates/Contents-amd64.gz
    Ignoring source without Contents File:
    http://redirect/ubuntu/dists/lucid/Contents-amd64.gz
    Ignoring source without Contents File:
    http://redirect/ubuntu/dists/lucid-updates/Contents-amd64.gz
    Ignoring source without Contents File:
    http://redirect/ubuntu/dists/lucid/Contents-amd64.gz
    Ignoring source without Contents File:
    http://redirect/ubuntu/dists/lucid-updates/Contents-amd64.gz
    Ignoring source without Contents File:
    http://ppa.launchpad.net/rabbit/ppa/ubuntu/dists/lucid/Contents-amd64.gz
    Ignoring source without Contents File:
    http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu/dists/lucid/Contents-amd64.gz

    • Did you comment the lines concerning PPA sources before issuing apt-get update && apt-file search pk-gtk-module?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s