[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

Andreas Tille andreas at fam-tille.de
Sun Mar 28 08:20:23 BST 2021


Hi Étienne,

thanks a lot for working on this.

On Sat, Mar 27, 2021 at 10:43:10PM +0100, Étienne Mollier wrote:
> 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)

I wonder whether the goal you want to approach is feasible.  The bug was
filed since 0.17+dfsg-2 is buggy.  The attempt to get the sequence you
tried will fail due to this.  The goal is to get this version out of the
upgrading process.

> 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?

If I understood you correctly than your fix is fixing the reported bug and
will be fit for bullseye.

Kind regards

      Andreas.

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

-- 
http://fam-tille.de



More information about the R-pkg-team mailing list