[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:17 +0000
with message-id <E1Tcdjp-0007jc-Jx@franck.debian.org>
and subject line Bug#694269: fixed in coccinelle 1.0.0~rc12.deb-5
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~rc12.deb-5

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:31:08 +0100
Source: coccinelle
Binary: coccinelle coccinelle-doc
Architecture: source amd64 all
Version: 1.0.0~rc12.deb-5
Distribution: unstable
Urgency: medium
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~rc12.deb-5) unstable; urgency=medium
 .
   * Add Breaks/Replaces coccinelle (<< 1.0.0~rc7.deb-4) to coccinelle-doc,
     this fixes package upgrades. Thanks to Andreas Beckmann (closes: #694269)
   * debian/gbp.conf: set debian-branch to 'wheezy-updates'
   * Urgency medium because of a fix for an RC bug
Checksums-Sha1: 
 28339e61ea224299e3443f8e998f1b869ee5b992 1854 coccinelle_1.0.0~rc12.deb-5.dsc
 fda8a27e9b99ed7e40eb60860bb0cb05cc5d28b4 9005 coccinelle_1.0.0~rc12.deb-5.debian.tar.gz
 50493a1c05b17b35cd32baf7ea59d92055486fb4 1666476 coccinelle_1.0.0~rc12.deb-5_amd64.deb
 8f540ee8acbdb5b1dc988fcb13720b709cf925d8 772468 coccinelle-doc_1.0.0~rc12.deb-5_all.deb
Checksums-Sha256: 
 f0bbc2c944952db3fded602764cfe6fdc3e680ccff6bf4c2b3b77f15d56d0a21 1854 coccinelle_1.0.0~rc12.deb-5.dsc
 2900e6bb68e408f11268d2bed41f04f2db24d498d50ddae5f74f043819f0c754 9005 coccinelle_1.0.0~rc12.deb-5.debian.tar.gz
 7edb616b43f75b3281e5265d348014a035213dc14ae41f2a60469333dc029251 1666476 coccinelle_1.0.0~rc12.deb-5_amd64.deb
 b4400114f7c615a407728f01bfef8703d7d8f2f7f796db7f8faac209ad424044 772468 coccinelle-doc_1.0.0~rc12.deb-5_all.deb
Files: 
 a2f17b9e9e6995211a4e65ca05f2202b 1854 devel optional coccinelle_1.0.0~rc12.deb-5.dsc
 9e000fb727281260815f5ef656b56034 9005 devel optional coccinelle_1.0.0~rc12.deb-5.debian.tar.gz
 b0ad3a28fc87f62ed335c4eb3360ec75 1666476 devel optional coccinelle_1.0.0~rc12.deb-5_amd64.deb
 2e1fd18f4ec529543c179119f42e9eb4 772468 doc optional coccinelle-doc_1.0.0~rc12.deb-5_all.deb

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

iEYEARECAAYFAlCyLJoACgkQKaC6+zmozOLFKACeI5WgwOfXttC/EmA7dXpndSC2
M8IAn0J8p6TlUutRoipMUiC0/YD+tZWw
=Z65f
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: