[Pkg-haskell-maintainers] Bug#783863: ghc-doc: fails to upgrade from 'testing' - trying to overwrite /usr/lib/ghc-doc/haddock/transformers-0.3.0.0/transformers.haddock
Andreas Beckmann
anbe at debian.org
Thu Apr 30 19:05:23 UTC 2015
Package: ghc-doc
Version: 7.8.4-2
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
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' 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...):
Preparing to unpack .../ghc-doc_7.8.4-2_all.deb ...
Unpacking ghc-doc (7.8.4-2) over (7.6.3-21) ...
dpkg: error processing archive /var/cache/apt/archives/ghc-doc_7.8.4-2_all.deb (--unpack):
trying to overwrite '/usr/lib/ghc-doc/haddock/transformers-0.3.0.0/transformers.haddock', which is also in package libghc-transformers-doc 0.3.0.0-5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
dpkg: considering deconfiguration of ghc-doc, which would be broken by installation of ghc ...
dpkg: yes, will deconfigure ghc-doc (broken by ghc)
Preparing to unpack .../archives/ghc_7.8.4-2_amd64.deb ...
De-configuring ghc-doc (7.6.3-21) ...
Unpacking ghc (7.8.4-2) over (7.6.3-21) ...
Errors were encountered while processing:
/var/cache/apt/archives/ghc-doc_7.8.4-2_all.deb
(no log attached since I found this during a manual test
and didn't save the log)
cheers,
Andreas
More information about the Pkg-haskell-maintainers
mailing list