[R-pkg-team] Bug#985281: r-cran-dt: unhandled symlink to directory conversion: /usr/lib/R/site-library/DT/htmlwidgets/lib/datatables-extensions -> ../../../../../../share/javascript/jquery-datatables-extensions

Étienne Mollier etienne.mollier at mailoo.org
Sat Mar 27 21:43:10 GMT 2021


Hi,

I pushed a change on Salsa[1] to make sure that the two
following piuparts upgrade paths are working okay (thanks
Andreas Tille for the permission):

	$ sudo piuparts \
		--testdebs-repo='deb [trusted=true] http://[::1]/~emollier/repos experimental main' \
		--distupgrade-to-testdebs \
		--warn-on-leftovers-after-purge \
		--distribution=buster \
		--distribution=bullseye \
		--apt r-cran-dt=0.17+dfsg-3

	$ sudo piuparts \
		--testdebs-repo='deb [trusted=true] http://[::1]/~emollier/repos experimental main' \
		--distupgrade-to-testdebs \
		--warn-on-leftovers-after-purge \
		--distribution=bullseye \
		--apt r-cran-dt=0.17+dfsg-3

The first describes installation from Buster, then upgrade to
Bullseye, then purge.  The second describes installation of
initial Testing version, then purge.

There is however this upgrade path that I struggle to fix, note
the missing --distupgrade-to-testdebs, which goes through the
existing 0.17+dfsg-2 in Testing, and which is still broken:

	$ sudo piuparts \
		--testdebs-repo='deb [trusted=true] http://[::1]/~emollier/repos experimental main' \
		--warn-on-leftovers-after-purge \
		--distribution=buster \
		--distribution=bullseye \
		--apt r-cran-dt=0.17+dfsg-3
	[...]
	1m39.9s DEBUG: Command failed (status=2), but ignoring error: ['debsums', '--root', '/tmp/tmp0pvmpul0', '-ac', '--ignore-obsolete']
	1m39.9s ERROR: FAIL: debsums reports modifications inside the chroot:
	  debsums: missing file /usr/share/javascript/jquery-datatables/css/dataTables.bootstrap.css (from libjs-jquery-datatables package)
	  debsums: missing file /usr/share/javascript/jquery-datatables/css/dataTables.bootstrap.min.css (from libjs-jquery-datatables package)
	[...]
	  debsums: missing file /usr/share/javascript/jquery-datatables-extensions/Buttons/js/dataTables.buttons.js (from libjs-jquery-datatables-extensions package)
	  debsums: missing file /usr/share/javascript/jquery-datatables-extensions/Buttons/js/dataTables.buttons.min.js (from libjs-jquery-datatables-extensions package)


Several packages from libjs-jquery-datatables-extension and
libjs-jquery-datatables go missing after purge, eventually
requiring the user of the rolling Sid machine to reinstall these
packages, if removal of r-cran-dt occurs.  Normally, with the
new d/maintscript, this should not occur when jumping directly
from Buster.  How much is it a concern regarding the criticality
of the bug?

[1] https://salsa.debian.org/r-pkg-team/r-cran-dt/


Andreas Tille, on 2021-03-19 19:40:19 +0100:
> > sudo piuparts --fail-on-broken-symlinks --warn-on-leftovers-after-purge r-cran-dt_0.17+dfsg-2_amd64.changes
> ...
> 1m7.6s DEBUG: Command failed (status=1), but ignoring error: ['lsof', '-w', '+D', '/tmp/tmpc4jzyfzf']
> 1m9.2s ERROR: FAIL: Broken symlinks:
>   /usr/lib/R/site-library/crosstalk/lib/ionrangeslider -> ../../shiny/www/shared/ionrangeslider (r-cran-crosstalk)
>   /usr/lib/R/site-library/crosstalk/lib/bootstrap/shim -> ../../../shiny/www/shared/bootstrap/shim (r-cran-crosstalk)
>   /usr/lib/R/site-library/crosstalk/lib/bootstrap/js/npm.js -> ../../../../shiny/www/shared/bootstrap/js/npm.js (r-cran-crosstalk)

It sounds unrelated, I opened #986011 against r-cran-crosstalk.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier at mailoo.org>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/3, please excuse my verbosity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20210327/10ca6c54/attachment.sig>


More information about the R-pkg-team mailing list