[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694269: marked as done (coccinelle-doc: missing Breaks+Replaces: coccinelle (<< 1.0.0~rc7.deb-4))



Your message dated Sun, 25 Nov 2012 15:03:26 +0000
with message-id <E1Tcdjy-0007p8-3a@franck.debian.org>
and subject line Bug#694269: fixed in coccinelle 1.0.0~rc15.deb-2
has caused the Debian Bug report #694269,
regarding coccinelle-doc: missing Breaks+Replaces: coccinelle (<< 1.0.0~rc7.deb-4)
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 owner@bugs.debian.org
immediately.)


-- 
694269: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694269
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: coccinelle-doc
Version: 1.0.0~rc12.deb-4
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date:
Architecture: amd64
Distribution: squeeze->wheezy (partial) upgrade

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:

  Selecting previously deselected package coccinelle.
  Unpacking coccinelle (from .../coccinelle_0.2.3.deb-1_amd64.deb) ...

  Setting up coccinelle (0.2.3.deb-1) ...
  Processing triggers for python-support ...

  Selecting previously deselected package coccinelle-doc.
  Unpacking coccinelle-doc (from .../coccinelle-doc_1.0.0~rc12.deb-4_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/coccinelle-doc_1.0.0~rc12.deb-4_all.deb (--unpack):
   trying to overwrite '/usr/share/doc-base/coccinelle-manual', which is also in package coccinelle 0.2.3.deb-1


This is a serious bug as it makes installation/upgrade fail, and
violates sections 7.6.1 and 10.1 of the policy.

As this problem can be demonstrated during partial upgrades from squeeze
to wheezy (but not within squeeze or wheezy itself), this indicates a
missing or insufficiently versioned Replaces+Breaks relationship.
But since this particular upgrade ordering is not forbidden by any
dependency relationship, it is possible that apt (or $PACKAGE_MANAGER)
will use this erroneus path on squeeze->wheezy upgrades.

Here is a list of files that are known to be shared by both packages
(according to the Contents files for squeeze and wheezy on amd64, which
may be slightly out of sync):

  usr/share/doc-base/coccinelle-grammar
  usr/share/doc-base/coccinelle-manual
  usr/share/doc-base/coccinelle-options


The following relationships are currently defined:

  Package: coccinelle-doc
  Conflicts: n/a
  Breaks:    n/a
  Replaces:  n/a

I think this was caused by splitting out the -doc package:
  coccinelle (1.0.0~rc7.deb-4) unstable; urgency=low
   * Move pdf documentation and examples into a separate package

The following relationships should be added for a clean takeover
of these files
(http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces):

  Package:  coccinelle-doc
  Breaks:   coccinelle (<< 1.0.0~rc7.deb-4)
  Replaces: coccinelle (<< 1.0.0~rc7.deb-4)


Cheers,

Andreas

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.

Attachment: coccinelle=0.2.3.deb-1_coccinelle-doc=1.0.0~rc12.deb-4.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: coccinelle
Source-Version: 1.0.0~rc15.deb-2

We believe that the bug you reported is fixed in the latest version of
coccinelle, 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 694269@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Євгеній Мещеряков <eugen@debian.org> (supplier of updated coccinelle 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 25 Nov 2012 15:43:40 +0100
Source: coccinelle
Binary: coccinelle coccinelle-doc
Architecture: source amd64 all
Version: 1.0.0~rc15.deb-2
Distribution: experimental
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Євгеній Мещеряков <eugen@debian.org>
Description: 
 coccinelle - semantic patching tool for C
 coccinelle-doc - documentation for coccinelle
Closes: 694269
Changes: 
 coccinelle (1.0.0~rc15.deb-2) experimental; urgency=low
 .
   * Add Breaks/Replaces coccinelle (<< 1.0.0~rc7.deb-4) to coccinelle-doc,
     this fixes package upgrades. Thanks to Andreas Beckmann (closes: #694269)
Checksums-Sha1: 
 7ee88cf300b12032d13e1350b9d98f909b92deb1 1810 coccinelle_1.0.0~rc15.deb-2.dsc
 06366bbf00c6e9b16cce307f9b119ae2f1915df5 8809 coccinelle_1.0.0~rc15.deb-2.debian.tar.gz
 b28388d504320d3fc88e939e2c03ec2fd056c178 572446 coccinelle_1.0.0~rc15.deb-2_amd64.deb
 25dcb6b065850648f506e6d376e063b79e83a0e0 788896 coccinelle-doc_1.0.0~rc15.deb-2_all.deb
Checksums-Sha256: 
 0f61d87c76cffdda90cfa21c879093ddc18c1b1b1a910e6eecec09f70389f903 1810 coccinelle_1.0.0~rc15.deb-2.dsc
 fafcd20d008b5070b86be13aa816f0d251f2dc1081866bd13e4046022951a58f 8809 coccinelle_1.0.0~rc15.deb-2.debian.tar.gz
 ff938c7633b8898e4b8931f0801f65a16053bcba2287babdc1cc7316703ea1f4 572446 coccinelle_1.0.0~rc15.deb-2_amd64.deb
 3985dc2c693fadd0a9eac972720e3362f2d2f6776e29b3c948aa838da457cf83 788896 coccinelle-doc_1.0.0~rc15.deb-2_all.deb
Files: 
 4dc805bb77e89e598d6aeb39233a6ffe 1810 devel optional coccinelle_1.0.0~rc15.deb-2.dsc
 552f16a497c3eca9c312b167f5f7f2ec 8809 devel optional coccinelle_1.0.0~rc15.deb-2.debian.tar.gz
 23c891105305776b744e2ea8542aafd3 572446 devel optional coccinelle_1.0.0~rc15.deb-2_amd64.deb
 d8a43ed3ae4b4f5064f9656a983d12f8 788896 doc optional coccinelle-doc_1.0.0~rc15.deb-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlCyL2YACgkQKaC6+zmozOKvqwCfYugCQToBPbSlnuGVfMTcjtzM
JE4AoIH87UsoyhKdMWyDBlbas0omIUFX
=rwc5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: