apt-get install libcanberra-gtk-model works for me.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libcanberra in Ubuntu.
https://bugs.launchpad.net/bugs/872172
Title:
libcanberra-gtk0 should recommend Gtk2 and Gtk3 module to fix: Gtk-
Message: Failed to load module "canberra-gtk-module"
Status in “libcanberra” package in Ubuntu:
Triaged
Bug description:
Trying to run any Gtk 3 application in Oneiric, I am getting the following
message/error:
% ubuntu-bug
Gtk-Message: Failed to load module "canberra-gtk-module"
libcanberra-gtk-module only ships this file:
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
When setting the GTK_PATH explicitly, it fails to load like this:
% export GTK_PATH=:/usr/lib/gtk-2.0
% ubuntu-bug
(apport-gtk:12816): Gtk-WARNING **: GTK+ module
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is
not supported.
Gtk-Message: Failed to load module "canberra-gtk-module"
The fix/workaround appears to be installing libcanberra-gtk3-module,
or removing libcanberra-gtk-module, which is only being installed as a
recommendation for transmission-gtk (in this case):
% aptitude why libcanberra-gtk-module
i libcanberra-gtk0 Recommends libcanberra-gtk-module
% aptitude search '?depends(libcanberra-gtk0)' | awk '{print $2}'
balsa
gnome-panel
gnome-session-canberra
gnubg
gok
libbrasero-media1
libcanberra-gtk-dev
libcanberra-gtk-module
libcanberra-gtk0-dbg
libcheese-gtk18
metacity
transmission-gtk
wallch
xchat-gnome
I think that libcanberra-gtk0 should not only recommend the Gtk 2 module, but
also the Gtk 3 one.
So the "Recommends: libcanberra-gtk-module" should become "Recommends:
libcanberra-gtk-module, libcanberra-gtk3-module".
WORKAROUND:
1. sudo apt-get install libcanberra-gtk3-module
or
2. sudo apt-get purge libcanberra-gtk-module
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libcanberra-gtk-module 0.28-0ubuntu10
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Tue Oct 11 10:12:05 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LC_TIME=de_DE.UTF-8
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/usr/bin/zsh
SourcePackage: libcanberra
UpgradeStatus: Upgraded to oneiric on 2011-09-29 (11 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcanberra/+bug/872172/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp