scoop-clojure icon indicating copy to clipboard operation
scoop-clojure copied to clipboard

clojure stuck at version 1.10.3.1040 -- can't upgrade, can't uninstall

Open nonethewizer opened this issue 3 years ago • 3 comments
trafficstars

PS C:\Users\tryan> scoop status Scoop is up to date Update is available for: clojure: 1.10.3.1040 -> 1.10.3.1087

PS C:\Users\tryan> scoop update clojure clojure: 1.10.3.1040 -> 1.10.3.1087 Updating 1 outdated app: Updating 'clojure' (1.10.3.1040 -> 1.10.3.1087) [64bit] Downloading new version Loading clojure-tools-1.10.3.1087.zip from cache Checking hash of clojure-tools-1.10.3.1087.zip ... ok. Uninstalling 'clojure' (1.10.3.1040) WARN Shim for 'cmd-clojure' is missing. Skipping. WARN Shim for 'cmd-clj' is missing. Skipping. Uninstalling PowerShell module 'ClojureTools'. Removing ~\scoop\modules\ClojureTools ERROR Cannot bind argument to parameter 'LinkName' because it is an empty string. ERROR This application failed to update: clojure

PS C:\Users\tryan> scoop uninstall clojure Uninstalling 'clojure' (1.10.3.1040) WARN Shim for 'cmd-clojure' is missing. Skipping. WARN Shim for 'cmd-clj' is missing. Skipping. Uninstalling PowerShell module 'ClojureTools'. Removing ~\scoop\modules\ClojureTools ERROR Cannot bind argument to parameter 'LinkName' because it is an empty string.

PS C:\Users\tryan> scoop checkup No problems identified! PS C:\Users\tryan> scoop status Scoop is up to date Update is available for: clojure: 1.10.3.1040 -> 1.10.3.1087

nonethewizer avatar Mar 26 '22 18:03 nonethewizer

Checking this. I've never seen anything like this before.

My suspicion there is some unexpected whitespace somewhere because the 'ERROR' can happen when path is not escaped and command is not parsed correctly. But which command that's open question.

littleli avatar Mar 27 '22 09:03 littleli

I don't know exactly what's going on, but this is straight out of one of my PowerShell terminals. image

This doesn't explain everything because I opened up a new PowerShell after this and it had reverted back to the lower version.

jsg24 avatar Oct 13 '22 16:10 jsg24

From the screenshot it seems it used the cached version. You correctly enforced update with -Sforce argument. Scoop let tools to do their work, not interfering with them if possible.

littleli avatar Oct 18 '22 06:10 littleli

Closing this as there is not much I can do about this issue.

littleli avatar Dec 13 '22 19:12 littleli