[ERROR] apt install on arm64 (raspberry pi) fails unpacking the deb file
Describe your bug sudo apt-get install nodejs -y fails unpacking the deb file see screen shot
Distribution Information:
- OS: raspberry pi OS 64 bit
- Version: Bullseye
Node Version:
- Node: 20.8
To Reproduce Steps to reproduce the behavior: executed the install instructions for node 20 in the distros page (copy/paste)
NODE_MAJOR=20
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs -y
Expected behavior should have worked as does on 32 bit systems
Screenshots
Additional context all prior nodejs was purged using the purge instructions from the distro page
sudo apt-get purge nodejs -y &&\
sudo rm -r /etc/apt/sources.list.d/nodesource.list &&\
sudo rm -r /etc/apt/keyrings/nodesource.gpg
system info
fails on node 18 as well..
I had a similar issue with ubuntu, I added architecture information to the sources list file:
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
and its working for me now
great, thanks.. I added a check for the 64bit system and added the arch=arm64 and it installed correctly
well... not so fast.. another user on arm64
Reading state information... Done
ca-certificates is already the newest version (20210119).
curl is already the newest version (7.74.0-1.3+deb11u7).
gnupg is already the newest version (2.2.27-2+deb11u2).
The following packages were automatically installed and are no longer required:
libc-ares2 libjs-highlight.js libnode72 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
deb [arch=arm64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
Get:1 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [3,264 B]
Fetched 15.4 kB in 1s (14.2 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
npm
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/148 kB of archives.
After this operation, 919 kB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 106907 files and directories currently installed.)
Preparing to unpack .../nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb ... <------ say what?
Unpacking nodejs (12.22.12~dfsg-1~deb11u4) ...
Setting up nodejs (12.22.12~dfsg-1~deb11u4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.9.4-2) ...
pi@MagicMirror2:~/MagicMirror $ node -v
v12.22.12
Hi @sdetweil it looks like another repo is having more priority over the nodesource repo.
Try to add to the nodesource repo this option Pin-Priority: 600
@riosje thanks.. that didn't help the nodesource report after adding the pin-priority sudo cat /etc/apt/sources.list.d/nodesource.list deb [arch=arm64 Pin-Priority=600 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
got the same install results
deb [arch=arm64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main <---- this output from tee shows the BEFORE value..
Get:1 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [3,264 B]
Fetched 15.4 kB in 1s (16.3 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
npm <----- this seems suspect
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/148 kB of archives.
After this operation, 919 kB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 106955 files and directories currently installed.)
Preparing to unpack .../nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb ...
Unpacking nodejs (12.22.12~dfsg-1~deb11u4) ...
Setting up nodejs (12.22.12~dfsg-1~deb11u4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.9.4-2)
in the near term , switched to using n to install/upgrade node
Hellos guys, is this still an issue? We recently tested the installation on a RaspberryPI and we didn't get this issue
i had to give up and use n to install as apt didn't work . and the custom scripts/instructions also didn't work.
I am getting a similar issue on Ubuntu 22.04.3 LTS, x86_64(amd64) when trying to install Node,js v20.X LTS.
Steps to reproduce:
- System Info
mmatthews@ThinkPad:~/Downloads$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
mmatthews@ThinkPad:~/Downloads$ uname -a
Linux ThinkPad 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
- Nodejs and npm, from Ubuntu 22.04.3 LTS, are not installed
mmatthews@ThinkPad:~/Downloads$ apt list nodejs npm
Listing... Done
nodejs/jammy-updates,jammy-security 12.22.9~dfsg-1ubuntu3.3 amd64
npm/jammy,jammy 8.5.1~ds-1 all
- Copy steps from nodesource/distributions documentation (without installing). Nodejs version increases from v12.X to v20.X.
mmatthews@ThinkPad:~/Downloads$ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
2024-01-29 12:03:20 - Installing pre-requisites
Get:1 file:/var/cuda-repo-ubuntu2204-11-8-local InRelease [1,575 B]
Get:2 file:/var/cuda-repo-ubuntu2204-12-1-local InRelease [1,572 B]
Get:3 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease [1,484 B]
Hit:4 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:10 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Fetched 232 kB in 1s (195 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.22.04.1).
curl is already the newest version (7.81.0-1ubuntu1.15).
gnupg is already the newest version (2.2.27-3ubuntu2.1).
apt-transport-https is already the newest version (2.4.11).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
gpg: WARNING: unsafe ownership on homedir '/home/mmatthews/.gnupg'
Get:1 file:/var/cuda-repo-ubuntu2204-11-8-local InRelease [1,575 B]
Get:2 file:/var/cuda-repo-ubuntu2204-12-1-local InRelease [1,572 B]
Get:3 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease [1,484 B]
Hit:4 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:8 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Hit:9 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:10 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:11 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:12 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [5,223 B]
Fetched 19.8 kB in 1s (16.9 kB/s)
Reading package lists... Done
2024-01-29 12:03:25 - Repository configured successfully. To install Node.js, run: apt-get install nodejs -y
mmatthews@ThinkPad:~/Downloads$ apt list nodejs npm
Listing... Done
nodejs/nodistro 20.11.0-1nodesource1 amd64
npm/jammy,jammy 8.5.1~ds-1 all
- Attempt to install via apt as suggested.
mmatthews@ThinkPad:~/Downloads$ sudo apt install -y nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/26.1 MB of archives.
After this operation, 163 MB of additional disk space will be used.
(Reading database ... 491749 files and directories currently installed.)
Preparing to unpack .../nodejs_20.11.0-1nodesource1_amd64.deb ...
Unpacking nodejs (20.11.0-1nodesource1) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_20.11.0-1nodesource1_amd64.deb (--unpack):
trying to overwrite '/usr/include/node/common.gypi', which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3.3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_20.11.0-1nodesource1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
- Show other configuration info as suggested in the thread above.
NOTE: I am not using Ubuntu Pro services.
mmatthews@ThinkPad:~/Downloads$ cat /etc/apt/sources.list.d/nodesource.list
deb [arch=amd64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
mmatthews@ThinkPad:~/Downloads$ ls -l /etc/apt/preferences.d/
total 20
-rw-rw-r-- 1 mmatthews mmatthews 190 May 4 2022 cuda-repository-pin-600
-rw-r--r-- 1 root root 65 Jan 29 12:03 nodejs
-rw-r--r-- 1 root root 65 Jan 29 12:03 nsolid
-rw-r--r-- 1 root root 442 Nov 7 06:23 ubuntu-pro-esm-apps
-rw-r--r-- 1 root root 434 Nov 7 06:23 ubuntu-pro-esm-infra
mmatthews@ThinkPad:~/Downloads$ cat /etc/apt/preferences.d/nodejs
Package: nodejs
Pin: origin deb.nodesource.com
Pin-Priority: 600
mmatthews@ThinkPad:~/Downloads$ cat /etc/apt/preferences.d/cuda-repository-pin-600
Package: nsight-compute
Pin: origin *ubuntu.com*
Pin-Priority: -1
Package: nsight-systems
Pin: origin *ubuntu.com*
Pin-Priority: -1
Package: *
Pin: release l=NVIDIA CUDA
Pin-Priority: 600
mmatthews@ThinkPad:~/Downloads$ cat /etc/apt/preferences.d/nsolid
Package: nsolid
Pin: origin deb.nodesource.com
Pin-Priority: 600
mmatthews@ThinkPad:~/Downloads$ cat /etc/apt/preferences.d/ubuntu-pro-esm-apps
# This file is used by Ubuntu Pro and supplied by the ubuntu-advantage-tools
# package. It has no effect if Ubuntu Pro services are not in use since no
# other apt repositories are expected to match o=UbuntuESMApps.
#
# Pin esm-apps packages to a slightly higher value than the default,
# so those are preferred over a non-ESM package from the archive when the
# service is enabled.
Package: *
Pin: release o=UbuntuESMApps
Pin-Priority: 510
mmatthews@ThinkPad:~/Downloads$ cat /etc/apt/preferences.d/ubuntu-pro-esm-infra
# This file is used by Ubuntu Pro and supplied by the ubuntu-advantage-tools
# package. It has no effect if Ubuntu Pro services are not in use since no
# other apt repositories are expected to match o=UbuntuESM.
#
# Pin esm-infra packages to a slightly higher value than the default,
# so those are preferred over a non-ESM package from the archive when the
# service is enabled.
Package: *
Pin: release o=UbuntuESM
Pin-Priority: 510
Also getting this in Ubuntu Jammy ARM64
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
2024-02-19 08:49:10 - Installing pre-requisites
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.22.04.1).
curl is already the newest version (7.81.0-1ubuntu1.15).
gnupg is already the newest version (2.2.27-3ubuntu2.1).
apt-transport-https is already the newest version (2.4.11).
The following packages were automatically installed and are no longer required:
adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service fontconfig gsettings-desktop-schemas gtk-update-icon-cache gyp hicolor-icon-theme humanity-icon-theme javascript-common
libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3 libc-ares2 libcairo-gobject2 libcairo2 libclone-perl libcolord2
libcups2 libdata-dump-perl libdatrie1 libdconf1 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libencode-locale-perl libepoxy0 libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl
libfile-mimeinfo-perl libflashrom1 libfont-afm-perl libfontenc1 libftdi1-2 libgl1 libgl1-amber-dri libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgtk-3-0 libgtk-3-bin
libgtk-3-common libgtkd-3-0 libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libice6 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libipc-system-simple-perl libjs-events libjs-highlight.js libjs-inherits
libjs-is-typedarray libjs-psl libjs-source-map libjs-sprintf-js libjs-typedarray-to-buffer liblcms2-2 libllvm11 libllvm15 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl
libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnode-dev libnode72 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libphobos2-ldc-shared98 libpixman-1-0 librsvg2-2
librsvg2-common libsensors-config libsensors5 libsm6 libssl-dev libthai-data libthai0 libtie-ixhash-perl libtimedate-perl libtry-tiny-perl liburi-perl libuv1-dev libvte-2.91-0 libvte-2.91-common
libvted-3-0 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwww-perl libwww-robotrules-perl libx11-protocol-perl libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-randr0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon0 libxkbfile1
libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxmu6 libxrandr2 libxrender1 libxshmfence1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 node-abbrev node-ansi-regex node-ansi-styles
node-ansistyles node-are-we-there-yet node-arrify node-asap node-asynckit node-balanced-match node-brace-expansion node-chownr node-clean-yaml-object node-color-convert node-color-name node-commander
node-core-util-is node-decompress-response node-delayed-stream node-delegates node-depd node-diff node-encoding node-end-of-stream node-err-code node-escape-string-regexp node-fancy-log
node-foreground-child node-fs.realpath node-function-bind node-get-stream node-glob node-growl node-has-flag node-has-unicode node-hosted-git-info node-iconv-lite node-iferr node-imurmurhash
node-indent-string node-inflight node-inherits node-ini node-ip node-ip-regex node-is-buffer node-is-plain-obj node-is-typedarray node-isarray node-isexe node-json-parse-better-errors node-jsonparse
node-kind-of node-lodash-packages node-lowercase-keys node-lru-cache node-mimic-response node-minimatch node-minimist node-minipass node-mute-stream node-negotiator node-npm-bundled node-once
node-osenv node-p-cancelable node-p-map node-path-is-absolute node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-pump node-quick-lru node-read node-readable-stream
node-resolve node-retry node-safe-buffer node-set-blocking node-signal-exit node-slash node-slice-ansi node-source-map node-spdx-correct node-spdx-exceptions node-spdx-expression-parse
node-spdx-license-ids node-sprintf-js node-stealthy-require node-string-decoder node-supports-color node-text-table node-time-stamp node-tmatch node-typedarray-to-buffer node-universalify
node-util-deprecate node-validate-npm-package-license node-webidl-conversions node-whatwg-fetch node-wrappy node-yallist perl-openssl-defaults session-migration tilix tilix-common ubuntu-mono
x11-common x11-utils x11-xserver-utils xdg-utils
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Get:7 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [5632 B]
Fetched 17.8 kB in 0s (50.2 kB/s)
Reading package lists... Done
2024-02-19 08:49:12 - Repository configured successfully. To install Node.js, run: apt-get install nodejs -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
adwaita-icon-theme at-spi2-core dconf-gsettings-backend dconf-service fontconfig gsettings-desktop-schemas gtk-update-icon-cache gyp hicolor-icon-theme humanity-icon-theme javascript-common
libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3 libc-ares2 libcairo-gobject2 libcairo2 libclone-perl libcolord2
libcups2 libdata-dump-perl libdatrie1 libdconf1 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libencode-locale-perl libepoxy0 libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl
libfile-mimeinfo-perl libflashrom1 libfont-afm-perl libfontenc1 libftdi1-2 libgl1 libgl1-amber-dri libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgtk-3-0 libgtk-3-bin
libgtk-3-common libgtkd-3-0 libharfbuzz0b libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libice6 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libipc-system-simple-perl libjs-events libjs-highlight.js libjs-inherits
libjs-is-typedarray libjs-psl libjs-source-map libjs-sprintf-js libjs-typedarray-to-buffer liblcms2-2 libllvm11 libllvm15 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl
libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnode-dev libnode72 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libphobos2-ldc-shared98 libpixman-1-0 librsvg2-2
librsvg2-common libsensors-config libsensors5 libsm6 libssl-dev libthai-data libthai0 libtie-ixhash-perl libtimedate-perl libtry-tiny-perl liburi-perl libuv1-dev libvte-2.91-0 libvte-2.91-common
libvted-3-0 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwww-perl libwww-robotrules-perl libx11-protocol-perl libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-randr0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon0 libxkbfile1
libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxmu6 libxrandr2 libxrender1 libxshmfence1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 node-abbrev node-ansi-regex node-ansi-styles
node-ansistyles node-are-we-there-yet node-arrify node-asap node-asynckit node-balanced-match node-brace-expansion node-chownr node-clean-yaml-object node-color-convert node-color-name node-commander
node-core-util-is node-decompress-response node-delayed-stream node-delegates node-depd node-diff node-encoding node-end-of-stream node-err-code node-escape-string-regexp node-fancy-log
node-foreground-child node-fs.realpath node-function-bind node-get-stream node-glob node-growl node-has-flag node-has-unicode node-hosted-git-info node-iconv-lite node-iferr node-imurmurhash
node-indent-string node-inflight node-inherits node-ini node-ip node-ip-regex node-is-buffer node-is-plain-obj node-is-typedarray node-isarray node-isexe node-json-parse-better-errors node-jsonparse
node-kind-of node-lodash-packages node-lowercase-keys node-lru-cache node-mimic-response node-minimatch node-minimist node-minipass node-mute-stream node-negotiator node-npm-bundled node-once
node-osenv node-p-cancelable node-p-map node-path-is-absolute node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-pump node-quick-lru node-read node-readable-stream
node-resolve node-retry node-safe-buffer node-set-blocking node-signal-exit node-slash node-slice-ansi node-source-map node-spdx-correct node-spdx-exceptions node-spdx-expression-parse
node-spdx-license-ids node-sprintf-js node-stealthy-require node-string-decoder node-supports-color node-text-table node-time-stamp node-tmatch node-typedarray-to-buffer node-universalify
node-util-deprecate node-validate-npm-package-license node-webidl-conversions node-whatwg-fetch node-wrappy node-yallist perl-openssl-defaults session-migration tilix tilix-common ubuntu-mono
x11-common x11-utils x11-xserver-utils xdg-utils
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/30.5 MB of archives.
After this operation, 195 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 180595 files and directories currently installed.)
Preparing to unpack .../nodejs_20.11.1-1nodesource1_arm64.deb ...
Unpacking nodejs (20.11.1-1nodesource1) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_20.11.1-1nodesource1_arm64.deb (--unpack):
trying to overwrite '/usr/include/node/common.gypi', which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3.3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_20.11.1-1nodesource1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
uname -a
Linux dev.mustafa.lol 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:26:57 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux