Public bug reported: This concerns libnode115 20.18.1+dfsg-1ubuntu2 in Ubuntu plucky.
This package has a dependency on node-minimatch, which is an architecture-independent package (i.e. arch = all). However, the dependency appears to be specified such that it references node- minimatch:$NODEJS_ARCH, where NODEJS_ARCH is the architecture of the nodejs package. The following log, taken from a Docker image build, illustrates this. Note that this is a multi-arch scenario, where the system is armhf, but I am installing the amd64 build of nodejs. Note how despite installing the node-minimatch package explicitly, APT cannot satisfy the dependency for nodejs: + apt-get -y install node-minimatch Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libedit2:amd64 libffi8:amd64 libfmt10 libhiredis1.1.0 libxml2:amd64 Use 'apt autoremove' to remove them. The following additional packages will be installed: node-balanced-match node-brace-expansion [...] Setting up node-brace-expansion (2.0.1+~1.1.0-1) ... Setting up node-minimatch (9.0.3-5) ... + apt-get -y install nodejs:amd64 Reading package lists... Building dependency tree... Reading state information... Solving dependencies... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libnode115:amd64 : Depends: node-minimatch:amd64 (>= 9.0.3-5) but it is not installable E: Unable to correct problems, you have held broken packages. E: The following information from --solver 3.0 may provide additional context: Unable to satisfy dependencies. Reached two conflicting decisions: 1. libnode115:amd64 is selected for install because: 1. nodejs:amd64=20.18.1+dfsg-1ubuntu2 is selected for install 2. nodejs:amd64 Depends libnode115:amd64 (= 20.18.1+dfsg-1ubuntu2) 2. libnode115:amd64 Depends node-minimatch:amd64 (>= 9.0.3-5) but none of the choices are installable: [no choices] ** Affects: nodejs (Ubuntu) Importance: Undecided Status: New ** Tags: plucky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2111189 Title: Incorrect dependency on node-minimatch:native package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/2111189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs