[Debian-med-packaging] Bug#757779: libquazip1-qt5 and libquazip-qt5-1: error when trying to install together

Andreas Tille andreas at an3as.eu
Tue Aug 12 13:59:52 UTC 2014


Hi Eric,

I think I fixed this by adding some conflicts / breaks and I also got a
hint to rename package libquazip1-headers to libquazip-headers (sorry,
I overlooked these issues when sponsering).  However, my attempt to build
and upload the package was prevented by a failed test:


********* Start testing of TestQuaZip *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : TestQuaZip::initTestCase()
PASS   : TestQuaZip::getFileList()
PASS   : TestQuaZip::add()
PASS   : TestQuaZip::setFileNameCodec()
PASS   : TestQuaZip::setDataDescriptorWritingEnabled()
PASS   : TestQuaZip::testQIODeviceAPI()
PASS   : TestQuaZip::setZipName()
PASS   : TestQuaZip::setIoDevice()
PASS   : TestQuaZip::setCommentCodec()
PASS   : TestQuaZip::setAutoClose()
FAIL!  : TestQuaZip::testSequential() 'server.listen()' returned FALSE. ()
   Loc: [../../../../qztest/testquazip.cpp(398)]
PASS   : TestQuaZip::cleanupTestCase()
Totals: 11 passed, 1 failed, 0 skipped


I admit I'm a bit astonished since this should have nothing to do with
the change I did.  Do you have any idea what might be wrong here?

Kind regards

       Andreas.


On Mon, Aug 11, 2014 at 11:56:02AM +0200, Ralf Treinen wrote:
> Package: libquazip-qt5-1,libquazip1-qt5
> Version: libquazip-qt5-1/0.7-1
> Version: libquazip1-qt5/0.6.2-1
> Severity: serious
> User: treinen at debian.org
> Usertags: edos-file-overwrite
> 
> Date: 2014-08-11
> Architecture: amd64
> Distribution: sid
> 
> Hi,
> 
> automatic installation tests of packages that share a file and at the
> same time do not conflict by their package dependency relationships has
> detected the following problem:
> 
> 
> Selecting previously unselected package gcc-4.9-base:amd64.
> (Reading database ... 10864 files and directories currently installed.)
> Preparing to unpack .../gcc-4.9-base_4.9.1-5_amd64.deb ...
> Unpacking gcc-4.9-base:amd64 (4.9.1-5) ...
> Setting up gcc-4.9-base:amd64 (4.9.1-5) ...
> (Reading database ... 10871 files and directories currently installed.)
> Preparing to unpack .../libstdc++6_4.9.1-5_amd64.deb ...
> Unpacking libstdc++6:amd64 (4.9.1-5) over (4.8.2-19) ...
> Setting up libstdc++6:amd64 (4.9.1-5) ...
> Processing triggers for libc-bin (2.19-7) ...
> Selecting previously unselected package libffi6:amd64.
> (Reading database ... 10884 files and directories currently installed.)
> Preparing to unpack .../libffi6_3.1-2_amd64.deb ...
> Unpacking libffi6:amd64 (3.1-2) ...
> Selecting previously unselected package libglib2.0-0:amd64.
> Preparing to unpack .../libglib2.0-0_2.40.0-4_amd64.deb ...
> Unpacking libglib2.0-0:amd64 (2.40.0-4) ...
> Selecting previously unselected package libicu52:amd64.
> Preparing to unpack .../libicu52_52.1-5_amd64.deb ...
> Unpacking libicu52:amd64 (52.1-5) ...
> Selecting previously unselected package libqt5core5a:amd64.
> Preparing to unpack .../libqt5core5a_5.3.1+dfsg-3_amd64.deb ...
> Unpacking libqt5core5a:amd64 (5.3.1+dfsg-3) ...
> Selecting previously unselected package libquazip-qt5-1:amd64.
> Preparing to unpack .../libquazip-qt5-1_0.7-1_amd64.deb ...
> Unpacking libquazip-qt5-1:amd64 (0.7-1) ...
> Selecting previously unselected package libquazip1-qt5:amd64.
> Preparing to unpack .../libquazip1-qt5_0.6.2-1_amd64.deb ...
> Unpacking libquazip1-qt5:amd64 (0.6.2-1) ...
> dpkg: error processing archive /var/cache/apt/archives/libquazip1-qt5_0.6.2-1_amd64.deb (--unpack):
>  trying to overwrite '/usr/lib/x86_64-linux-gnu/libquazip-qt5.so.1.0.0', which is also in package libquazip-qt5-1:amd64 0.7-1
> Processing triggers for man-db (2.6.7.1-1) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libquazip1-qt5_0.6.2-1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> This is a serious bug as it makes installation fail, and violates
> sections 7.6.1 and 10.1 of the policy. An optimal solution would
> consist in only one of the packages installing that file, and renaming
> or removing the file in the other package. Depending on the
> circumstances you might also consider Replace relations or file
> diversions. If the conflicting situation cannot be resolved then, as a
> last resort, the two packages have to declare a mutual
> Conflict. Please take into account that Replaces, Conflicts and
> diversions should only be used when packages provide different
> implementations for the same functionality.
> 
> Here is a list of files that are known to be shared by both packages
> (according to the Contents file for sid/amd64, which may be
> slightly out of sync):
> 
>   /usr/lib/x86_64-linux-gnu/libquazip-qt5.so.1
>   /usr/lib/x86_64-linux-gnu/libquazip-qt5.so.1.0
>   /usr/lib/x86_64-linux-gnu/libquazip-qt5.so.1.0.0
> 
> This bug has been filed against both packages. If you, the maintainers of
> the two packages in question, have agreed on which of the packages will
> resolve the problem please reassign the bug to that package. You may then
> also register in the BTS that the other package is affected by the bug.
> 
> -Ralf.
> 
> PS: for more information about the detection of file overwrite errors
> of this kind see http://edos.debian.net/file-overwrites/.
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list