nodesource / nodesource/distributions

[ERROR] apt install on arm64 (raspberry pi) fails unpacking the deb file

Open
#1,679 11 comments 0 reactions 1 assignee View on GitHub

@JesusPaz is already working on this.

Since Dec 26, 2023.

Type: Bug waiting on response from NodeSource
Dominant language
Shell
Stars
13.8k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

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
Screenshot at 2023-10-03 09-32-06

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
node20 issue

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.