Your message dated Tue, 13 Jun 2023 15:24:05 +0000 with message-id <e1q95sl-003bgg...@fasolo.debian.org> and subject line Bug#1036987: fixed in eccodes 2.30.2-1 has caused the Debian Bug report #1036987, regarding libeccodes-data: fails to upgrade from sid: unable to install new version of '/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1/codetables/11199.table': No such file or directory 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.) -- 1036987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036987 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: libeccodes-data Version: 2.30.0-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package fails to upgrade from 'sid' to 'experimental'. It installed fine in 'sid', then the upgrade to 'experimental' fails. >From the attached log (scroll to the bottom...): Preparing to unpack .../libeccodes-data_2.30.0-1_all.deb ... Unpacking libeccodes-data (2.30.0-1) over (2.28.0-1) ... dpkg: error processing archive /var/cache/apt/archives/libeccodes-data_2.30.0-1_all.deb (--unpack): unable to install new version of '/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1/codetables/11199.table': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/libeccodes-data_2.30.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) This looks like there are some missing dpkg-maintscript-helper symlink_to_dir calls, since e.g. in sid there is /usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1 -> 0 a symlink while in experimental it is directory containing files. While unpacking, dpkg seems to write a file over a dangling directory symlink, causing the above error. Quoting from the unhandled_symlink_to_directory_conversion template: """ 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: 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#copyright-information 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#details-of-unpack-phase-of-installation-or-upgrade 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. See dpkg-maintscript-helper(1) and dh_installdeb(1) for details. """ You seem to fall into the "anything interesting may happen" category, it's the first time that I've seen such an error while caring for piuparts. cheers, Andreas
libeccodes-data_2.30.0-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: eccodes Source-Version: 2.30.2-1 Done: Alastair McKinstry <mckins...@debian.org> We believe that the bug you reported is fixed in the latest version of eccodes, 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 1036...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <mckins...@debian.org> (supplier of updated eccodes 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: Tue, 13 Jun 2023 15:40:00 +0100 Source: eccodes Architecture: source Version: 2.30.2-1 Distribution: unstable Urgency: medium Maintainer: Alastair McKinstry <mckins...@debian.org> Changed-By: Alastair McKinstry <mckins...@debian.org> Closes: 1036987 Changes: eccodes (2.30.2-1) unstable; urgency=medium . * New upstream release * Add dpkg-maintscript helper to cope with symlinks turning to files in libecccodes-data. Closes: #1036987 Checksums-Sha1: 87df56dc80774e35898bf38c1ec95e2c0766d033 2696 eccodes_2.30.2-1.dsc 04449721ee85d9e7c297a292f40507ae79ad5331 157364056 eccodes_2.30.2.orig-data.tar.xz 1e51fef60d97f17b1cd1e2b2b16512d893f5cd8b 4100408 eccodes_2.30.2.orig.tar.xz ba7ded7c3a68ae316f9d2e4c9bdfd2cc0ba4ad38 11640 eccodes_2.30.2-1.debian.tar.xz Checksums-Sha256: 20b86a4f17b015acfb170a940de3046657a08059a0deafc19aacd34cb47e73aa 2696 eccodes_2.30.2-1.dsc 0ca1466c642f0244af0a1590324ac55b6de6e6f86bcb871791e59a4a5868c227 157364056 eccodes_2.30.2.orig-data.tar.xz d78ffa0b7fc3a39d3f684d009374897c4eb95cf4967be5e4ca7833b0dd8e5734 4100408 eccodes_2.30.2.orig.tar.xz 962ad5c43422d4b4a37f8f42823dc6a7a404f6c133030dde1d1d718a561ea1e9 11640 eccodes_2.30.2-1.debian.tar.xz Files: dbcf447f45c33f0124f9378dff5113de 2696 science optional eccodes_2.30.2-1.dsc fd1b9b838d0f350a07f2c29ff123e8b4 157364056 science optional eccodes_2.30.2.orig-data.tar.xz 16de1651545e0c67724e22d664d97d28 4100408 science optional eccodes_2.30.2.orig.tar.xz 6207dd9843663e905a3d1bf94ca7812d 11640 science optional eccodes_2.30.2-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmSIgkAACgkQy+a7Tl2a 06VjEw/+P8mGasM4v8gVMDzQW5jWlIAFCMuCAc+DWZBZ6mqynW5c09bc0vhg81qe frmGgiB1ROxeIroS0KPNkeDzxwqd0P7JCKF9z0mNvcoWsm2J3pkdchZ6iS3ENjwi umWEqTIt1dPObvwtJM/yss5zzXP7klHaIz2I7gG2ih623LUfW36xWqLpPU5OGo5J T9OEC4YHBjVjUYpybhiwDTKLzAet2TuvbHAP+qO8BUq9SYMYpxRnc8f2Wi0LSMcn PcqtYHeki6VzzJr93/ch88uUQOh6NFSpWmnEkGcossQHzp7WqiGi5jr5qB3IXKMt SgsFILki+TpIOO107BjkwpNoKUAD/k3jcgZZ3pQYEUUktENpkQp5qS1+ZolWnkaN minydQPiDHmpAIutwSKf6FUDlK9DKCkpk+E+bbroc/G9vEoIrnOBx5c3Zbhd37PJ GABWb18xcBC64Q474JICWYA20gZN6Ht4TldpIHDOUJr2wWrQcobAfhjkdcEDmT4R hLvmlfR5XHCjfQyz/l6TUXyPSy5zsFDr4rsgRJxggfaqPysn/sqrwsdo+6bY9MDL IB0Mu8LeauiSFF+DrqMWXcNKvemn1Xyrd+7crRVp5bh5ZPYAgIGSWK+gK5fQFBtv oC07LtPpWz7NS9SjYN890RZQbeZYH5rdfPOMGww3WDDBsO5UaTU= =vCDl -----END PGP SIGNATURE-----
--- End Message ---