aqua update-aqua doesn't work on Git Bash: The process cannot access the file because it is being used by another process
#2510
-
aqua info$ aqua info
{
"version": "2.16.0",
"commit_hash": "70f84d66ba9af98008360fd7b846094f020b4c6f",
"os": "windows",
"arch": "amd64",
"pwd": "C:\Users\devnu",
"root_dir": "C:\Users\devnu\AppData\Local\aquaproj-aqua",
"env": {},
"config_files": []
} Overview
How to reproduceExecuted command and output $ aqua update-aqua Debug outputNo response Expected behaviour
Actual behaviour
$ aqua upa v2.16.1
FATA[0000] aqua failed aqua_version=2.16.0 env=windows/amd64 error="download aqua: create a file: open C:\Users\devnu\AppData\Local\aquaproj-aqua\bin\aqua.exe: The process cannot access the file because it is being used by another process." new_version=v2.16.1 program=aqua Important FactoidsNo response ReferenceNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
aqua/pkg/controller/updateaqua/controller.go Lines 48 to 52 in 8fa422b aqua/pkg/installpackage/aqua.go Lines 135 to 137 in 8fa422b aqua/pkg/installpackage/copy.go Lines 14 to 17 in 8fa422b |
Beta Was this translation helpful? Give feedback.
-
There are several solutions. https://stackoverflow.com/questions/1211948/best-method-for-implementing-self-updating-software |
Beta Was this translation helpful? Give feedback.
This issue has been solved by v2.27.4.