Skip to content

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

Description

@sdetweil

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

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions