Your message dated Mon, 08 May 2023 19:33:48 +0000
with message-id <e1pw6cg-00bg2o...@fasolo.debian.org>
and subject line Bug#1035692: fixed in jed 1:0.99.20~pre.178+dfsg-2
has caused the Debian Bug report #1035692,
regarding jed-common: unhandled symlink to directory conversion: 
/usr/share/doc/jed-common/txt -> ../../jed/doc/txt
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.)


-- 
1035692: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035692
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: jed-common
Version: 1:0.99.20~pre.178+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:

  bullseye -> bookworm

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...):

0m39.5s ERROR: installs objects over existing directory symlinks:
  /usr/share/doc/jed-common/txt/abbrev.txt (jed-common) != 
/usr/share/jed/doc/txt/abbrev.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/color.txt (jed-common) != 
/usr/share/jed/doc/txt/color.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/compile.txt (jed-common) != 
/usr/share/jed/doc/txt/compile.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/dfa.txt (jed-common) != 
/usr/share/jed/doc/txt/dfa.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/edt.txt (jed-common) != 
/usr/share/jed/doc/txt/edt.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/emacs.txt (jed-common) != 
/usr/share/jed/doc/txt/emacs.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/filelock.txt (jed-common) != 
/usr/share/jed/doc/txt/filelock.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/fold.txt (jed-common) != 
/usr/share/jed/doc/txt/fold.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/hooks.txt (jed-common) != 
/usr/share/jed/doc/txt/hooks.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/ide-mode.txt (jed-common) != 
/usr/share/jed/doc/txt/ide-mode.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/jed_faq.txt (jed-common) != 
/usr/share/jed/doc/txt/jed_faq.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/linux-keys.txt (jed-common) != 
/usr/share/jed/doc/txt/linux-keys.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/menus.txt (jed-common) != 
/usr/share/jed/doc/txt/menus.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/mouse.txt (jed-common) != 
/usr/share/jed/doc/txt/mouse.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/pc-keys.txt (jed-common) != 
/usr/share/jed/doc/txt/pc-keys.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/program.txt (jed-common) != 
/usr/share/jed/doc/txt/program.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/recentx.txt (jed-common) != 
/usr/share/jed/doc/txt/recentx.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/rgrep.txt (jed-common) != 
/usr/share/jed/doc/txt/rgrep.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/rmail.txt (jed-common) != 
/usr/share/jed/doc/txt/rmail.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/script.txt (jed-common) != 
/usr/share/jed/doc/txt/script.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/sessions.txt (jed-common) != 
/usr/share/jed/doc/txt/sessions.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/syntax.txt (jed-common) != 
/usr/share/jed/doc/txt/syntax.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/undo.txt (jed-common) != 
/usr/share/jed/doc/txt/undo.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/utf8.txt (jed-common) != 
/usr/share/jed/doc/txt/utf8.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/wjed.txt (jed-common) != 
/usr/share/jed/doc/txt/wjed.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/wordstar.txt (jed-common) != 
/usr/share/jed/doc/txt/wordstar.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/xjed.txt (jed-common) != 
/usr/share/jed/doc/txt/xjed.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/xrenderfont.txt (jed-common) != 
/usr/share/jed/doc/txt/xrenderfont.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt
  /usr/share/doc/jed-common/txt/yankpop.txt (jed-common) != 
/usr/share/jed/doc/txt/yankpop.txt (?)
    /usr/share/doc/jed-common/txt -> ../../jed/doc/txt


cheers,

Andreas

Attachment: jed-common_1:0.99.20~pre.178+dfsg-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: jed
Source-Version: 1:0.99.20~pre.178+dfsg-2
Done: Rafael Laboissière <raf...@debian.org>

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

Debian distribution maintenance software
pp.
Rafael Laboissière <raf...@debian.org> (supplier of updated jed 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: Mon, 08 May 2023 12:19:26 -0300
Source: jed
Architecture: source
Version: 1:0.99.20~pre.178+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Wookey <woo...@debian.org>
Changed-By: Rafael Laboissière <raf...@debian.org>
Closes: 1035692
Changes:
 jed (1:0.99.20~pre.178+dfsg-2) unstable; urgency=medium
 .
   * Avoid installing the *.txt help file over a directory symlink
     (closes: #1035692)
     + d/jed-common.maintscript: Add symlink_to_dir command for the
       directory /usr/share/jed/doc/txt
     + d/jed-common.links: Removed file
     + d/rules: Create file d/jed-common.links by adding individual
       symbolic links /usr/share/jed/doc/txt/*.txt point to the files in
       /usr/share/doc/jed-common/txt/
     + d/clean: Remove the file d/jed-common.links
Checksums-Sha1:
 68a8c00d44feb083e02975a7fdcaacb2d2134f8b 2177 jed_0.99.20~pre.178+dfsg-2.dsc
 4961d62569bee454ac499b4147f31e05009eca5d 30744 
jed_0.99.20~pre.178+dfsg-2.debian.tar.xz
Checksums-Sha256:
 27249b5b894b2eabf81ba548b5ad562637cbc0b4e902e0ab983d81fbfd16ef22 2177 
jed_0.99.20~pre.178+dfsg-2.dsc
 3a274a0a0138ede8750a1a1d56914cd4b27c5285f50b455bbf36b87383f49c27 30744 
jed_0.99.20~pre.178+dfsg-2.debian.tar.xz
Files:
 ff2b45f1c7300880ba53f321f20837db 2177 editors optional 
jed_0.99.20~pre.178+dfsg-2.dsc
 1b968f4c6c658da016c9bee72128f34f 30744 editors optional 
jed_0.99.20~pre.178+dfsg-2.debian.tar.xz

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

iQIzBAEBCAAdFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmRZSuEACgkQISSqGYN4
XJCDAg//WcWbjjvkdJbxIS+uPh271TaXlAfCRIBxE4k7l0zTgIMkthc/f76IwZ+1
8BptDDMjz4nnMZUP3Epn66iFu35ABbsConuq26s6Ypxya50L7aN6bFJPE2mMO3/e
o50cN/UoNBg4P9By1nwG6+ZvsFAathQSUF6qhd5GXkhQKEA8vEaNedIBr+jQKlJq
+07o4BlQkW/oBQl8Wwp2SsbmKiTugnzfpAO3MQIfIA6LyW89HTdVyRyhLxAV9fTi
i/t4mlo7Nk9HwCdSbLAxGsy07BSQPgRR7SBZaH5AronVyoWbV1teljexWjN1gBtY
gg80yuqJjEZyg+k3kOiimBeP8cDRcMshLDY/7IQqN/zXBRODbC7KRCz6O2SYcX8P
xnuWK0mVNCcLZIkdzD/ayMvde6eSe4iKa2o/vSGqv+J+dQLYTkDiPkqvXnnIMvs3
84WA7994QlWMTH/rc/GMySZ930o4ZTMhQ3aUaHddMovYTMuZFyMeCqk/pHYdCciG
7RiY659NUaSq/ynVQXVd0SbgmtwGQoCN8Yc0bCroTIDp8SYcK2fMW3PylD///RTT
f6109a4750wUWAzsYIXW5KlZB2ysf2biUpsU9ARafi8zfTsyZk+Ybj2/KvHkvGXo
EaeS5fiMjEqi9/RHBkqTWVGEaR6Kr8mHgL493fa1I/8du0UVK2g=
=X+pR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to