Your message dated Fri, 07 May 2021 19:33:28 +0000
with message-id <e1lf6e4-000fmk...@fasolo.debian.org>
and subject line Bug#988147: fixed in psychopy 2020.2.10+dfsg-2
has caused the Debian Bug report #988147,
regarding psychopy: unhandled symlink to directory conversion: 
/usr/share/doc/psychopy/examples
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.)


-- 
988147: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988147
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: psychopy
Version: 2020.2.10+dfsg-1
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:

  stretch -> buster (which had no psychopy package, thus keeping the
                     stretch version installed) -> 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...):

2m50.7s ERROR: installs objects over existing directory symlinks:
  /usr/share/doc/psychopy/examples/color_changer.py (psychopy) != 
/usr/lib/python2.7/dist-packages/psychopy/demos/color_changer.py (?)
    /usr/share/doc/psychopy/examples -> 
../../../lib/python2.7/dist-packages/psychopy/demos
  /usr/share/doc/psychopy/examples/demos (psychopy) != 
/usr/lib/python2.7/dist-packages/psychopy/demos/demos (?)
    /usr/share/doc/psychopy/examples -> 
../../../lib/python2.7/dist-packages/psychopy/demos
  /usr/share/doc/psychopy/examples/psychopy_helloworld.py (psychopy) != 
/usr/lib/python2.7/dist-packages/psychopy/demos/psychopy_helloworld.py (?)
    /usr/share/doc/psychopy/examples -> 
../../../lib/python2.7/dist-packages/psychopy/demos
  /usr/share/doc/psychopy/examples/run_coder.py (psychopy) != 
/usr/lib/python2.7/dist-packages/psychopy/demos/run_coder.py (?)
    /usr/share/doc/psychopy/examples -> 
../../../lib/python2.7/dist-packages/psychopy/demos


cheers,

Andreas

Attachment: psychopy_2020.2.10+dfsg-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: psychopy
Source-Version: 2020.2.10+dfsg-2
Done: Étienne Mollier <etienne.moll...@mailoo.org>

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

Debian distribution maintenance software
pp.
Étienne Mollier <etienne.moll...@mailoo.org> (supplier of updated psychopy 
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: Fri, 07 May 2021 20:57:53 +0200
Source: psychopy
Architecture: source
Version: 2020.2.10+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <etienne.moll...@mailoo.org>
Closes: 988147
Changes:
 psychopy (2020.2.10+dfsg-2) unstable; urgency=medium
 .
   * Team upload
   * d/psychopy.maintscript: gracefully handle transition from symlink to
     regular directory of /usr/share/doc/psychopy/examples from Stretch through
     Buster to Bullseye.
     Closes: #988147
Checksums-Sha1:
 ad7650f3285179e83f896e388ae4e8cec4bbe5b1 2676 psychopy_2020.2.10+dfsg-2.dsc
 f543dbcd59b80c89aa8baebeefa007cfc24006e4 14180 
psychopy_2020.2.10+dfsg-2.debian.tar.xz
 d056ad37d87523fcf6f7ed60639e74233fccf983 19063 
psychopy_2020.2.10+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 260ea2d194f6cd389f4014d98ee2cf9af49ad02f6fd6d88b16d09a2e33c8cdc9 2676 
psychopy_2020.2.10+dfsg-2.dsc
 e01cb3ae769ab82123689136bddaf54f309668fe10b63931d4bd501775df9021 14180 
psychopy_2020.2.10+dfsg-2.debian.tar.xz
 a50a9ac2ccbd756881ead4dd7d0f67491f09030a2acb60460bc9e1299e4abc71 19063 
psychopy_2020.2.10+dfsg-2_amd64.buildinfo
Files:
 f354d14bdf9e532bf76388779882c7c2 2676 science optional 
psychopy_2020.2.10+dfsg-2.dsc
 0f2f2b399c63b917fd24f721fe868935 14180 science optional 
psychopy_2020.2.10+dfsg-2.debian.tar.xz
 5ce74e21a28b7ab2ac982a880e4dbd29 19063 science optional 
psychopy_2020.2.10+dfsg-2_amd64.buildinfo

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

iQJPBAEBCgA5FiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmCVkScbHGV0aWVubmUu
bW9sbGllckBtYWlsb28ub3JnAAoJEHk89n6PDRHaOa8P/jWxsYe/qmVT73XdSuyh
oVrwOfOY3SpbkiB/NMkkKST9YvluPIccUheLW21oxyRR2xRJ/4DE2IyuGbnXpUVn
JxA5O8PIflj74oa2iKLOwgztDfY1Ra+ek5qRVovk4TMKF78lzGE9SkkWSGkG5tJS
dc6Y+YXOvbor7MwDDCrQ3jji3oLKC3nY/7x9yJkYBu4wUdJQpqqe5qmUfyQuIc2G
wDIoPXfHpqS7OT8+6Q3EpZMfm2XjnswvX0B5NLscyM0iZPE/ElMc0s58tzLAKcB1
8blS3t6zzotTke1NgvznRsr4yl2kZLrf7G9uf2rD0+IBD2NyDllpntKbawFd0V+k
PeB388YfS1C9VXRAPysxNjN9MT4YqTYcMg2qPmfuKT/57SCm2R47/L88wpkBWSHK
Us+mFfq5q3rmaTz5GTwcyHlEoDDXABbHXK6yqdDWryHzozkSVXMbA6W9yujylb00
ZNvPoOZiFi5ivVsWEEHcK8mU06XkHL2Kl8B8mu1lJzcs0hSCYwYZr06wIMSoKdDu
jvdCeVAhfJFbnSPODaLz5CsHpgAcQ/eKOoG7F6lhPRgL0ox/6yEpoYoYHpvBXJ9R
mbmdcGIE4qQXvIPFWX7zZLOQdn2f11JKbepJFEH6ktbyEb8ir8jun7gfpDVUTAqq
pb+54ldH8JuPfnwWkPlIwpDP
=XLqO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to