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
When executing command 'scoop update', the downloading of app files may fail, but actually you can successfully download it individually through browser (Chrome). This happens mostly because of the GFW blocking you access some websites freely (such as github.com, etc.).
If you can access github.com with the help of vpn, then you can download the apps individually by chrome (or other browsers). The url of the scoop app can be found in the app_bucket.json (SCOOP_HOME/buckets/<bucket_name>/bucket/<app_bucket_name>.json).
After you download the app file through the url, then you should rename it by conforming the filename pattern of scoop, and move it to scoop cache dir. Then execute 'scoop update' command, and everything is going ok.
The last thing is what name should the app file be renamed to? According to this pull request (#5929), the cache file name pattern was changed in this commit (13b1f02), and the old name pattern support will be remove soon.
So you should rename the download app file to the name conforming new pattern, which is <app_name>#<version>#<first_7_hex_char_of_sha_256_hash_of_url>.<file_extension>
such as:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When executing command 'scoop update', the downloading of app files may fail, but actually you can successfully download it individually through browser (Chrome). This happens mostly because of the GFW blocking you access some websites freely (such as github.com, etc.).
If you can access github.com with the help of vpn, then you can download the apps individually by chrome (or other browsers). The url of the scoop app can be found in the app_bucket.json (SCOOP_HOME/buckets/<bucket_name>/bucket/<app_bucket_name>.json).
After you download the app file through the url, then you should rename it by conforming the filename pattern of scoop, and move it to scoop cache dir. Then execute 'scoop update' command, and everything is going ok.
The last thing is what name should the app file be renamed to? According to this pull request (#5929), the cache file name pattern was changed in this commit (13b1f02), and the old name pattern support will be remove soon.
So you should rename the download app file to the name conforming new pattern, which is
<app_name>#<version>#<first_7_hex_char_of_sha_256_hash_of_url>.<file_extension>
such as:
Beta Was this translation helpful? Give feedback.
All reactions