Your message dated Sat, 20 Oct 2018 08:52:07 +0000
with message-id <e1gdmzp-0007nb...@fasolo.debian.org>
and subject line Bug#910480: fixed in ghc 8.4.3+dfsg1-4
has caused the Debian Bug report #910480,
regarding ghc: missing Breaks+Replaces+Provides for newly bundled libraries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
910480: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910480
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ghc
Version: 8.4.3+dfsg1-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: block 910008 with -1
Control: block 910202 with -1

Hi,

during a test with piuparts I noticed your package failed to install
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#overwriting-files-and-replacing-packages-replaces

See the blocked bugs for the full logs, here are only excerpts:

---
  Preparing to unpack .../libghc-mtl-dev_2.2.2-2_amd64.deb ...
  Unpacking libghc-mtl-dev (2.2.2-2) over (2.2.2-1) ...
  Preparing to unpack .../gcc_4%3a8.2.0-1_amd64.deb ...
  Unpacking gcc (4:8.2.0-1) over (4:8.1.0-1) ...
  Preparing to unpack .../cpp_4%3a8.2.0-1_amd64.deb ...
  Unpacking cpp (4:8.2.0-1) over (4:8.1.0-1) ...
  Preparing to unpack .../ghc_8.4.3+dfsg1-2_amd64.deb ...
  Unpacking ghc (8.4.3+dfsg1-2) over (8.2.2-4) ...
  dpkg: error processing archive 
/var/cache/apt/archives/ghc_8.4.3+dfsg1-2_amd64.deb (--unpack):
   trying to overwrite '/var/lib/ghc/package.conf.d/mtl-2.2.2.conf', which is 
also in package libghc-mtl-dev 2.2.2-2
  update-alternatives: using /usr/bin/runghc to provide /usr/bin/runhaskell 
(runhaskell) in auto mode
  update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler 
