You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your bug
Currently, the nodesourcenodejs packages do not provide the virtual node-types-node dependency which is found in (almost?) all Debian/Ubuntu source packages. This means that it's not possible to simply use the former to replace their Debian/Ubuntu counterpart when, e.g., trying to build/backport packages from source.
Distribution Information:
OS: Ubuntu/Debian (all current versions)
Node Version:
Node: all tested versions (e.g., 16.x, 18.x versus those that come with Ubuntu/Debian)
To Reproduce
Steps to reproduce the behavior:
Register the third party nodesource repository in question
Install/update nodejs
Try to install node-types-node (e.g., by installing all required dependencies when trying to rebuild a Debian/Ubuntu node* package from source using apt-get build-dep ...) – this fails as only the "original" nodejs package provides this, but its newer nodesource counterpart does not.
Expected behavior
The above dependency is fulfilled using the newer/current nodesourcenodejs package.
The text was updated successfully, but these errors were encountered:
Somewhat related: It would be helpful if the nodejs packages would also replace the Debian/Ubuntu libnodeNN[N] packages when upgrading from their "original" counterparts. Currently, this requires manual intervention on, e.g., Ubuntu Jammy:
root@pbuilder-amd64(ubuntu-jammy-amd64):/# apt upgrade
[…]
The following packages will be upgraded:
nodejs
[…]
Get:5 https://deb.nodesource.com/node_16.x jammy/main amd64 nodejs amd64 16.19.0-deb-1nodesource1 [27.2 MB]
Fetched 30.3 MB in 3s (9819 kB/s)
[…]
Preparing to unpack .../nodejs_16.19.0-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (16.19.0-deb-1nodesource1) over (12.22.9~dfsg-1ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_16.19.0-deb-1nodesource1_amd64.deb (--unpack):
trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is also in package libnode72:amd64 12.22.9~dfsg-1ubuntu3
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_16.19.0-deb-1nodesource1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pbuilder-amd64(ubuntu-jammy-amd64):/#
$ sudo apt-get remove libnode72
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
nodejs
The following packages will be REMOVED
libnode72
The following packages will be upgraded:
nodejs
1 to upgrade, 0 to newly install, 1 to remove and 59 not to upgrade.
Need to get 28.7 MB of archives.
After this operation, 145 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://deb.nodesource.com/node_18.x jammy/main amd64 nodejs amd64 18.16.0-deb-1nodesource1 [28.7 MB]
Fetched 28.7 MB in 2s (12.1 MB/s)
(Reading database ... 414633 files and directories currently installed.)
Preparing to unpack .../nodejs_18.16.0-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (18.16.0-deb-1nodesource1) over (12.22.9~dfsg-1ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_18.16.0-deb-1nodesource1_amd64.deb (--unpack):
trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is also in package libnode72:amd64 12.22.9~dfsg-1ubuntu3
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_18.16.0-deb-1nodesource1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I had to remove one by one (nodejs, then libnode72).
Describe your bug
Currently, the nodesource
nodejs
packages do not provide the virtualnode-types-node
dependency which is found in (almost?) all Debian/Ubuntu source packages. This means that it's not possible to simply use the former to replace their Debian/Ubuntu counterpart when, e.g., trying to build/backport packages from source.Distribution Information:
Node Version:
To Reproduce
Steps to reproduce the behavior:
nodejs
node-types-node
(e.g., by installing all required dependencies when trying to rebuild a Debian/Ubuntunode*
package from source usingapt-get build-dep ...
) – this fails as only the "original"nodejs
package provides this, but its newer nodesource counterpart does not.Expected behavior
The above dependency is fulfilled using the newer/current nodesource
nodejs
package.The text was updated successfully, but these errors were encountered: