[Pkg-haskell-maintainers] Bug#783891: ghc-doc: fails to upgrade from 'sid' - trying to overwrite /usr/lib/ghc-doc/haddock/xhtml-3000.2.1/xhtml.haddock

Andreas Beckmann anbe at debian.org
Fri May 1 00:33:37 UTC 2015


Package: ghc-doc
Version: 7.8.20141223-1
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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

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

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

  Selecting previously unselected package ghc-doc.
  Preparing to unpack .../ghc-doc_7.8.20141223-1_all.deb ...
  Unpacking ghc-doc (7.8.20141223-1) ...
  dpkg: error processing archive /var/cache/apt/archives/ghc-doc_7.8.20141223-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/ghc-doc/haddock/xhtml-3000.2.1/xhtml.haddock', which is also in package libghc-xhtml-doc 3000.2.1-6
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/ghc-doc_7.8.20141223-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libghc-xhtml-doc=3000.2.1-6_ghc-doc=7.8.20141223-1.log.gz
Type: application/gzip
Size: 21197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150501/57f9f2cd/attachment-0001.bin>


More information about the Pkg-haskell-maintainers mailing list