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

Bug #829184 reported by dino99
76
This bug affects 15 people
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Expired
Undecided
Unassigned

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)

Revision history for this message
dino99 (9d9) wrote :
dino99 (9d9)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+2.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Still there with Oneiric i386 b2
Similar ibus issue: Bug #646954

Revision history for this message
Sam_ (and-sam) wrote :

Fragments from terminal output.

libgtk2.0-0 (2.24.6-0ubuntu4) prepared ...

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

(gtk-update-icon-cache:14512): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
## repeated many times.

gir1.2-gdkpixbuf-2.0 (2.24.0-1ubuntu1) prepared ....

Revision history for this message
rec9140 (rec9140) wrote :

KUbunru B2 updated 9/30/11, still present.

Revision history for this message
Sam_ (and-sam) wrote :

Maybe a dependency issue with light-themes? Bug #762167

Revision history for this message
Coiby Xu (coiby) wrote :

The same problem with Ubuntu 11.10 64bit

Revision history for this message
Sam_ (and-sam) wrote :

Still the case with Precise during upgrade.
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

libgtk2.0-0:
  Installed: 2.24.8-0ubuntu5
  Candidate: 2.24.8-0ubuntu5
  Version table:
 *** 2.24.8-0ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

tags: added: amd64 precise
Revision history for this message
Edward Donovan (edward.donovan) wrote :

I think this, in comment #6:

  Maybe a dependency issue with light-themes? Bug #762167

is probably just that other bug, and its error messages, showing up at the same time, but not related. At least, I had this bug with none of those problems. And these errors aren't mentioned anywhere in that bug's page.

But that was a while ago; maybe you already thought this. :)

Revision history for this message
Edward Donovan (edward.donovan) wrote :

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.

Revision history for this message
dino99 (9d9) wrote :

Dont get this issue with Precise now as gtk3 is used. Seems it has been a transitional issue. Marking "incomplete" as Precise will land soon..

Changed in gtk+2.0 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gtk+2.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in gtk+2.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.