I had this problem, during an upgrade from Oneiric to the beta of Precise, tonight. For me, it turned out to be a corrupt .deb file, probably the fault of my hardware. It looks like I'm all set now, so all of the below is just for anyone who may be trying to diagnose this bug.
My upgrade was breaking with all the error messages given above. Eventually, I tried "apt-get download libgtk2.0-0", and just ran "dpkg -i" on that deb file. That worked perfectly, and I didn't see any more of the bug. The deb file in apt's cache failed a 'cmp' with the manual download that worked; the first one I got was bad. This machine has had occasional corruption over the network before, so, in my case, I think this was a symptom of a sporadic hardware problem. Of course, I cannot yet say what happened on everyone else's machines, or whether there has also been a software bug here. One speculation: perhaps this isn't really many problem reports, for a package that's probably present in nearly every install. That could possibly fit with the idea that these are symptoms of random data corruptions. In my case, the error output had suggestions the deb was bad: Unpacking replacement libgtk2.0-0 ... dpkg-deb (subprocess): data: internal gzip read error: '<fd:4>: data error' dpkg-deb: error: subprocess <decompress> returned error exit status 2 dpkg: error processing /var/cache/apt/archives/libgtk2.0-0_2.24.10-0ubuntu6_amd64.deb (--unpack): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 This was followed by the messages everyone else has reported. Did anyone else have these signs of corrupted deb archives? Thanks. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gtk+2.0 in Ubuntu. https://bugs.launchpad.net/bugs/829184 Title: Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/*.so: /usr/lib/gtk-2.0/2.10.0/immodules/*.so: cannot open shared object file: No such file or directory /usr/lib/gtk-2.0/2.10.0/immodules/*.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/*.so: cannot open shared object file: No such file or directory Status in “gtk+2.0” package in Ubuntu: Confirmed Bug description: Oneiric a3 i386 dialog box installation output: Traitement des actions différées (« triggers ») pour « libgtk2.0-0 »... Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/*.so: /usr/lib/gtk-2.0/2.10.0/immodules/*.so: cannot open shared object file: No such file or directory /usr/lib/gtk-2.0/2.10.0/immodules/*.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/*.so: cannot open shared object file: No such file or directory Looking at nautilus: there is no "immodules" subfolder, but: - /usr/lib/gtk-2.0/2.10.0/engines/ *.so - /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so - /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so But /usr/lib/gtk-3.0/3.0.0/immodules/ *.so exist ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: libgtk2.0-0 2.24.5-0ubuntu7 ProcVersionSignature: Ubuntu 3.0.0-8.11-generic-pae 3.0.1 Uname: Linux 3.0.0-8-generic-pae i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Fri Aug 19 06:34:01 2011 ProcEnviron: PATH=(custom, no user) LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: gtk+2.0 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/829184/+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

