Closed papanito closed 1 year ago
Run scoop uninstall kubectl
and scoop install kubectl
without specifying a version to install the latest version from the bucket.
This happens because installing older versions gets handled differently.
When you run scoop install kubectl@1.24.0
Scoop creates a local copy of the JSON file in ~/scoop/workspace
.
It uses this JSON for installing the program and will store the location as the source.
(See ~/scoop/apps/kubectl/current/install.json
it contains the path to the local JSON file, which would normally contain the main
-bucket).
Good to know. I checked the docu but maybe I missed it... otherwise I can add something to the docu, may help others as well.
Bug Report
Current Behavior
I installed a older version of kubectl like
scoop install kubectl@1.24.0
and then want to update to latest, which is1.26.1
, but that does not workAlso scoop does not recognize that there is a new version
Expected Behavior
Scoop is able to update to newer app versions.
Additional context/output
We use only an internal bucket. The internal bucket pulls software from an Artifactory, which proxies necessary repos, e.g.
As you can see the config even points to
1.26.2
not1.24.0
but still no updates are recognized.Also the
checkver
points to a readable text file which contains1.26.2
I currently have this workaround is to do a
cleanup
and then aninstall
with specific versionPossible Solution
System details
Windows version: Windows Server 2022
OS architecture: 64bit
PowerShell version:
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration