[12.04] libglib2.0-0 : Unable to open directory /usr/lib/gio/modules: Error opening directory '/usr/lib/gio/modules': No such file or directory

Bug #933418 reported by Michael Basse
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Precise by Eric Miao

Bug Description

The latest dist-upgrade on 12.04 is upgrading libglib2.0-0

This error comes up when running dist-upgrade

Unable to open directory /usr/lib/gio/modules: Error opening directory '/usr/lib/gio/modules': No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libglib2.0-0 2.31.16-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Uname: Linux 3.2.0-15-generic i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Thu Feb 16 13:17:17 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: glib2.0
UpgradeStatus: Upgraded to precise on 2011-12-04 (74 days ago)

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in glib2.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
yurx cherio (cherio) wrote :

Getting same error when running regular "apt-get upgrade" on 12.04

Revision history for this message
Eric Miao (eric.y.miao) wrote :

This is caused by incorrect postinst script in libglib2.0-0. In debian/libglib2.0-0.postinst.in, around line 16:

          /usr/lib/x86_64-linux-gnu/gio/modules|/usr/lib/gio/modules)
            # This is triggered everytime an application installs a GIO
            # module into /usr/lib/x86_64-linux-gnu/gio/modules or the
            # backwards-compatible /usr/lib/gio/modules directory
            /usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules /usr/lib/x86_64-linux-gnu/gio/modules /usr/lib/gio/modules
            ;;

While moved to multi-arch, /usr/lib/gio/modules could be non-existent, thus gio-querymodules will complain.

Revision history for this message
Eric Miao (eric.y.miao) wrote :

The attached patch will likely fix the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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