I'm getting inconsistent behaviour when installing packages with gx, failing out sometimes due to "Access is denied" errors. Investigating this showed that gx is getting this error when trying to move the package from its temporary stage to the final install path. It may be trying to do this before the package is finished downloading or still has open handles.
Enabling Go's race detector caused it to fire when this error occurs.
log 1verbose log 2
The shell.Get(): symlink errors should be unrelated as this happens in packages without symlinks as well, but I will try and amend those first and check back with this.
I'm getting inconsistent behaviour when installing packages with
gx
, failing out sometimes due to "Access is denied" errors. Investigating this showed thatgx
is getting this error when trying to move the package from its temporary stage to the final install path. It may be trying to do this before the package is finished downloading or still has open handles. Enabling Go's race detector caused it to fire when this error occurs. log 1 verbose log 2The
shell.Get(): symlink
errors should be unrelated as this happens in packages without symlinks as well, but I will try and amend those first and check back with this.