Comment 2 for bug 893826

Revision history for this message
Felix Geyer (debfx) wrote : Re: package libqt4-xmlpatterns 4:4.7.4-1ubuntu3 failed to install/upgrade: ErrorMessage: './usr/share/doc/libqt4-xmlpatterns/LGPL_EXCEPTION.txt' is different from the same file on the system

Looks like dpkg-deb is being called in a different order so pkgbinarymangler symlinks LGPL_EXCEPTION.txt to different packages.

On amd64:
pkgstripfiles: processing control file: debian/libqt4-xmlpatterns/DEBIAN/control, package libqt4-xmlpatterns, directory debian/libqt4-xmlpatterns
.. removing usr/share/doc/libqt4-xmlpatterns/changelog.gz
Searching for duplicated docs in dependency libqt4-network...
  symlinking LGPL_EXCEPTION.txt in libqt4-xmlpatterns to file in libqt4-network
  symlinking changelog.Debian.gz in libqt4-xmlpatterns to file in libqt4-network
Searching for duplicated docs in dependency libqtcore4...
dpkg-deb: warning: 'debian/libqt4-xmlpatterns/DEBIAN/control' contains user-defined field 'Original-Maintainer'
dpkg-deb: warning: ignoring 1 warning about the control file(s)

On i386:
pkgstripfiles: processing control file: debian/libqt4-xmlpatterns/DEBIAN/control, package libqt4-xmlpatterns, directory debian/libqt4-xmlpatterns
.. removing usr/share/doc/libqt4-xmlpatterns/changelog.gz
Searching for duplicated docs in dependency libqt4-network...
Searching for duplicated docs in dependency libqtcore4...
  symlinking LGPL_EXCEPTION.txt in libqt4-xmlpatterns to file in libqtcore4
  symlinking changelog.Debian.gz in libqt4-xmlpatterns to file in libqtcore4
dpkg-deb: warning: 'debian/libqt4-xmlpatterns/DEBIAN/control' contains user-defined field 'Original-Maintainer'
dpkg-deb: warning: ignoring 1 warning about the control file(s)