[Debian-med-packaging] Bug#819710: libxdmf-dev and libgzstream-dev: error when trying to install together

Andreas Tille tille at debian.org
Fri Apr 1 10:02:43 UTC 2016


Hi,

libgzstream was created to replace the number of code copies inside
Debian.   Libxdmf-dev has just one of these code copies.  Please remove
this from the package and use libgzstream-dev instead.

Kind regards

      Andreas.

On Fri, Apr 01, 2016 at 09:08:09AM +0200, Ralf Treinen wrote:
> Package: libgzstream-dev,libxdmf-dev
> Version: libgzstream-dev/1.5+dfsg-1
> Version: libxdmf-dev/2.1.dfsg.1-13
> Severity: serious
> User: treinen at debian.org
> Usertags: edos-file-overwrite
> 
> Date: 2016-04-01
> 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-5-base:amd64.
> (Reading database ... 10949 files and directories currently installed.)
> Preparing to unpack .../gcc-5-base_5.3.1-13_amd64.deb ...
> Unpacking gcc-5-base:amd64 (5.3.1-13) ...
> Setting up gcc-5-base:amd64 (5.3.1-13) ...
> (Reading database ... 10956 files and directories currently installed.)
> Preparing to unpack .../libstdc++6_5.3.1-13_amd64.deb ...
> Unpacking libstdc++6:amd64 (5.3.1-13) over (4.8.2-19) ...
> Processing triggers for libc-bin (2.22-5) ...
> Setting up libstdc++6:amd64 (5.3.1-13) ...
> Processing triggers for libc-bin (2.22-5) ...
> Selecting previously unselected package libicu55:amd64.
> (Reading database ... 10970 files and directories currently installed.)
> Preparing to unpack .../libicu55_55.1-7_amd64.deb ...
> Unpacking libicu55:amd64 (55.1-7) ...
> Selecting previously unselected package libxml2:amd64.
> Preparing to unpack .../libxml2_2.9.3+dfsg1-1_amd64.deb ...
> Unpacking libxml2:amd64 (2.9.3+dfsg1-1) ...
> Selecting previously unselected package libaec0:amd64.
> Preparing to unpack .../libaec0_0.3.2-1_amd64.deb ...
> Unpacking libaec0:amd64 (0.3.2-1) ...
> Selecting previously unselected package libquadmath0:amd64.
> Preparing to unpack .../libquadmath0_5.3.1-13_amd64.deb ...
> Unpacking libquadmath0:amd64 (5.3.1-13) ...
> Selecting previously unselected package libgfortran3:amd64.
> Preparing to unpack .../libgfortran3_5.3.1-13_amd64.deb ...
> Unpacking libgfortran3:amd64 (5.3.1-13) ...
> Selecting previously unselected package libgzstream0.
> Preparing to unpack .../libgzstream0_1.5+dfsg-1_amd64.deb ...
> Unpacking libgzstream0 (1.5+dfsg-1) ...
> Selecting previously unselected package libgzstream-dev.
> Preparing to unpack .../libgzstream-dev_1.5+dfsg-1_amd64.deb ...
> Unpacking libgzstream-dev (1.5+dfsg-1) ...
> Selecting previously unselected package libsz2:amd64.
> Preparing to unpack .../libsz2_0.3.2-1_amd64.deb ...
> Unpacking libsz2:amd64 (0.3.2-1) ...
> Selecting previously unselected package libhdf5-10:amd64.
> Preparing to unpack .../libhdf5-10_1.8.16+docs-7_amd64.deb ...
> Unpacking libhdf5-10:amd64 (1.8.16+docs-7) ...
> Selecting previously unselected package libxdmf2.
> Preparing to unpack .../libxdmf2_2.1.dfsg.1-13_amd64.deb ...
> Unpacking libxdmf2 (2.1.dfsg.1-13) ...
> Selecting previously unselected package libxdmf-dev.
> Preparing to unpack .../libxdmf-dev_2.1.dfsg.1-13_amd64.deb ...
> Unpacking libxdmf-dev (2.1.dfsg.1-13) ...
> dpkg: error processing archive /var/cache/apt/archives/libxdmf-dev_2.1.dfsg.1-13_amd64.deb (--unpack):
>  trying to overwrite '/usr/include/gzstream.h', which is also in package libgzstream-dev 1.5+dfsg-1
> Processing triggers for libc-bin (2.22-5) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libxdmf-dev_2.1.dfsg.1-13_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/include/gzstream.h
> 
> 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://qa.debian.org/dose/file-overwrites.html.
> 
> _______________________________________________
> 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