Package: masqmail,rmail
Version: masqmail/0.2.27-1
Version: rmail/8.14.3-9.2
Severity: serious
User: [email protected]
Usertags: edos-file-overwrite

Date: 2010-08-08
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!
  liblockfile1 libpcre3 libfile-copy-recursive-perl libglib2.0-0 libident
  update-inetd masqmail rmail
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package liblockfile1.
(Reading database ... 12247 files and directories currently installed.)
Unpacking liblockfile1 (from .../liblockfile1_1.08-4_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.02-1.1_amd64.deb) ...
Selecting previously deselected package libfile-copy-recursive-perl.
Unpacking libfile-copy-recursive-perl (from 
.../libfile-copy-recursive-perl_0.38-1_all.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.24.1-1_amd64.deb) ...
Selecting previously deselected package libident.
Unpacking libident (from .../libident_0.22-3_amd64.deb) ...
Selecting previously deselected package update-inetd.
Unpacking update-inetd (from .../update-inetd_4.36_all.deb) ...
Selecting previously deselected package masqmail.
Unpacking masqmail (from .../masqmail_0.2.27-1_amd64.deb) ...
Selecting previously deselected package rmail.
Unpacking rmail (from .../rmail_8.14.3-9.2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/rmail_8.14.3-9.2_amd64.deb 
(--unpack):
 trying to overwrite '/usr/sbin/rmail', which is also in package masqmail 
0:0.2.27-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/rmail_8.14.3-9.2_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/sbin/rmail
  /usr/share/man/man8/rmail.8.gz

This bug is assigned to 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.

-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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to