[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#715138: freebsd-glue and freebsd-buildutils: error when trying to install together



Package: freebsd-buildutils,freebsd-glue
Version: freebsd-buildutils/9.0-11
Version: freebsd-glue/0.0.6
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date: 2013-07-06
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:


WARNING: The following packages cannot be authenticated!
  libbsd0 libexpat1 original-awk patch libbsd-dev libc-dev-bin linux-libc-dev
  libc6-dev libexpat1-dev make patchutils unzip byacc freebsd-glue
  freebsd-buildutils
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libbsd0:amd64.
(Reading database ... 10832 files and directories currently installed.)
Unpacking libbsd0:amd64 (from .../libbsd0_0.5.2-1_amd64.deb) ...
Selecting previously unselected package libexpat1:amd64.
Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-3_amd64.deb) ...
Selecting previously unselected package original-awk.
Unpacking original-awk (from .../original-awk_2011-08-10-2_amd64.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.7.1-3_amd64.deb) ...
Selecting previously unselected package libbsd-dev.
Unpacking libbsd-dev (from .../libbsd-dev_0.5.2-1_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.17-7_amd64.deb) ...
Selecting previously unselected package linux-libc-dev:amd64.
Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.9.8-1_amd64.deb) ...
Selecting previously unselected package libc6-dev:amd64.
Unpacking libc6-dev:amd64 (from .../libc6-dev_2.17-7_amd64.deb) ...
Selecting previously unselected package libexpat1-dev:amd64.
Unpacking libexpat1-dev:amd64 (from .../libexpat1-dev_2.1.0-3_amd64.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.2_amd64.deb) ...
Selecting previously unselected package patchutils.
Unpacking patchutils (from .../patchutils_0.3.2-2_amd64.deb) ...
Selecting previously unselected package unzip.
Unpacking unzip (from .../archives/unzip_6.0-9_amd64.deb) ...
Selecting previously unselected package byacc.
Unpacking byacc (from .../byacc_20121003-2_amd64.deb) ...
Selecting previously unselected package freebsd-glue.
Unpacking freebsd-glue (from .../freebsd-glue_0.0.6_all.deb) ...
Selecting previously unselected package freebsd-buildutils.
Unpacking freebsd-buildutils (from .../freebsd-buildutils_9.0-11_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/freebsd-buildutils_9.0-11_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/freebsd/yacc', which is also in package freebsd-glue 0.0.6
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/freebsd-buildutils_9.0-11_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/freebsd/yacc

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/.


Reply to: