Your message dated Wed, 13 Apr 2016 18:26:08 +0000
with message-id <e1aqpuo-0004ym...@franck.debian.org>
and subject line Bug#820323: fixed in heroes 0.21-15
has caused the Debian Bug report #820323,
regarding heroes-sdl: 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.)


-- 
820323: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820323
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: heroes-sdl
Version: 0.21-14
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:

  jessie -> stretch

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:
https://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
https://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.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


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

1m43.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/heroes-sdl/changelog.Debian.gz (heroes-sdl) != 
/usr/share/doc/heroes-common/changelog.Debian.gz (heroes-common)
    /usr/share/doc/heroes-sdl -> heroes-common
  /usr/share/doc/heroes-sdl/changelog.gz (heroes-sdl) != 
/usr/share/doc/heroes-common/changelog.gz (heroes-common)
    /usr/share/doc/heroes-sdl -> heroes-common
  /usr/share/doc/heroes-sdl/copyright (heroes-sdl) != 
/usr/share/doc/heroes-common/copyright (heroes-common)
    /usr/share/doc/heroes-sdl -> heroes-common


cheers,

Andreas

Attachment: heroes-sdl_0.21-14.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: heroes
Source-Version: 0.21-15

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

Debian distribution maintenance software
pp.
Stephen Kitt <sk...@debian.org> (supplier of updated heroes 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: Wed, 13 Apr 2016 20:03:17 +0200
Source: heroes
Binary: heroes heroes-sdl heroes-common
Architecture: source
Version: 0.21-15
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Stephen Kitt <sk...@debian.org>
Description:
 heroes     - Collect powerups and avoid your opponents' trails
 heroes-common - transitional package for heroes
 heroes-sdl - transitional package for heroes
Closes: 820323
Changes:
 heroes (0.21-15) unstable; urgency=medium
 .
   * Rewrite debian/copyright in machine-readable format.
   * Migrate the /usr/share/doc/heroes-sdl symlink to a directory using
     dpkg-maintscript-helper (closes: #820323).
   * Clean up debian/control using cme.
   * Stop installing /usr/share/games/heroes in the heroes package.
   * Standards-Version 3.9.8, no further change required.
   * Enable all hardening options.
Checksums-Sha1:
 6c5d55d4ee5d4b34e0f428dae6bedcb586e1e768 2112 heroes_0.21-15.dsc
 efa21cf1faf42049db198020d74e4be53c427cd7 30176 heroes_0.21-15.debian.tar.xz
Checksums-Sha256:
 0bbca11ccca03bd58c950318d94bbea605e02e758327d3bcdcaf86b6908b3cb1 2112 
heroes_0.21-15.dsc
 27cdeca532d0baf9a82b31a7302a5e1e5717c93eb57cf0eb43fbbba28ccf3283 30176 
heroes_0.21-15.debian.tar.xz
Files:
 8f3f456c1a88887ec58829906aafd332 2112 games optional heroes_0.21-15.dsc
 1a203b995fc74bea1d603e685d0ba589 30176 games optional 
heroes_0.21-15.debian.tar.xz

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

iQIcBAEBCgAGBQJXDon2AAoJEIDTAvWIbYOcuV4QAJazGktZ+TbHunrcgovACGbe
A8G1NVouoRP616N14/VYBImwokHx5hHj6dtdTWsWAy93VEMlrxtawqFaFG3oj195
sWghWgEYwnI3FhwagLHRF82FhGTncTSc/aoRRpKT7mH3A37/sR/IIp0Yfo0x8J+A
6jUjJ/VLfAR4HaKgQ/T+I0nv+Qd8RwInpzDEVukXMomJaidjQGIRHptjDGOr6GLr
Qi6B0rZZ5XGF18fOJmure8AawNjh+w2bgGlMsG2zAQ51/91tJmSC8o3MYkuIgvaS
2AEoFn3vm5FaQ01Glj+jLOgyACl3XnzYO/+KpJBC5BjWpMP+Ibl0hhvWLRXbamKo
kg+7fnM3yxSzzzzDwGY4hRarip9OajeH+GfhMfYpOVXznbt4ZkR+QJMQn9d7BjWw
Tf9vy0xo62GzYiu6Rd2v/bHfRcPv2KPJvKURLQqUxgC5k2TuvOwDPRvhwe0DaA43
z7WcqykTlgOgxrsWvzu00q8ukyMXKQy+CahGF7T58xTjROTi8X883lJH7fIat4+B
maSbP6l6GDzp32chGKBYiMDhcDcY8+B6Obt6wfOw0zVZVFMRw8ONmQPf7oZTwnCT
8JtXfIcHmMMNwzEKd1D8v7XpAl0907dkH7OYU7bk++fWCNuJGll8ta/hqlFciBda
TJvOhQG7yo/q9l/Thu+M
=6svK
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to