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
The installation of Rust toolchain freezes when installing rust-docs on a Raspberry PI. The PI that I got here is a Zero 2W, 64-bit (aarch64-unknown-linux-gnu). The system image (RaspiOS Lite Bookworm, 64 bits) was made in the same day, so I doubt there was something messed up in my system specifically.
If I remember well, the only component that hanged the installation was rust-docs, and always soon after reaching 5.4 MB of installed size (I may be wrong, but I think that's it). Setting the installation profile to minimal didn't change a thing.
When I say it "freezes" the PI, I mean that the PI would get completely stuck and irresponsive. The disk write LED wouldn't stop blinking, and I couldn't start any new SSH sessions. Only solution was brute restart. I tried to wait a few hours to see if it eventually completed, but it didn't look as it'd happen.
Then I downloaded the rustup-init script version 1.26 and it worked fine.
Steps
Get a fresh RaspiOS Bookworm Lite system image running on a Raspberry Zero 2W (actually this is the only combination that I could test, perhaps the bug regards only the system and not the hardware, or vice-versa).
Execute curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh and start the installation.
See your PI die as it tries to install rust-docs.
Possible Solution(s)
No response
Notes
No response
Rustup version
1.27.1
Installed toolchains
I couldn't see, as installation would not finish.
OS version
RaspiOS Bookworm Lite
The text was updated successfully, but these errors were encountered:
Verification
Problem
The installation of Rust toolchain freezes when installing
rust-docs
on a Raspberry PI. The PI that I got here is a Zero 2W, 64-bit (aarch64-unknown-linux-gnu
). The system image (RaspiOS Lite Bookworm, 64 bits) was made in the same day, so I doubt there was something messed up in my system specifically.If I remember well, the only component that hanged the installation was
rust-docs
, and always soon after reaching 5.4 MB of installed size (I may be wrong, but I think that's it). Setting the installation profile to minimal didn't change a thing.When I say it "freezes" the PI, I mean that the PI would get completely stuck and irresponsive. The disk write LED wouldn't stop blinking, and I couldn't start any new SSH sessions. Only solution was brute restart. I tried to wait a few hours to see if it eventually completed, but it didn't look as it'd happen.
Then I downloaded the
rustup-init
script version 1.26 and it worked fine.Steps
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and start the installation.rust-docs
.Possible Solution(s)
No response
Notes
No response
Rustup version
1.27.1
Installed toolchains
I couldn't see, as installation would not finish.
OS version
RaspiOS Bookworm Lite
The text was updated successfully, but these errors were encountered: