Debian Bug report logs - #657055
haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...

version graph

Package: haskell-hsql-postgresql-doc; Maintainer for haskell-hsql-postgresql-doc is Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>; Source for haskell-hsql-postgresql-doc is src:haskell-dummy.

Reported by: Holger Levsen <holger@layer-acht.org>

Date: Mon, 23 Jan 2012 19:51:02 UTC

Severity: serious

Found in version haskell-dummy/1:6

Done: Joachim Breitner <nomeata@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#657055; Package haskell-hsql-postgresql-doc. (Mon, 23 Jan 2012 19:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
New Bug report received and forwarded. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Mon, 23 Jan 2012 19:51:06 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: submit@bugs.debian.org
Subject: haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...
Date: Mon, 23 Jan 2012 20:46:39 +0100
[Message part 1 (text/plain, inline)]
Package: haskell-hsql-postgresql-doc
Version: 1:6
Severity: serious
User: debian-qa@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
[haskell-hsql-postgresql-doc_1:6.log (text/x-log, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#657055; Package haskell-hsql-postgresql-doc. (Tue, 24 Jan 2012 19:30:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Tue, 24 Jan 2012 19:30:05 GMT) Full text and rfc822 format available.

Message #10 received at 657055@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: debian-haskell@lists.debian.org
Cc: Holger Levsen <holger@layer-acht.org>, 657055@bugs.debian.org
Subject: Re: Bug#657055: haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...
Date: Tue, 24 Jan 2012 14:25:54 -0500
[Message part 1 (text/plain, inline)]
Hi,

Am Montag, den 23.01.2012, 20:46 +0100 schrieb Holger Levsen:
> 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)

hmm, is that a complete list, or just those that have been checked so
far?

Until now I was under the impression that only those packages were
affected by this that had a haskell-*-doc package at some time
previously, which is a minority. But haskell-split never had that, so
this indicates that all ~400 Haskell source packages are affected. In
that case, we should think some more before trying to fix each
individual package. Ideally, we’d only need to improve the dummy
packages (as shipped by haskell-dummy) and _not_ touch all 400 source
packages.

I’m currently at POPL, so I won’t look into this anytime soon, if
someone else wants to pick this up, that’d be great.

@Holger: I don’t think you need to file more bugs about this, as we
hopefully can fix this once for all packages.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#657055; Package haskell-hsql-postgresql-doc. (Tue, 24 Jan 2012 20:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Tue, 24 Jan 2012 20:36:03 GMT) Full text and rfc822 format available.

Message #15 received at 657055@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: 657055@bugs.debian.org
Cc: debian-haskell@lists.debian.org
Subject: Re: Bug#657055: haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...
Date: Tue, 24 Jan 2012 21:33:08 +0100
Hi Joachim,

On Dienstag, 24. Januar 2012, Joachim Breitner wrote:
> Am Montag, den 23.01.2012, 20:46 +0100 schrieb Holger Levsen:
> > 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
[list omitted]
> 
> hmm, is that a complete list, or just those that have been checked so
> far?

thats the complete list for sid, but keep in mind that packages depending on 
those broken ones are not tested :)

just visit that url again, it's updated daily.

> @Holger: I don’t think you need to file more bugs about this, as we
> hopefully can fix this once for all packages.

ok.


cheers,
	Holger




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#657055; Package haskell-hsql-postgresql-doc. (Tue, 24 Jan 2012 22:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Tue, 24 Jan 2012 22:24:03 GMT) Full text and rfc822 format available.

Message #20 received at 657055@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: Holger Levsen <holger@layer-acht.org>
Cc: 657055@bugs.debian.org, debian-haskell@lists.debian.org
Subject: Re: Bug#657055: haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...
Date: Tue, 24 Jan 2012 17:21:30 -0500
[Message part 1 (text/plain, inline)]
Dear Holger,

Am Dienstag, den 24.01.2012, 21:33 +0100 schrieb Holger Levsen:
> On Dienstag, 24. Januar 2012, Joachim Breitner wrote:
> > Am Montag, den 23.01.2012, 20:46 +0100 schrieb Holger Levsen:
> > > 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
> [list omitted]
> > 
> > hmm, is that a complete list, or just those that have been checked so
> > far?
> 
> thats the complete list for sid, but keep in mind that packages depending on 
> those broken ones are not tested :)
> 
> just visit that url again, it's updated daily.

thanks for that information; this means that our general approach
worked, but just these cases are special for one or the other reason.
Good :-)

In the case of haskell-split, the reason seems to be the existence of
a /usr/share/doc-base/haskell-split-api file, something that only few
packages have.

So the right course of actions seems to be to just fix the few cases on
http://piuparts.debian.org/squeeze2wheezy/overwrite_other_packages_files_error.html individually, as we did before. Maybe I’ll get to it in the next few days.

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Reply sent to Joachim Breitner <nomeata@debian.org>:
You have taken responsibility. (Sat, 19 May 2012 20:51:03 GMT) Full text and rfc822 format available.

Notification sent to Holger Levsen <holger@layer-acht.org>:
Bug acknowledged by developer. (Sat, 19 May 2012 20:51:03 GMT) Full text and rfc822 format available.

Message #25 received at 657055-done@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: 657055-done@bugs.debian.org
Subject: I hope I fixed all cases
Date: Sat, 19 May 2012 22:48:48 +0200
[Message part 1 (text/plain, inline)]
Hi,

today, I went through the Haskell packages on
http://piuparts.debian.org/squeeze2wheezy/overwrite_other_packages_files_error.html and fixed (hopefully) all mentions. I’m not sure if the changes are reflected there only after the haskell migration; I’ll try to remember to check back once we get the current packages in testing.

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Added indication that 657055 affects haskell-hsql-postgresql-doc Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Sat, 02 Jun 2012 02:12:07 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#657055; Package haskell-hsql-postgresql-doc. (Sun, 17 Jun 2012 10:19:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Sun, 17 Jun 2012 10:19:28 GMT) Full text and rfc822 format available.

Message #32 received at 657055@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: 657055@bugs.debian.org
Subject: Re: haskell-hsql-postgresql-doc: fails to upgrade from squeeze - trying to overwrite ...
Date: Sun, 17 Jun 2012 12:14:46 +0200
[Message part 1 (text/plain, inline)]
Hi,

JFTR, after the haskell migration
http://piuparts.debian.org/squeeze2wheezy/overwrite_other_packages_files_error.html lists no haskell packages any more.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 16 Jul 2012 07:29:52 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 23:25:59 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.