Package: postgresql-9.0-dbg,postgresql-9.1-dbg
Version: postgresql-9.0-dbg/9.0.4-1+b1
Version: postgresql-9.1-dbg/9.1~rc1-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2011-08-25
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 libedit2 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
  libgssapi-krb5-2 libsasl2-2 libldap-2.4-2 libxml2 locales libpq5 openssl
  postgresql-client-common postgresql-client-9.0 ssl-cert postgresql-common
  postgresql-9.0 postgresql-client-9.1 postgresql-9.1 postgresql-9.0-dbg
  postgresql-9.1-dbg
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libbsd0.
(Reading database ... 10663 files and directories currently installed.)
Unpacking libbsd0 (from .../libbsd0_0.3.0-1_amd64.deb) ...
Selecting previously deselected package libedit2.
Unpacking libedit2 (from .../libedit2_2.11-20080614-2.2_amd64.deb) ...
Selecting previously deselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously deselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.9.1+dfsg-2_amd64.deb) 
...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from 
.../libsasl2-2_2.1.24~rc1.dfsg1+cvs2011-05-23-6_amd64.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-3_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-4_amd64.deb) ...
Selecting previously deselected package locales.
Unpacking locales (from .../locales_2.13-18_all.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_9.1~rc1-1_amd64.deb) ...
Selecting previously deselected package openssl.
Unpacking openssl (from .../openssl_1.0.0d-3_amd64.deb) ...
Selecting previously deselected package postgresql-client-common.
Unpacking postgresql-client-common (from 
.../postgresql-client-common_120_all.deb) ...
Selecting previously deselected package postgresql-client-9.0.
Unpacking postgresql-client-9.0 (from 
.../postgresql-client-9.0_9.0.4-1+b1_amd64.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Selecting previously deselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_120_all.deb) ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by 
postgresql-common'
Selecting previously deselected package postgresql-9.0.
Unpacking postgresql-9.0 (from .../postgresql-9.0_9.0.4-1+b1_amd64.deb) ...
Selecting previously deselected package postgresql-client-9.1.
Unpacking postgresql-client-9.1 (from 
.../postgresql-client-9.1_9.1~rc1-1_amd64.deb) ...
Selecting previously deselected package postgresql-9.1.
Unpacking postgresql-9.1 (from .../postgresql-9.1_9.1~rc1-1_amd64.deb) ...
Selecting previously deselected package postgresql-9.0-dbg.
Unpacking postgresql-9.0-dbg (from .../postgresql-9.0-dbg_9.0.4-1+b1_amd64.deb) 
...
Selecting previously deselected package postgresql-9.1-dbg.
Unpacking postgresql-9.1-dbg (from .../postgresql-9.1-dbg_9.1~rc1-1_amd64.deb) 
...
dpkg: error processing 
/var/cache/apt/archives/postgresql-9.1-dbg_9.1~rc1-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/debug/usr/bin/pg_config', which is also in 
package postgresql-9.0-dbg 9.0.4-1+b1
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/postgresql-9.1-dbg_9.1~rc1-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/debug/usr/bin/ecpg
  /usr/lib/debug/usr/bin/pg_config

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

Reply via email to