[wiki: Add following page] "Migrating install from local/custom version to official bucket without scoop uninstall
"
#5959
goyalyashpal
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Migrating custom installs to upstream buckets without
scoop uninstall
"Scenario
i have faced this situation 2 times:
beeref: Add version 0.3.3 Extras#13124
how to update those installed via `app@version` ?? #5954
i.e.
and no, neither of
scoop install <intended-bucket>/<app>
orscoop update <intended-bucket>/<app> --force
will solve this.Steps & Summary
<intended-bucket>/<app>
,change the key-value in
install.json
file in$(scoop prefix <app>)
directory to"bucket": "<intended-bucket>"
.and remove the
"url":
key-value pairbash
. (steps took from SO: q/42716734)Illustration Cases
For brevity, Only relevant fields are show in output
1. Beeref (from local bucket to
extras
bucket)Note the
Installed
,Updated at
andNotes
field in both these.Changing the
install.json
file:Verifying it works after the changes
2. usql (from custom version to normal updates)
Getting the list of last 5 versions
Installing an older version
Checking it won't update normally now & no "Installed" in
scoop info
Investigating the
install.json
Changing the
install.json
(i.e. fixing things)Verifying that it accomplished what we wanted successfully 😃
Beta Was this translation helpful? Give feedback.
All reactions