(haskell-compiler) in auto mode
  There are problems in package mtl-2.2.2:
    dependency "base-4.11.1.0" doesn't exist
    dependency "transformers-0.5.5.0" doesn't exist
  
  The following packages are broken, either because they have a problem
  listed above, or because they depend on a broken package.
  mtl-2.2.2
  Preparing to unpack .../libgnutls30_3.5.19-1+b1_amd64.deb ...
  Unpacking libgnutls30:amd64 (3.5.19-1+b1) over (3.5.19-1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/ghc_8.4.3+dfsg1-2_amd64.deb
---
  Selecting previously unselected package libghc-parsec3-dev.
  (Reading database ... 
(Reading database ... 10244 files and directories currently installed.)
  Preparing to unpack .../libghc-parsec3-dev_3.1.13.0-3_amd64.deb ...
  Unpacking libghc-parsec3-dev (3.1.13.0-3) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libghc-parsec3-dev_3.1.13.0-3_amd64.deb (--unpack):
   trying to overwrite '/var/lib/ghc/package.conf.d/parsec-3.1.13.0.conf', 
which is also in package ghc 8.4.3+dfsg1-2
  Errors were encountered while processing:
   /var/cache/apt/archives/libghc-parsec3-dev_3.1.13.0-3_amd64.deb
---


I think these bugs actually belong to ghc which started bundling more
libraries with the recent upload to unstable. 


I would suggest to add the following:

Breaks:
 libghc-mtl-dev (<< 2.2.2+),
 libghc-parsec3-dev (<< 3.1.13.0+),
Replaces:
 libghc-mtl-dev (<< 2.2.2+),
 libghc-parsec3-dev (<< 3.1.13.0+),
Provides:
 libghc-mtl-dev,
 libghc-parsec3-dev,

There may be more packages affected, but testing them is probably
blocked by libghc-mtl-dev

I used "${current_upstream_version}+" as version bound, since e.g.
"1.2.3+" sorts before new upstream versions like
  1.2.3+dfsg, 1.2.3.1
in addition to
  1.2.4, 1.5.3


cheers,

Andreas

--- End Message ---
--- Begin Message ---
Source: ghc
Source-Version: 8.4.3+dfsg1-4

We believe that the bug you reported is fixed in the latest version of
ghc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 910...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ilias Tsitsimpis <ilias...@debian.org> (supplier of updated ghc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 19 Oct 2018 13:09:22 +0300
Source: ghc
Binary: ghc ghc-prof ghc-doc
Architecture: source
Version: 8.4.3+dfsg1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<pkg-haskell-maintain...@lists.alioth.debian.org>
Changed-By: Ilias Tsitsimpis <ilias...@debian.org>
Description:
 ghc        - The Glasgow Haskell Compilation system
 ghc-doc    - Documentation for the Glasgow Haskell Compilation system
 ghc-prof   - Profiling libraries for the Glasgow Haskell Compilation system
Closes: 910480
Changes:
 ghc (8.4.3+dfsg1-4) unstable; urgency=medium
 .
   * Add missing Breaks+Replaces+Provides (Closes: #910480).
     Break+Replace+Provide all bundled libraries, including libghc-parsec3-dev.
Checksums-Sha1:
 180f287da1adbdc343074a1a3b090cf2f4f09a19 2400 ghc_8.4.3+dfsg1-4.dsc
 8f56760aee06f607da3ad77c178b15a6854ca627 56200 ghc_8.4.3+dfsg1-4.debian.tar.xz
 a3ccff4ec799302cd0f7acb4b946c2e94883f3e4 6161 
ghc_8.4.3+dfsg1-4_source.buildinfo
Checksums-Sha256:
 519ee8d6440cdcc0f8b5a3982123453691165acb925f1130a38af642d33bc41e 2400 
ghc_8.4.3+dfsg1-4.dsc
 8a7f9ae19f29840469bf5db3bb289091ace5168abe9f71069a60104c493ff5a0 56200 
ghc_8.4.3+dfsg1-4.debian.tar.xz
 b0c171a428d0af6fcdc14baaab33000d2d5f8f0c1553bed4a0a17ff0ee06aae8 6161 
ghc_8.4.3+dfsg1-4_source.buildinfo
Files:
 2b8371b2e3eb1d960eb322ce4c8161e7 2400 haskell optional ghc_8.4.3+dfsg1-4.dsc
 9eab6f83225e651af452827a27da2f5b 56200 haskell optional 
ghc_8.4.3+dfsg1-4.debian.tar.xz
 cddb30879cbeba41eb8e6103bcdcb9e5 6161 haskell optional 
ghc_8.4.3+dfsg1-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAlvK6JAUHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDzjBA/5AbbvToelDnVZa6IzG2Mzf2HdzZnc
wWqz9bmAGmqbc9TFb15ru4CI46dnUkPdeQ7Kd6bDtpTtVr9RcT40LYYtEBX5YitC
SaDkr0tZQ9c70tqmYgrTNlTaZTCmHxRAh1yDEzQomLcEyb+LCKC1rg0Oin8L9nt8
npzyj5P3hUJI10Wq9CJs7DbG4ypUuNDreBcp6bdvSoEA6E5niA4cU96N6ZBCo6og
dSKJvnIiqJKl5EMM20Ycp8R3jVTpbL9sCPhzPGL0r5b58dAfxV3ghy2EvQEUwLJs
/BfpLJ0atHeZCG9BeHkJ4xd6CnM2VZJrBCl1u+IwcI3YWNm8l5pyzJKz3Gg5T3w2
qOxn2vW9L/Oq+27MQhTX5Ir8+d+IEp18hpf/Muw6zXcMmhG8Lwh7i6Ew8ytfYuyu
WD7vw/sLPtoAgpLTTgZF8xGNmFmncyn1tKvld1dOdWmh+/Aca2e1Kc5CS8TzLnLF
kDsp0ivGJLsuYuisnkEVh8O/WXhgVU+/4pLKoWm0B/KeIny5PhAEyqf+86TME37t
FFD5nrrh7ynK978RbpkQ4oVv2c4r/2EnmSTyFbqRkm461O6OFm41RJ6q2ITlB7O6
ZDuq4WnueNnVEzB/qjyzQanPLmVXlRD316Xzo+Zzs06SaqICObXNMY9wiOo9VWU/
zc1iuB4Mb7IXk5I=
=+vgq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to