Bug#710474: libunibreak-dev and liblinebreak2-dev: error when trying to install together

2013-05-31 Thread Eugene V. Lyubimkin
Control: -1 + confirmed
Control: reassign -1 libunibreak-dev

2013-05-31 08:50, Ralf Treinen:
> Package: liblinebreak2-dev,libunibreak-dev
> Version: liblinebreak2-dev/2.1-1
> Version: libunibreak-dev/1.0-1
[...]
> 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/linebreak.h
>   /usr/include/linebreakdef.h
[...]

Note for bug squashers: liblinebreak (libunibreak's predecessor)
will be removed from the archive from jessie once its reverse dependency
fbreader is rebuilt against libunibreak; libunibreak will be fixed to
include the needed Conflicts.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++ GNU/Linux userspace developer, Debian Developer


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Processed (with 1 errors): Re: Bug#710474: libunibreak-dev and liblinebreak2-dev: error when trying to install together

2013-05-31 Thread Debian Bug Tracking System
Processing control commands:

> -1 + confirmed
Unknown command or malformed arguments to command.

> reassign -1 libunibreak-dev
Bug #710474 [liblinebreak2-dev,libunibreak-dev] libunibreak-dev and 
liblinebreak2-dev: error when trying to install together
Bug reassigned from package 'liblinebreak2-dev,libunibreak-dev' to 
'libunibreak-dev'.
Ignoring request to alter found versions of bug #710474 to the same values 
previously set
Ignoring request to alter fixed versions of bug #710474 to the same values 
previously set

-- 
710474: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710474
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#710474: libunibreak-dev and liblinebreak2-dev: error when trying to install together

2013-05-30 Thread Ralf Treinen
Package: liblinebreak2-dev,libunibreak-dev
Version: liblinebreak2-dev/2.1-1
Version: libunibreak-dev/1.0-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2013-05-31
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!
  liblinebreak2 liblinebreak2-dev libunibreak1 libunibreak-dev
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package liblinebreak2.
(Reading database ... 10806 files and directories currently installed.)
Unpacking liblinebreak2 (from .../liblinebreak2_2.1-1_amd64.deb) ...
Selecting previously unselected package liblinebreak2-dev.
Unpacking liblinebreak2-dev (from .../liblinebreak2-dev_2.1-1_amd64.deb) ...
Selecting previously unselected package libunibreak1.
Unpacking libunibreak1 (from .../libunibreak1_1.0-1_amd64.deb) ...
Selecting previously unselected package libunibreak-dev.
Unpacking libunibreak-dev (from .../libunibreak-dev_1.0-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libunibreak-dev_1.0-1_amd64.deb 
(--unpack):
 trying to overwrite '/usr/include/linebreakdef.h', which is also in package 
liblinebreak2-dev 2.1-1
Errors were encountered while processing:
 /var/cache/apt/archives/libunibreak-dev_1.0-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/include/linebreak.h
  /usr/include/linebreakdef.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://edos.debian.net/file-overwrites/.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org