$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libp11-kit-dev pkg-config libgudev-1.0-0 librtmp-dev libgpg-error-dev
comerr-dev libgnutls-openssl27 python-twisted-web libkrb5-dev libgnutlsxx27
libgssrpc4 libssl-doc libidn11-dev
libtasn1-3-dev zlib1g-dev os-prober gir1.2-gudev-1.0 libgcrypt11-dev
libkadm5clnt-mit8 python-twisted-names libkadm5srv-mit8 libkdb5-6 libgnutls-dev
krb5-multidev libldap2-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libxml2-dev:i386
The following NEW packages will be installed:
libxml2-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
487 not fully installed or removed.
Need to get 0 B/761 kB of archives.
After this operation, 2,206 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 41132 files and directories currently installed.)
Unpacking libxml2-dev:i386 (from
.../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libxml2-dev_2.7.8.dfsg-5.1ubuntu4.2_i386.deb (--unpack):
'./usr/bin/xml2-config' is different from the same file on the system
No apport report written because MaxReports is reached already
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-5.1ubuntu4.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libxml2 in Ubuntu.
https://bugs.launchpad.net/bugs/987502
Title:
libxml2-dev: /usr/bin/xml2-config isn't identical across all arch
Status in “libxml2” package in Ubuntu:
Fix Released
Status in “libxml2” source package in Precise:
Triaged
Bug description:
[Background] In the M-A implementation of version
2.7.8.dfsg-5.1ubuntu1, /usr/bin/xml2-config still contains M-A
tripples, which is troublesome when the package libxml2-dev is marked
as M-A: same. The problem is caused by the sed call in debian/rules
says "usr/lib/<tripple>", while it wasn't like that in xml2-config
script itself.
[Impact] libxml2-dev is not M-A co-installable
[Development Fix] libxml2 version 2.7.8.dfsg-9 in Debian Sid
[Stable Fix] Change required is trivial, in debian/rules:
- sed -i -e 's,/usr/lib/$(DEB_HOST_MULTIARCH),/usr/lib,'
debian/libxml2-dev/usr/bin/xml2-config
+ sed -i -e 's,/lib/$(DEB_HOST_MULTIARCH),/lib,'
debian/libxml2-dev/usr/bin/xml2-config
[Test Case] Enable M-A in testing environment (amd64 for instance),
and try to install both libxml2-dev:i386 and libxml2-dev:amd64 which
were newly built with the mentioned patch. If the action failed with
something like './usr/bin/xml2-config' is different from the same file
on the system, then the bug was not fixed.
[Regression Potential] xml2-config reports the libdir is /usr/lib,
while the actual ones are /usr/lib/<triplets>. This might break
applications whose build system can't find libraries correctly in the
previous path but relies on xml2-config's output. I recommend to use
pkg-config instead of this script.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/987502/+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