Your message dated Sun, 28 Mar 2021 12:48:34 +0000
with message-id <e1lquqi-000dq7...@fasolo.debian.org>
and subject line Bug#985281: fixed in r-cran-dt 0.17+dfsg-3
has caused the Debian Bug report #985281,
regarding r-cran-dt: unhandled symlink to directory conversion: 
/usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions -> 
../../../../../../share/javascript/jquery-datatables-extensions
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.)


-- 
985281: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985281
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: r-cran-dt
Version: 0.17+dfsg-2
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:

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

1m34.8s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions/AutoFill 
(r-cran-dt) != /usr/share/javascript/jquery-datatables-extensions/AutoFill 
(libjs-jquery-datatables-extensions)
    /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions -> 
../../../../../../share/javascript/jquery-datatables-extensions
  /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions/Buttons 
(r-cran-dt) != /usr/share/javascript/jquery-datatables-extensions/Buttons 
(libjs-jquery-datatables-extensions)
    /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions -> 
../../../../../../share/javascript/jquery-datatables-extensions
  /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions/Buttons/css 
(r-cran-dt) != /usr/share/javascript/jquery-datatables-extensions/Buttons/css 
(libjs-jquery-datatables-extensions)
    /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions -> 
../../../../../../share/javascript/jquery-datatables-extensions
[...]
  /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables/images (r-cran-dt) != 
/usr/share/javascript/jquery-datatables/images (libjs-jquery-datatables)
    /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables -> 
../../../../../../share/javascript/jquery-datatables
  /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables/js (r-cran-dt) != 
/usr/share/javascript/jquery-datatables/js (?)
    /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables -> 
../../../../../../share/javascript/jquery-datatables


cheers,

Andreas

--- End Message ---
--- Begin Message ---
Source: r-cran-dt
Source-Version: 0.17+dfsg-3
Done: Étienne Mollier <etienne.moll...@mailoo.org>

We believe that the bug you reported is fixed in the latest version of
r-cran-dt, 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 985...@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 r-cran-dt 
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: Sun, 28 Mar 2021 11:38:02 +0200
Source: r-cran-dt
Architecture: source
Version: 0.17+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian R Packages Maintainers <r-pkg-t...@alioth-lists.debian.net>
Changed-By: Étienne Mollier <etienne.moll...@mailoo.org>
Closes: 985281
Changes:
 r-cran-dt (0.17+dfsg-3) unstable; urgency=medium
 .
   * Team upload
 .
   [ Andreas Tille ]
   * Fix unhandled symlink to directory conversion
   * Allow failure in salsa-ci reprotest
 .
   [ Nilesh Patra ]
   * Defer linking to d/links
 .
   [ Étienne Mollier ]
   * adjust d/maintscript to fix upgrade from Buster
     Closes: #985281
Checksums-Sha1:
 7b37d3531c581950699d2b5468f69d66bd2f9913 2235 r-cran-dt_0.17+dfsg-3.dsc
 b20f992e3b9134a04be22b0ff29fb8fd0f51d78e 31400 
r-cran-dt_0.17+dfsg-3.debian.tar.xz
 347f9c956c93b900f041529000aefa55223373de 10970 
r-cran-dt_0.17+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 7da864890e7687f51023104e21d6ee7134d9d25a44699f0c7ffab5dd90991444 2235 
r-cran-dt_0.17+dfsg-3.dsc
 351eaee81d976ac663efb6537451789cab3c262b15165f8562356717f6b569a4 31400 
r-cran-dt_0.17+dfsg-3.debian.tar.xz
 9a08f02b64fdd52da63812f328da4fa8f252750fb04237c7ea7d077ec90e56c5 10970 
r-cran-dt_0.17+dfsg-3_amd64.buildinfo
Files:
 85ca45923f8ac9d7127c3969d53d4d17 2235 gnu-r optional r-cran-dt_0.17+dfsg-3.dsc
 433ac7059e86401a01dbfd8be2919d61 31400 gnu-r optional 
r-cran-dt_0.17+dfsg-3.debian.tar.xz
 66e43c61898fb55edc9a13d4e8c977f3 10970 gnu-r optional 
r-cran-dt_0.17+dfsg-3_amd64.buildinfo

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

iQJPBAEBCgA5FiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmBgdfAbHGV0aWVubmUu
bW9sbGllckBtYWlsb28ub3JnAAoJEHk89n6PDRHauXYP/2qV0edZnnzWDcV08pf7
pSCiJzypeZ5PJNV0+pZVI+BEZr1EopgbKxEAUitv6Yvmks0VsJM61hBW8pYiW9IR
EriRTD1WSgDUZ+6eTD2K7rrBrWpqANjwvwaG2L6zAJG1WFRaaKgCyMUDFMz9XHdn
i38mFUEdyzar7NGpF+ImPByBc118ATzm256shp3AB+bu9VAZEy94U+LEUBtXVvuW
WdeU+0/eKIn9CTg/dg3chglXUMInIGhspqM9FQiha5xalWdC8f7upAuKWiwiW1Ri
+8I7eUEWeETSbBlpDHHvREALbcaTXjNhka8j0zZPhx7hmfGEUd6OiLPM37m7L8kr
ZeP1IgKQlnFn2ksSAr2mKDCakoH5TH3SSOYs8D2KV2mEEOSrRQEmcpFGinttG+70
HbC5QGWgq3mu+EfbxkiqhjNXh1R3B2O6ZjkVZ1cHp42IjHGIRYCDl4Ort8YvwmbW
JG0hEeIZ+Ad8h1QgoPlsWaugAarOLckO3fzw5b65N0Z3ZzH40Bc9zNYhwwpr8oiU
r8gdcMTR8rlM3iFTuLXWCfLobqkVlWqSozgQMcE6ZdWKODuAxTpygldc3vJzHQzd
24JB7DOmauqrBqTcbjdyWK22d5uuDCEAFmKyf4p/Okk9A/slGXeDW4vmpmYMwnf/
2H2+VKX20B5ctgFKn/5pakKL
=Cc5+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to