Bug#649070: ircd-ratbox and charybdis: error when trying to install together

2011-11-17 Thread Ralf Treinen
Package: charybdis,ircd-ratbox
Version: charybdis/3.3.0-5
Version: ircd-ratbox/3.0.7.dfsg-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2011-11-17
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!
  libltdl7 charybdis ircd-ratbox
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libltdl7.
(Reading database ... 10587 files and directories currently installed.)
Unpacking libltdl7 (from .../libltdl7_2.4.2-1_amd64.deb) ...
Selecting previously unselected package charybdis.
Unpacking charybdis (from .../charybdis_3.3.0-5_amd64.deb) ...
Selecting previously unselected package ircd-ratbox.
Unpacking ircd-ratbox (from .../ircd-ratbox_3.0.7.dfsg-1_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/ircd-ratbox_3.0.7.dfsg-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libratbox.so', which is also in package 
charybdis 3.3.0-5
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/ircd-ratbox_3.0.7.dfsg-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/libratbox.so

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



Processed (with 5 errors): Re: Bug#649070: ircd-ratbox and charybdis: error when trying to install together

2011-11-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 649070 charybdis
Bug #649070 [charybdis,ircd-ratbox] ircd-ratbox and charybdis: error when 
trying to install together
Bug reassigned from package 'charybdis,ircd-ratbox' to 'charybdis'.
 bye
Unknown command or malformed arguments to command.

 Quoting Ralf Treinen trei...@debian.org:
Unknown command or malformed arguments to command.

  Here is a list of files that are known to be shared by both packages
Unknown command or malformed arguments to command.

  (according to the Contents file for sid/amd64, which may be
Unknown command or malformed arguments to command.

  slightly out of sync):
Unknown command or malformed arguments to command.

Too many unknown commands, stopping here.

Please contact me if you need assistance.
-- 
649070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649070
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#649070: ircd-ratbox and charybdis: error when trying to install together

2011-11-17 Thread Marc Dequènes (Duck)

reassign 649070 charybdis
bye

Quoting Ralf Treinen trei...@debian.org:


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


Charybdis is based on Ratbox, but the code has quite probably  
diverged, and upstream authors should probably have renamed the  
library. As it borrows things from Ratbox, the Conflicts line is  
clearly to be set on this package, which is sufficient to solve the  
problem.


I've renamed all commands and manpages in ircd-ratbox to avoid such  
conflicts with names commonly used by ircds to avoid problems like  
#649071, but there's nothing i can do in this case, which clearly  
should not happen. I just don't want to maintain a list of child  
projects to follow, while the knowledge of such incompatibilities is  
clearly in these projects, that's why i won't add a Conflicts on the  
ircd-ratbox side.


Regards.

--
Marc Dequènes (Duck)


pgpAfYAiFqSDo.pgp
Description: PGP Digital Signature