Your message dated Fri, 07 Nov 2014 07:33:58 +0000
with message-id <e1xme3s-0001r2...@franck.debian.org>
and subject line Bug#768267: fixed in libonig 5.9.5-3
has caused the Debian Bug report #768267,
regarding libonig2-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.)


-- 
768267: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768267
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libonig2-dbg
Version: 5.9.5-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...):

1m2.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libonig2-dbg/changelog.Debian.gz (libonig2-dbg:amd64) != 
/usr/share/doc/libonig2/changelog.Debian.gz (libonig2:amd64)
  /usr/share/doc/libonig2-dbg/changelog.gz (libonig2-dbg:amd64) != 
/usr/share/doc/libonig2/changelog.gz (libonig2:amd64)
  /usr/share/doc/libonig2-dbg/copyright (libonig2-dbg:amd64) != 
/usr/share/doc/libonig2/copyright (libonig2:amd64)


cheers,

Andreas

Attachment: libonig2-dbg_5.9.5-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libonig
Source-Version: 5.9.5-3

We believe that the bug you reported is fixed in the latest version of
libonig, 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.
Jörg Frings-Fürst <deb...@jff-webhosting.net> (supplier of updated libonig 
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: Thu, 06 Nov 2014 21:32:20 +0100
Source: libonig
Binary: libonig2 libonig2-dbg libonig-dev
Architecture: source
Version: 5.9.5-3
Distribution: unstable
Urgency: medium
Maintainer: Jörg Frings-Fürst <deb...@jff-webhosting.net>
Changed-By: Jörg Frings-Fürst <deb...@jff-webhosting.net>
Description:
 libonig-dev - Development files for libonig2
 libonig2   - Oniguruma regular expressions library
 libonig2-dbg - Debugging symbols for libonig2
Closes: 768267
Changes:
 libonig (5.9.5-3) unstable; urgency=medium
 .
   * Add debian/libonig2-dbg.(preinst|postinst|postrm) to prevent
     error on upgrade wheezy to jessie. (Closes: #768267)
Checksums-Sha1:
 f5096614dfb02285ce0b6d9ce1f59d7ef34a11e1 1851 libonig_5.9.5-3.dsc
 6fba94ce86901bfdf9eb59b1c4e1435b5404bde6 6816 libonig_5.9.5-3.debian.tar.xz
Checksums-Sha256:
 4ed61bc7095eb7156f9e38288175b739c10be824ac09285608c0a4260fabc620 1851 
libonig_5.9.5-3.dsc
 d5de19d7c9b5359a98fdcadfe5bdded98377f587fff8690f9fb79400974ea7b3 6816 
libonig_5.9.5-3.debian.tar.xz
Files:
 19a58df0d322fa40f25b7db2cea8d527 1851 libs extra libonig_5.9.5-3.dsc
 fa8a394373cc4c36076118a6cc7aa9b4 6816 libs extra libonig_5.9.5-3.debian.tar.xz

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

iQIcBAEBCAAGBQJUXHPyAAoJEI7tzBuqHzL/T0MP/0SXYPIJN23gSwnIEAYykJeg
Zd82M0ON5prcYh0qYQGhegrw4sd50lVsdHUUkztU8sSu9L6ra+tvTMmblG0/BkgC
11dYqZICHAhzN73tPEiMZzyjsi6XO8WnU6eUmcqE4Tzynf+IXOSSZLaWb82GaB5F
o3HgJWdfTOshwBivKEjBdOhautkvyD2L1mMqYuuZpmZ4+8dkM7mnvy/uLj8ras7n
4t3SJkL3tJfEYYdhQ9AwDq9ezanAk2JjuNQeAs99Ncrynm/U8TAhXxYSI/dDRpwE
GEd8ylVpcNx17e0vIefZFnqY1xNHk9hnk7Wloluq4JymlbZIwPyGQG3Mw6AVkd44
kPpVQuN1e+76UuLZTma1Oj1n4++FvgqEp5JhGn1P9bOu4otuYaR8jchuKs7yW9fn
XmqfniRKwYt7WI9YExviC3ohuQzOxvXLVLD+SJSgObCSpgLpgl9hlPG58Ow1C48M
pg0J+edJIdaicdE3s1JIS401TihwCrBWSmB0KOkiGF4FufA9YVuui0mHl+mD78sp
TVBal7wLsDeVbeh0GGIpO4MT9XOyDn6ulD31Rp28zv6FLy97CTLYMOsFVmalPCs6
LEWHiLEDAGLe3gvcuqw+NSYlxktBvAetIhDpAlXgSO0zZKSCQ7GsUQjrTRaKeEB3
kyLSBSo4XL0SUwUv3y9w
=h+aF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to