libxml2-dev:i386 fails to install if libxml2-dev is present

Bug #913381 reported by Aurimas Fišeras
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
libxml2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

libxml2-dev:i386 fails to co-install with libxml2-dev:

apt-get install libxml2-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxml2-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/763 kB of archives.
After this operation, 2.205 kB of additional disk space will be used.
(Reading database ... 296832 files and directories currently installed.)
Unpacking libxml2-dev:i386 (from .../libxml2-dev_2.7.8.dfsg-5ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxml2-dev_2.7.8.dfsg-5ubuntu1_i386.deb (--unpack):
 './usr/bin/xml2-config' is different from the same file on the system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libxml2-dev_2.7.8.dfsg-5ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Description: Ubuntu precise (development branch)
Release: 12.04

libxml2-dev:i386:
  Installed: (none)
  Candidate: 2.7.8.dfsg-5ubuntu1
  Version table:
     2.7.8.dfsg-5ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages

libxml2-dev:
  Installed: 2.7.8.dfsg-5ubuntu1
  Candidate: 2.7.8.dfsg-5ubuntu1
  Version table:
 *** 2.7.8.dfsg-5ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Aurimas Fišeras (aurimas-gmail) wrote :

amd64 and i386 versions of xml2-config have only one difference:

--- xml2-config_amd64 2011-10-20 08:14:41.000000000 +0300
+++ xml2-config_i386 2011-10-20 08:12:48.000000000 +0300
@@ -3,7 +3,7 @@
 prefix=/usr
 exec_prefix=${prefix}
 includedir=${prefix}/include
-libdir=${prefix}/lib/x86_64-linux-gnu
+libdir=${prefix}/lib/i386-linux-gnu

 usage()
 {

Revision history for this message
Aurimas Fišeras (aurimas-gmail) wrote :

2.7.8.dfsg-5.1ubuntu1

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in libxml2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Hanmac (hanmac) wrote :

the problem chould be solved to use pkg-config inside the xml2-config script

Revision history for this message
Removed by request (removed1836289) wrote :

This still happens on Precise Pangolin.

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.