[fix] Gtk-Message: Failed to load module “pk-gtk-module” Fedora 17

[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.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值