Your message dated Tue, 16 May 2023 17:48:58 +0000
with message-id <e1pyync-00ddpu...@fasolo.debian.org>
and subject line Bug#1036096: fixed in jed 1:0.99.20~pre.178+dfsg-5
has caused the Debian Bug report #1036096,
regarding jed,xjed: 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 ow...@bugs.debian.org
immediately.)


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

0m42.0s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/jed/NEWS.Debian.gz (jed) != 
/usr/share/doc/jed-common/NEWS.Debian.gz (jed-common)
    /usr/share/doc/jed -> jed-common
  /usr/share/doc/jed/README.Debian (jed) != 
/usr/share/doc/jed-common/README.Debian (?)
    /usr/share/doc/jed -> jed-common
  /usr/share/doc/jed/TODO.Debian (jed) != /usr/share/doc/jed-common/TODO.Debian 
(?)
    /usr/share/doc/jed -> jed-common
  /usr/share/doc/jed/changelog.Debian.gz (jed) != 
/usr/share/doc/jed-common/changelog.Debian.gz (jed-common)
    /usr/share/doc/jed -> jed-common
  /usr/share/doc/jed/changelog.gz (jed) != 
/usr/share/doc/jed-common/changelog.gz (jed-common)
    /usr/share/doc/jed -> jed-common
  /usr/share/doc/jed/copyright (jed) != /usr/share/doc/jed-common/copyright 
(jed-common)
    /usr/share/doc/jed -> jed-common

0m46.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/xjed/NEWS.Debian.gz (xjed) != 
/usr/share/doc/jed-common/NEWS.Debian.gz (jed-common)
    /usr/share/doc/xjed -> jed-common
  /usr/share/doc/xjed/changelog.Debian.gz (xjed) != 
/usr/share/doc/jed-common/changelog.Debian.gz (jed-common)
    /usr/share/doc/xjed -> jed-common
  /usr/share/doc/xjed/changelog.gz (xjed) != 
/usr/share/doc/jed-common/changelog.gz (jed-common)
    /usr/share/doc/xjed -> jed-common
  /usr/share/doc/xjed/copyright (xjed) != /usr/share/doc/jed-common/copyright 
(jed-common)
    /usr/share/doc/xjed -> jed-common


This is probably an older bug that never showed up in piuparts
since jed/xjed could not be tested after jed-common had failed.


cheers,

Andreas

Attachment: jed_1:0.99.20~pre.178+dfsg-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: jed
Source-Version: 1:0.99.20~pre.178+dfsg-5
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 1036...@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: Tue, 16 May 2023 14:19:52 -0300
Source: jed
Architecture: source
Version: 1:0.99.20~pre.178+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Wookey <woo...@debian.org>
Changed-By: Rafael Laboissière <raf...@debian.org>
Closes: 1036096
Changes:
 jed (1:0.99.20~pre.178+dfsg-5) unstable; urgency=medium
 .
   * Add files d/{jed,xjed}.maintscript.
     These files allow the smooth transition for /usr/share/doc/{jed,xjed},
     which were symlinks before version 0.99.20~pre.151+dfsg-1 and are now
     real directories. (Closes: #1036096)
Checksums-Sha1:
 35e14b653e561dd94bcf10a01f528111b13a5add 2328 jed_0.99.20~pre.178+dfsg-5.dsc
 1547b48321d6ffcce56ca43b3bb6af2cce55994f 31092 
jed_0.99.20~pre.178+dfsg-5.debian.tar.xz
Checksums-Sha256:
 204b9622a1730aa681888409b44fae4ae36bfe8aacebf82b15a70265bd31786a 2328 
jed_0.99.20~pre.178+dfsg-5.dsc
 912d3ba6c0b602d83c33d55aac3027ca65afbbc56ee915194354c75e7d97f1f7 31092 
jed_0.99.20~pre.178+dfsg-5.debian.tar.xz
Files:
 3e94d5a2a414a94a22d917c7ee90a364 2328 editors optional 
jed_0.99.20~pre.178+dfsg-5.dsc
 9a8a46de5654ab613decc2acba9b3443 31092 editors optional 
jed_0.99.20~pre.178+dfsg-5.debian.tar.xz

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

iQJGBAEBCAAwFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmRjvbwSHHJhZmFlbEBk
ZWJpYW4ub3JnAAoJECEkqhmDeFyQQD8QAI4GYh9L9zZJ05AKK1xypX4Kx5ViObqm
zUJMc3ppJASAx97GWPp3qNM7U+gwNs6T0GRpqR1QCva1yvUiNggd2O//8FvBnXCk
Ejg94uZuLK939hsbQj2W0BBoV4lhS9Nqdjz4SP+ozDZdATF3dJiooZlZG/ULBuvU
SHqMu9yLFKHJqjWsuiJeD3NuXSL0nsykkH+aacQPiE1GlyMSKo9zsfjMRu4Smjgc
4iTh7fwuLlNnDB7X9No8KU8NO3JdKYHR27gzGZvl+JA/TC9IDPnzLzOb5BQ0D8eU
UFv8U5iSNlmQ3EQ7EWiaAvhVIOtLNuEjx9TrF5JRfgum5eD4cnG446oE6QRcmc5U
n8rkhnGRC5U/1iJ8221ZRL6KHlNLs8bq+hYK6jioeN8S8o+JM8b6zrezLhmsrbbI
RlkD+Y4feaYyXAEyG5ZaehAy2ddHDbT8OS/4nTzxskbcU5VqR5lAsevii61VrlFB
7cY/PFxp1sCH2gpZc5dpL0jhSSAcUFqEithHod6l+TyBXFieJ2mKWYkHK15vEwn2
Zt3pmjgJoBKE7Nm9H2jgDIwP5Sp0Dc1S6kJXMPBb/9QAR1COyB4i7YeW+P0goYVX
FQv94ml63aZ0f3Fnik9HBDSgVowRmDDc/W8Xys6K2vY0xX21oG7Os6y8CkTrGRy2
Tfby6cfsWyHU
=kY0Y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to