Describe the bug
In certain docker environments, avalanche update does not work. Returning msg like:
We found a new version of Avalanche-CLI v1.7.8 upstream. You are running v1.7.7
✔ Yes
Starting update...
Downloading install script...
Installing new release...
ava-labs/avalanche-cli info checking GitHub for latest tag
ava-labs/avalanche-cli info found version: 1.7.8 for linux/arm64
cp: cannot create regular file '/root/bin/avalanche': Text file busy
installation failed: exit status 1
Error: exit status 1
This affects for example avacloud devnets, and starter kit codespaces.
The issue seems to be related to the process trying to overwrite its own binary.
To Reproduce
Create a codespace on avalanche starter kit.
Execute avalanche update
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, please include the relevant logs that indicate a problem.
Operating System
Which OS you used to reveal the bug.
Additional context
Add any other context about the problem here.
Describe the bug In certain docker environments, avalanche update does not work. Returning msg like:
This affects for example avacloud devnets, and starter kit codespaces.
The issue seems to be related to the process trying to overwrite its own binary.
To Reproduce
Create a codespace on avalanche starter kit. Execute
avalanche update
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Logs If applicable, please include the relevant logs that indicate a problem.
Operating System Which OS you used to reveal the bug.
Additional context Add any other context about the problem here.