[Pkg-dia-team] Bug#464815: dia-common on AMD64 sid fails with wrong architecture detected with older libgconf2

Ken Chase m-bugs.debian.org at sizone.org
Sat Feb 9 03:56:10 UTC 2008

Package: dia-common
Version: 0.96.1-6

Distribution: sid

Installing dia drags in dia-common as dependency. Apt-get tries to
install it and produces:

Setting up dia-common (0.96.1-6) ...
Failed to load source "xml:readwrite:/var/lib/gconf/defaults": Failed: Error opening module `xml': /usr/lib/libgconf2-4/2/libgconfbackend-xml.so: wrong ELF class: ELFCLASS32

GConf-ERROR **: file gconftool.c: line 892 (main): assertion failed: (err == NULL)
dpkg: error processing dia-common (--configure):
 subprocess post-installation script returned error exit status 250
Setting up dia-libs (0.96.1-6) ...
dpkg: dependency problems prevent configuration of dia:
 dia depends on dia-common (= 0.96.1-6); however:
  Package dia-common is not configured yet.
dpkg: error processing dia (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

investigating further:

# dpkg -S  /usr/lib/libgconf2-4/2/libgconfbackend-xml.so

libgconf2-4: /usr/lib/libgconf2-4/2/libgconfbackend-xml.so

# dpkg -l libgconf*
ii  libgconf2-4    2.16.0-3       GNOME configuration database system (shared 

<some time later>

Preparing to replace libgconf2-4 2.16.0-3 (using .../libgconf2-4_2.20.1-2+b1_amd64.deb) ...

upgrading libgconf to 4_2.20.1-2+b1 fixes the problem.

Solution: fix dia-common dependencies to include appropriate libgconf2.

Linux ire 2.6.19-rc5-mm2 #1 SMP Sun Nov 19 23:04:30 EST 2006 x86_64 GNU/Linux
ii  libc6          2.7-1          GNU C Library: Shared libraries

Ken Chase - math at sizone.org Toronto CANADA.

More information about the Pkg-dia-team mailing list