Your message dated Thu, 03 Aug 2017 08:49:43 +0000
with message-id <[email protected]>
and subject line Bug#870583: fixed in grib-api 1.23.0-3
has caused the Debian Bug report #870583,
regarding libgrib-api0: unhandled symlink to directory conversion: 
/usr/share/grib_api -> eccodes
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 [email protected]
immediately.)


-- 
870583: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870583
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgrib-api0
Version: 1.23.0-1
Severity: serious
User: [email protected]
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:

  testing -> sid

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 (scroll to the bottom...):

0m25.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/grib_api/definitions (libgrib-api0) != 
/usr/share/eccodes/definitions (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/definitions/boot.def (libgrib-api0) != 
/usr/share/eccodes/definitions/boot.def (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/definitions/budg (libgrib-api0) != 
/usr/share/eccodes/definitions/budg (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/definitions/budg/boot.def (libgrib-api0) != 
/usr/share/eccodes/definitions/budg/boot.def (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/definitions/budg/mars_labeling.def (libgrib-api0) != 
/usr/share/eccodes/definitions/budg/mars_labeling.def (libeccodes-data)
    /usr/share/grib_api -> eccodes
[..]    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/samples/sh_pl_grib1.tmpl (libgrib-api0) != 
/usr/share/eccodes/samples/sh_pl_grib1.tmpl (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/samples/sh_pl_grib2.tmpl (libgrib-api0) != 
/usr/share/eccodes/samples/sh_pl_grib2.tmpl (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/samples/sh_sfc_grib1.tmpl (libgrib-api0) != 
/usr/share/eccodes/samples/sh_sfc_grib1.tmpl (libeccodes-data)
    /usr/share/grib_api -> eccodes
  /usr/share/grib_api/samples/sh_sfc_grib2.tmpl (libgrib-api0) != 
/usr/share/eccodes/samples/sh_sfc_grib2.tmpl (libeccodes-data)
    /usr/share/grib_api -> eccodes


cheers,

Andreas

Attachment: libgrib-api0_1.23.0-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: grib-api
Source-Version: 1.23.0-3

We believe that the bug you reported is fixed in the latest version of
grib-api, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated grib-api 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 03 Aug 2017 07:29:45 +0100
Source: grib-api
Binary: libgrib-api0 libgrib-api-dev libgrib-api-tools libgrib-api-doc 
python-gribapi python3-gribapi
Architecture: source amd64 all
Version: 1.23.0-3
Distribution: unstable
Urgency: medium
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Description:
 libgrib-api-dev - GRIB decoding/encoding software library (development)
 libgrib-api-doc - GRIB decoding/encoding software (documentation)
 libgrib-api-tools - GRIB decoding/encoding software (utilities)
 libgrib-api0 - GRIB decoding/encoding software library
 python-gribapi - Python module for the ECMWF GRIB API library
 python3-gribapi - Python3 module for the ECMWF GRIB API library
Closes: 870583
Changes:
 grib-api (1.23.0-3) unstable; urgency=medium
 .
   * Remove symlink. Closes: #870583
   * Conflict: python3-gribapi and python3-eccodes
Checksums-Sha1:
 3c9d3e254287eaf05d9178a5ae4a3c4bffdcf0ac 2897 grib-api_1.23.0-3.dsc
 344089a8e5ce9bcc6e9f9adeac605cbdf524ec82 36888 grib-api_1.23.0-3.debian.tar.xz
 e6027842af534722664384d56325f8e2aa78aec9 11399 
grib-api_1.23.0-3_amd64.buildinfo
 14eb18cb8f1707d34e3ca5b4808bb60f4d0b0a6c 532690 
libgrib-api-dev_1.23.0-3_amd64.deb
 45485a88cb5aabddd9cfd816b68e162292cf4d05 74402 libgrib-api-doc_1.23.0-3_all.deb
 011961cb45e5fa31b408cb6d5f5df86c504b9f48 828370 
libgrib-api-tools-dbgsym_1.23.0-3_amd64.deb
 5722d5ef936e4a2337ae0f6de526d4f5a76e16a9 185178 
libgrib-api-tools_1.23.0-3_amd64.deb
 15de4eef07fa6189f7a046d907260bd0eda3ecaf 1157034 
libgrib-api0-dbgsym_1.23.0-3_amd64.deb
 ed5518414e29b8c3e4e69b3a00b9a1595f1718c5 323892 libgrib-api0_1.23.0-3_amd64.deb
 51d59991628f996a69bf39f453f9f7c0c943db91 171122 
python-gribapi-dbgsym_1.23.0-3_amd64.deb
 e5d108c0c108557cb5137ee73658f6e6cfea1920 66816 
python-gribapi_1.23.0-3_amd64.deb
 4e22153ef7fb22cb7005be75da27ef29f024cd3e 334372 
python3-gribapi-dbgsym_1.23.0-3_amd64.deb
 3648f42b186fd3888fb58825ba8014fd5165a766 68654 
python3-gribapi_1.23.0-3_amd64.deb
Checksums-Sha256:
 12d67cb9285b774c2327585e0edbb9fd19ca3b9f17f41ff71b12d9351f1b37cf 2897 
grib-api_1.23.0-3.dsc
 a5158412004f5bdcfb33cf488a20ff9319c8280c7ac45d39b1b2cb843b2a2a88 36888 
grib-api_1.23.0-3.debian.tar.xz
 1610877fd8a21872c9c661dd5945b117d56267a587bee3b6a7824a2a24a63278 11399 
grib-api_1.23.0-3_amd64.buildinfo
 97bb20b69d4785741de9ed725587781780a4fda3a3b81c1a644b2e55707c3354 532690 
libgrib-api-dev_1.23.0-3_amd64.deb
 09768f6a676790ff69316548cc811038a8b5ab11762e52f4c426dc31b4a5d458 74402 
libgrib-api-doc_1.23.0-3_all.deb
 3444e526f7a838220b2884ace5ca224bbe981a0ebc4d4b5379ebbba41598b242 828370 
libgrib-api-tools-dbgsym_1.23.0-3_amd64.deb
 b58ff1817addbe99a7777aaef089107781d09a524388567deaa8dc64d275d63d 185178 
libgrib-api-tools_1.23.0-3_amd64.deb
 7a4764f73c9672e05c0e281323d50ae4ec515e4abad10759a375afb5e50ce387 1157034 
libgrib-api0-dbgsym_1.23.0-3_amd64.deb
 dacdc6f8de451a896292cf156d822a626916cb34c4ed324ab9ea0d8e39da77db 323892 
libgrib-api0_1.23.0-3_amd64.deb
 176de6a48da9ef5469bf431a1929701f41d4295dfd85a40baff2ec811a2d26c7 171122 
python-gribapi-dbgsym_1.23.0-3_amd64.deb
 c688d3d7fdfede11e9aa34836507f4a7b8a5275ce94af48db94c5d8ca4b4aa6c 66816 
python-gribapi_1.23.0-3_amd64.deb
 284c39b3e933a477718c3ad2e3c4958da4f9a8d5e6b9f8d4f6477be0af22d2be 334372 
python3-gribapi-dbgsym_1.23.0-3_amd64.deb
 9c0482e6690379090750c80d8295bfe656d54eaa5d9d92ce82771b8aa630ca84 68654 
python3-gribapi_1.23.0-3_amd64.deb
Files:
 603eca90dc823468f6d56642b878caea 2897 libdevel optional grib-api_1.23.0-3.dsc
 6d74f85d7956e6665cf42423cc4112bb 36888 libdevel optional 
grib-api_1.23.0-3.debian.tar.xz
 96a7018e0d168fb94da3c51a37daaf46 11399 libdevel optional 
grib-api_1.23.0-3_amd64.buildinfo
 86ad40570f88569fe719b153973d043f 532690 libdevel optional 
libgrib-api-dev_1.23.0-3_amd64.deb
 32462bff57ad9c08d7d26646831e2a68 74402 doc optional 
libgrib-api-doc_1.23.0-3_all.deb
 31efece8cdbfd145895ff8b32f3d64ce 828370 debug extra 
libgrib-api-tools-dbgsym_1.23.0-3_amd64.deb
 fdbb5c6e008756acf69dbd0d2453d4ae 185178 utils optional 
libgrib-api-tools_1.23.0-3_amd64.deb
 e58f4fd34199ae59426c7d67c0033b18 1157034 debug extra 
libgrib-api0-dbgsym_1.23.0-3_amd64.deb
 6a7862b6ebcf5d92ecfa37e68cbe143a 323892 libs optional 
libgrib-api0_1.23.0-3_amd64.deb
 63de5141f33840b769567723eef0f892 171122 debug extra 
python-gribapi-dbgsym_1.23.0-3_amd64.deb
 444488da18df119d999b9659d180b75b 66816 python optional 
python-gribapi_1.23.0-3_amd64.deb
 76e45b1e06cbc85074d8b8aa77b40193 334372 debug extra 
python3-gribapi-dbgsym_1.23.0-3_amd64.deb
 956e05def1f1b82a226d8e29d2808ed7 68654 python optional 
python3-gribapi_1.23.0-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAlmCynkACgkQy+a7Tl2a
06W2UQ/+L19Eqy7J0F8UVY+/Wywfbipln2FOWxUh0LzeFMLLUnFVqqHgunwnpcVo
/6ZccmkbETH+qKEK/Q1zhmuVHJPzc3PG8HVVTEBMnLoK0DF8LnPRTqsMoNTV00lG
Wazehd/mXAijuCSnfGTM9O72q0FzRHh75Y609z1YAn8OTa0XmrhC+jyP3ufr7wt0
WIVSPds/ucHVLByUPh1cmuJZENskPqHAND4gAGN6Dm5a17j5s4hfT1WVyyccu51w
rw5qrUH1d5256HVae1MOq1RqnheZnQH6S0kMoDKvEgUVonyBHDobUcyb9+LlK9/h
EEOM1rqqcFktt02jkD4hi8l5u45kcMLcqt6m1CroNd6G20YrYBWQp/6+/DCYCWE4
k7MgrjdDJREDK5AEdLwj9UmYiwE80pSKmW72MHRBm+vbGMgqmJi5cEfwURQu8IOX
Qakdovao5tEaMZep9DsU/p0PnRvU/TyoG8VEylqZV/RAZJ5iogMRRW/vdwd407Go
hhwuXDOFP5lRWv77rA0axbm8OoLjzCIoi8N5vwmM82hl3OOXDvdL3YNZeyDJ0uIA
xMHpa8+v7kns4UzamwUrKa7ykZ5YYAGxQtNA/nhHC7ANSKCBJl6TDhTbBajO6mTt
WtTEXpWSpnwIOc2jfQaahSfaun7BiIYiD7ZKp39kNAaTyCPMllg=
=OUOY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to