[Pkg-haskell-maintainers] Bug#657055: haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...

Holger Levsen holger at layer-acht.org
Mon Jan 23 19:46:39 UTC 2012


Package: haskell-hsql-postgresql-doc
Version: 1:6
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
squeeze. It installed fine in squeeze, then the upgrade to wheezy fails
because it tries to overwrite other packages files without declaring a
replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

  Selecting previously unselected package libghc-hsql-postgresql-doc.
  Unpacking libghc-hsql-postgresql-doc (from .../libghc-hsql-postgresql-
doc_1.8.1-1_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/libghc-hsql-postgresql-
doc_1.8.1-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/haskell-hsql-postgresql-
doc/html/src/hscolour.css', which is also in package libghc6-hsql-postgresql-
doc 1.7.3-5
  configured to not write apport reports
  Preparing to replace haskell-hsql-postgresql-doc 1:2 (using .../haskell-
hsql-postgresql-doc_1%3a6_all.deb) ...
  Unpacking replacement haskell-hsql-postgresql-doc ...
  Preparing to replace libghc6-hsql-postgresql-doc 1.7.3-5 (using .../libghc6-
hsql-postgresql-doc_1%3a6_all.deb) ...
  Unpacking replacement libghc6-hsql-postgresql-doc ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libghc-hsql-postgresql-doc_1.8.1-1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Similar bugs affect _a lot_ of haskell-*-doc packages, please have a look at 
the logs linked from:

http://piuparts.debian.org/squeeze2wheezy/overwrite_other_packages_files_error.html

fail/haskell-haskelldb-doc_1:6.log (BTS)
fail/haskell-hsql-odbc-doc_1:6.log (BTS)
fail/haskell-hsql-postgresql-doc_1:6.log (BTS)
fail/haskell-hsql-sqlite3-doc_1:6.log (BTS)
fail/libghc6-datetime-doc_1:6.log (BTS)
fail/libghc6-feed-doc_1:6.log (BTS)
fail/libghc6-haskelldb-doc_1:6.log (BTS)
fail/libghc6-haskore-doc_1:6.log (BTS)
fail/libghc6-hsql-odbc-doc_1:6.log (BTS)
fail/libghc6-hsql-postgresql-doc_1:6.log (BTS)
fail/libghc6-hsql-sqlite3-doc_1:6.log (BTS)
fail/libghc6-recaptcha-doc_1:6.log (BTS)
fail/libghc6-split-doc_1:6.log (BTS)


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haskell-hsql-postgresql-doc_1:6.log
Type: text/x-log
Size: 111900 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120123/e38ee65a/attachment-0001.bin>


More information about the Pkg-haskell-maintainers mailing list