Your message dated Thu, 25 Mar 2021 06:48:26 +0000
with message-id <[email protected]>
and subject line Bug#985339: fixed in nauty 2.7r1+ds-2
has caused the Debian Bug report #985339,
regarding nauty: 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 [email protected]
immediately.)


-- 
985339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985339
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nauty
Version: 2.7r1+ds-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:

  jessie -> stetch -> buster -> bullseye

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.


>From the attached log (scroll to the bottom...):

1m40.0s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/nauty/changelog.Debian.gz (nauty) != 
/usr/share/doc/libnauty2/changelog.Debian.gz (libnauty2:amd64)
    /usr/share/doc/nauty -> /usr/share/doc/libnauty2
  /usr/share/doc/nauty/changelog.gz (nauty) != 
/usr/share/doc/libnauty2/changelog.gz (libnauty2:amd64)
    /usr/share/doc/nauty -> /usr/share/doc/libnauty2
  /usr/share/doc/nauty/changes24-27.txt.gz (nauty) != 
/usr/share/doc/libnauty2/changes24-27.txt.gz (libnauty2:amd64)
    /usr/share/doc/nauty -> /usr/share/doc/libnauty2
  /usr/share/doc/nauty/copyright (nauty) != /usr/share/doc/libnauty2/copyright 
(libnauty2:amd64)
    /usr/share/doc/nauty -> /usr/share/doc/libnauty2


cheers,

Andreas

Attachment: nauty_None.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: nauty
Source-Version: 2.7r1+ds-2
Done: Andrius Merkys <[email protected]>

We believe that the bug you reported is fixed in the latest version of
nauty, 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.
Andrius Merkys <[email protected]> (supplier of updated nauty 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: SHA512

Format: 1.8
Date: Thu, 25 Mar 2021 02:26:39 -0400
Source: nauty
Architecture: source
Version: 2.7r1+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Andrius Merkys <[email protected]>
Closes: 985339
Changes:
 nauty (2.7r1+ds-2) unstable; urgency=medium
 .
   * Team upload.
   * Fix jessie -> testing upgrade sequence bug due to symlink to directory
     switch (Closes: #985339)
Checksums-Sha1:
 407cf0dbbd594bf258c666b1490053f8d70743a4 2302 nauty_2.7r1+ds-2.dsc
 720af0230f3cda294b0495e520d717fefb71511b 45400 nauty_2.7r1+ds-2.debian.tar.xz
 f6720d7d10e9c37b3626b7b5bc7157a236ded112 6357 nauty_2.7r1+ds-2_source.buildinfo
Checksums-Sha256:
 cd41b6b4ac427c41b720298d3f99b2f06d1c89ea6868f375ae1b497b6b654566 2302 
nauty_2.7r1+ds-2.dsc
 159ffed57b3996a4e00f4303113852f29674326eca3cb45c50554eb75bde9e66 45400 
nauty_2.7r1+ds-2.debian.tar.xz
 a1b57d422cd1123fa3288cf12f3a383ff0c866a55b57fa39d6c4e161e2e16ced 6357 
nauty_2.7r1+ds-2_source.buildinfo
Files:
 01bd86076abe93ba99f4a6f62a5c7eee 2302 math optional nauty_2.7r1+ds-2.dsc
 646d771bdf9a71531bc44c6da4d1a7b2 45400 math optional 
nauty_2.7r1+ds-2.debian.tar.xz
 cf37f76af4845dda19b73410e099926d 6357 math optional 
nauty_2.7r1+ds-2_source.buildinfo

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

iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAmBcL9QSHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHZaYQAJqYN5zu97iNGz2e4GtaI47+SPCNAHxe
wi3oLcKH7w6WV49Hmrac8Kh3ZmnOsqt2DpLHWvwvvHKdBAsfcQXXtcgctUG3lkHc
fB/GoaFNQ+6+2rHxxYY64wTqIqHf/d1XsJ7043M9U3F77W/GhH7YMY/vQQIZvkZw
4w82/gDpQXigPqJctsgHiiD6s2FkU/sp6vlZ48DJiqpygWqWYh/ue2lW0x4IKT4C
FwVxvXw4e0kJnzvw2vhoZ2P7Ob+U1g8GHsmUZVncnEvBEqumi1sDddW/8tNpm9Va
ieNoJU79zwdEDn7bvc8GUGKLeBWYS/WVwUmIouN1zhTkwmCn3rumFbdDAgBBm9e1
tLfCaodUoHVKNT6YcPsvidKf8MH0VqJqAlZfGUelLVjF2lidxTqX5aWtMXzhlFlh
idrTOImjC5l/c4fYUf2pSD3+LouIrKG04QZQDGHA6y4bLaCLr1adnNytUxz2yruF
hwnlljz7r/UCBzKvCF1B3JQbAsFLUygzncRvX1dhdFRht6kjfczYwEUX5LCKR9oP
mhLnZ6udVWCwUfBWwojQowWkU7WqzmY09akLeL8W4/r/hu1sAqmhj7JgFHIbZwc8
1S6ALlJ1x2BHYy0QhLznp6i9tJpZYcwYVi8iKNnqksuSJ4M3aPLnCO5J4HBJ5ntb
FAHXV6kLKGa9
=i+fm
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to