-
Notifications
You must be signed in to change notification settings - Fork 952
Out of space behaviour can be improved #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Related to #275 There's not a great reason these files are copied and not moved, though it's important that the installation code does not assume that the temporary directory is on the same mount point as the destination. I don't know offhand if there are gotchas moving files across mount points. |
I just did a normal
Note that both times the download calculation is corrupted: EDIT: Forgot to mention that after making space, everything upgrades fine:
|
Update on this, I keep getting even more unhelpful errors on the latest version: |
Same issue here. I was confused for a while.
Maybe the actual error when downloading fails should be analyzed? |
Different but related problem for me. I just tried to install via rustup on a shared school computer with a 700mb/user quota. I didn't get any error messages at all: rustup appeared to download and install everything successfully. Uninstalling and reinstalling both rustup and the stable toolchain never produced any errors, however it appears that rustup ran out of space mid-install, as many files in I'm not sure exactly when in the installation it ran out, but hopefully the attached list of zero-size files in |
I just run into a similar problem. (Or the same one still not handled.)
I first thought I was having a bad connection and took a while to find the actual problem. |
I don't know if this is the right issue to report, but I get the exact same error, but I have plenty of space!
I was having this issue when I tried to update. Then I nuked everything under I'm on Fedora, and my file system is btrfs, in case that matters.
|
@suvayu I expect this "perhaps you ran out of disk space?" to appear just because of Actual error is "Bad address (os error 14)" - not a typical error to come from a filesystem. Maybe you should check |
@vi Thanks, that helped. I have been having some stability problems on this machine. I was logged in remotely, Looks like there was a kernel panic. Rustup worked fine after I rebooted the system. |
I ran into this issue recently while using the |
I think the behavior has probably improved quite a bit since this issue was filed (in 2016), so I'm going to close this. Please feel free to file new issues if run into a concrete situation where you think rustup can/should do better. |
FWIW @djc, since the reason for closing is that the behaviour was improved, it makes more sense to mark this as completed rather than not planned. I did a double-take in my notifications since the marking made it seem like the response was "we shouldn't improve this behaviour, actually" rather than "we probably already did, file an issue if you have any specific problems still" |
@clarfonthey fair enough! |
Tried running rustup.rs's installer with 200M limit on $HOME:
I think installer should check for free disk space and warn user before continuing.
P.S. Why the file is copied, not moved or linked BTW?
The text was updated successfully, but these errors were encountered: