[Pkg-javascript-devel] Bug#1004419: Bug#1004419: nodejs:any prevents one to install nodejs package from official upstream "nodesource" repo
Jonas Smedegaard
jonas at jones.dk
Thu Jan 27 09:44:59 GMT 2022
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.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220127/bd0e59d7/attachment.sig>
More information about the Pkg-javascript-devel
mailing list