[Pkg-javascript-devel] Bug#1004419: Bug#1004419: nodejs:any prevents one to install nodejs package from official upstream "nodesource" repo

Jérémy Lal kapouer at melix.org
Thu Jan 27 09:48:34 GMT 2022


Le jeu. 27 janv. 2022 à 10:45, Jonas Smedegaard <jonas at jones.dk> a écrit :

> Quoting Jérémy Lal (2022-01-27 10:24:21)
> > Sometimes it's useful to be able to swap between nodejs debian package
> > and somewhat "official" https://deb.nodesource.com releases.
> >
> > Now that packages depend on nodejs:any, it's no longer possible to do
> > that, at least not without uninstalling many node-* modules.
>
> That sounds like an interoperability bug in that unofficial nodejs
> package, not in this package.
>
>
> > Also i don't understand why debian packages would need to depend on
> > nodejs:any instead of plain nodejs.
>
> A fully multiarch-compatible system can contain packages compiled for
> multiple architectures installed side by side.
>
> E.g. an amd64 CPU can execute both amd64 code and i386 code - you can
> install a core amd64 system and choose to install an i386 nodejs.  The
> nodejs runtime would only lookup arch-independent modules and modules
> for its own arch - modules compiled for i386 would need to depend on
> either native nodejs or foreign nodejs/i386 on a multiarch-system with
> nodejs/i386 installed.
>
> You can even mix binaries alien to the CPU - e.g. extend an ARM64 core
> system with MIPS binaries.  Possibly they would then never really be
> used, or possibly (I haven't tried yet) you can install qemu and run
> emulated for those binaries.
>

Right, thank you for the explanation.
I forwarded the issue.

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220127/a563169e/attachment.htm>


More information about the Pkg-javascript-devel mailing list