Package: coffeescript,cakephp-scripts
Version: coffeescript/0.6.1-1
Version: cakephp-scripts/1.2.5-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2010-05-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!
  libcap2 libpcre3 libxml2 ucf libaprutil1-dbd-sqlite3 libaprutil1-ldap
  apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork libonig2
  libqdbm14 php5-common libapache2-mod-php5 php5 cakephp php5-cli
  cakephp-scripts rlwrap libc-ares2 libev3 libv8-2.2.7 nodejs coffeescript
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libcap2.
(Reading database ... 12206 files and directories currently installed.)
Unpacking libcap2 (from .../libcap2_1%3a2.17-2_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.02-1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.7.dfsg-2_amd64.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../archives/ucf_3.0025_all.deb) ...
Moving old data out of the way
Selecting previously deselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from 
.../libaprutil1-dbd-sqlite3_1.3.9+dfsg-3_amd64.deb) ...
Selecting previously deselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.3.9+dfsg-3_amd64.deb) 
...
Selecting previously deselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.15-5_amd64.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.15-5_amd64.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.15-5_amd64.deb) ...
Selecting previously deselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.15-5_amd64.deb) 
...
Selecting previously deselected package libonig2.
Unpacking libonig2 (from .../libonig2_5.9.1-1_amd64.deb) ...
Selecting previously deselected package libqdbm14.
Unpacking libqdbm14 (from .../libqdbm14_1.8.74-1.4_amd64.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.3.2-1_amd64.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.2-1_amd64.deb) 
...
Selecting previously deselected package php5.
Unpacking php5 (from .../archives/php5_5.3.2-1_all.deb) ...
Selecting previously deselected package cakephp.
Unpacking cakephp (from .../cakephp_1.2.5-1_all.deb) ...
Selecting previously deselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.3.2-1_amd64.deb) ...
Selecting previously deselected package cakephp-scripts.
Unpacking cakephp-scripts (from .../cakephp-scripts_1.2.5-1_all.deb) ...
Selecting previously deselected package rlwrap.
Unpacking rlwrap (from .../rlwrap_0.37-1_amd64.deb) ...
Selecting previously deselected package libc-ares2.
Unpacking libc-ares2 (from .../libc-ares2_1.7.1-0_amd64.deb) ...
Selecting previously deselected package libev3.
Unpacking libev3 (from .../libev3_1%3a3.9-1_amd64.deb) ...
Selecting previously deselected package libv8-2.2.7.
Unpacking libv8-2.2.7 (from .../libv8-2.2.7_2.2.7-1_amd64.deb) ...
Selecting previously deselected package nodejs.
Unpacking nodejs (from .../nodejs_0.1.95-1_amd64.deb) ...
Selecting previously deselected package coffeescript.
Unpacking coffeescript (from .../coffeescript_0.6.1-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/coffeescript_0.6.1-1_all.deb 
(--unpack):
 trying to overwrite '/usr/bin/cake', which is also in package cakephp-scripts 
0:1.2.5-1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/coffeescript_0.6.1-1_all.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/bin/cake

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 debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to