Your message dated Mon, 17 Nov 2014 21:19:43 +0000
with message-id <e1xqti3-0002i6...@franck.debian.org>
and subject line Bug#768286: fixed in zope.interface 4.1.1-3
has caused the Debian Bug report #768286,
regarding python{, 3}-zope.interface-dbg: unhandled symlink to directory 
conversion: /usr/share/doc/PACKAGE
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.)


-- 
768286: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768286
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-zope.interface-dbg,python-zope.interface-dbg
Version: 4.1.1-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  wheezy -> jessie

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.2)
to perform the conversion, ideally using d/$PACKAGE.mainstscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

1m47.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python3-zope.interface-dbg/changelog.Debian.gz 
(python3-zope.interface-dbg) != 
/usr/share/doc/python3-zope.interface/changelog.Debian.gz 
(python3-zope.interface)
  /usr/share/doc/python3-zope.interface-dbg/copyright 
(python3-zope.interface-dbg) != /usr/share/doc/python3-zope.interface/copyright 
(python3-zope.interface)

1m8.8s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-zope.interface-dbg/changelog.Debian.gz 
(python-zope.interface-dbg) != 
/usr/share/doc/python-zope.interface/changelog.Debian.gz (python-zope.interface)
  /usr/share/doc/python-zope.interface-dbg/copyright 
(python-zope.interface-dbg) != /usr/share/doc/python-zope.interface/copyright 
(python-zope.interface)


cheers,

Andreas

Attachment: python3-zope.interface-dbg_4.1.1-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: zope.interface
Source-Version: 4.1.1-3

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

Debian distribution maintenance software
pp.
Barry Warsaw <ba...@debian.org> (supplier of updated zope.interface 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: SHA256

Format: 1.8
Date: Mon, 17 Nov 2014 13:48:08 -0500
Source: zope.interface
Binary: python-zope.interface python-zope.interface-dbg python3-zope.interface 
python3-zope.interface-dbg
Architecture: source amd64
Version: 4.1.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian/Ubuntu Zope Team 
<pkg-zope-develop...@lists.alioth.debian.org>
Changed-By: Barry Warsaw <ba...@debian.org>
Description:
 python-zope.interface - Interfaces for Python
 python-zope.interface-dbg - Interfaces for Python (debug extension)
 python3-zope.interface - Interfaces for Python3
 python3-zope.interface-dbg - Interfaces for Python3 (debug extension)
Closes: 768286
Changes:
 zope.interface (4.1.1-3) unstable; urgency=medium
 .
   * Added d/python{,3}-zope.interface-dbg.maintscript so that the switch
     from symlinks to directories in /usr/share/doc is done correctly.
     Removed d/python-zope.interface-dbg.postinst which was an incomplete
     way of doing this. (Closes: #768286)
   * d/control: Added Pre-Depends to -dbg packages for .maintscript to
     work properly.
Checksums-Sha1:
 90dba9289e3f9715da36fdfe0e4f251c932df68d 2495 zope.interface_4.1.1-3.dsc
 2304683c9201b494a0ae3ba3d630371d882f2465 5128 
zope.interface_4.1.1-3.debian.tar.xz
 2d50517f67ec18b9179462bf37a17aed0571704b 85510 
python-zope.interface_4.1.1-3_amd64.deb
 fffe7fc2fd5d4ca77d5dd8f7d827bc346c01c902 14778 
python-zope.interface-dbg_4.1.1-3_amd64.deb
 f49d2cfb40baf67f2b8a620c78b67811f51ec645 85624 
python3-zope.interface_4.1.1-3_amd64.deb
 eb65f56518156418813ce1483a310bffeaa62161 14782 
python3-zope.interface-dbg_4.1.1-3_amd64.deb
Checksums-Sha256:
 c597a349fe250dad8d64793d31cbc93e9a662bdfb9b61c29ff4da80413f64a7c 2495 
zope.interface_4.1.1-3.dsc
 3ae2048dc0b207136262f6256105c2465257d0442a0ce4580771b7b8266f151f 5128 
zope.interface_4.1.1-3.debian.tar.xz
 71778c058cb61c8362585436dab212eb5b12c928d5b8a17c09d0e4257559d0ca 85510 
python-zope.interface_4.1.1-3_amd64.deb
 ee7960595bcf4f7e361006cb4434b2c311361f689182b72be6912dd73e99650c 14778 
python-zope.interface-dbg_4.1.1-3_amd64.deb
 782c5605440abb6cb583e0e3eeb63d5db6a92cc1a06ab6da1b0349cc6bd0e511 85624 
python3-zope.interface_4.1.1-3_amd64.deb
 4f8327e126fe6a2563a37278491d708c90cb4b86f8d7ae2838ef6aa7f373ea53 14782 
python3-zope.interface-dbg_4.1.1-3_amd64.deb
Files:
 766a4019ae11a64d97315d9846f5c469 2495 zope optional zope.interface_4.1.1-3.dsc
 af7c3bbc13bb56e1621d01c96ba3a092 5128 zope optional 
zope.interface_4.1.1-3.debian.tar.xz
 0e1e0657031e4667ee96124873e261e0 85510 zope optional 
python-zope.interface_4.1.1-3_amd64.deb
 07c33b81d5f9a3ec45eec94f1517589a 14778 debug extra 
python-zope.interface-dbg_4.1.1-3_amd64.deb
 46b262959683976788ae00b893b3bd22 85624 zope optional 
python3-zope.interface_4.1.1-3_amd64.deb
 53c4894d0ba3e01a5fe203627327b161 14782 debug extra 
python3-zope.interface-dbg_4.1.1-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUalr3AAoJEBJutWOnSwa/62kQAJBLYN6O/P0OBv/AYVb+d5pI
BV0SBL3vTNCuwJbP2+Ui7xiDFC922LskvsDh+YLZWPJZOTr15gOTpqHReIS9BSpc
XZ53r3dpkbgp0eyIBJX0X8HqzTk/cwElaIdGvJr3huoA8vvNll8LlZco6dx1zmCp
OGfLaXGQmEPL4b4FOIFg/H3ax8Urx+5GOAkDuHe2A5++8ivkpEPj6gBHPhzesE8H
q+Ht58h0pFcTTIiOXzn0TaQfDSzXjfPJKf7JSGmd3u8hmPDV11vVNgyMPKsFRudV
6/aCHVdHXEUfaCoiMxpRF+HUyJirx7Tqmae0+y8BZMJUxANx4PgZS3zGHfERD/52
Z6ik8XT0dJeteCNHULmPbgOP2QPCgKaJWyKa6A073q/5ERa63uRRXjkUR6OP1Sxc
CnJxm8spZppB/DM9Lr5eAlnW7UIJpwtZVZPFNAbiTy9bCZViCVOpKWPtqiOUhsiY
LlC4NELHNr3B7/jMN/6JJ1U/X59WpM8idfjQczIKvpTt/uH00dGfV+fQXFnaXHEk
gghG6w2L+uEkFWUFwuGKDgOU0aKMx5WSAit5y1wxmFOWAuUsQOZvsnjRLZQOkL7E
7BvzYopnB/NVKxrenJQqVBnHZH+D1mlF412TRqZn+TogvNtjlln8t2AyPVYiuRdZ
95iqbcoMCB8pFi7g+DWF
=kRvS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to