ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.21k stars 1.41k forks source link

Scoop install/update sbcl 2.1.9 fails #4464

Closed tensor-programming closed 2 years ago

tensor-programming commented 3 years ago

Error I am getting looks like this.

Installing 'sbcl' (2.1.9) [64bit]
Loading sbcl-2.1.9-x86-64-windows-binary.msi from cache.
Checking hash of sbcl-2.1.9-x86-64-windows-binary.msi ... ok.
Extracting sbcl-2.1.9-x86-64-windows-binary.msi ... Exception: C:\users\tensor\scoop\apps\scoop\current\lib\core.ps1:510
Line |
 510 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find '2.1.9'! (error 16)

The MSI is in the folder, it just doesn't seem to find it with the powershell script.

demcgovern commented 3 years ago
❯ scoop update sbcl -f
sbcl: 2.1.9 -> 2.1.9
Updating one outdated app:
Updating 'sbcl' (2.1.9 -> 2.1.9)
Downloading new version
Loading sbcl-2.1.9-x86-64-windows-binary.msi from cache
Checking hash of sbcl-2.1.9-x86-64-windows-binary.msi ... ok.
Uninstalling 'sbcl' (2.1.9)
Installing 'sbcl' (2.1.9) [64bit]
Loading sbcl-2.1.9-x86-64-windows-binary.msi from cache
Extracting sbcl-2.1.9-x86-64-windows-binary.msi ... DEBUG[1632843478] $out = -------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : Tuesday, 28 September, 2021 10:37:58
   Source : C:\Users\dmcgovern\scoop\apps\sbcl\2.1.9\_tmp\SourceDir\PFiles\Steel Bank Common Lisp\2.1.9\
     Dest : C:\Users\dmcgovern\scoop\apps\sbcl\2.1.9\

    Files : *.*

  Options : *.* /S /E /DCOPY:DA /COPY:DAT /MOVE /R:1000000 /W:30

------------------------------------------------------------------------------

2021/09/28 10:37:58 ERROR 2 (0x00000002) Accessing Source Directory C:\Users\dmcgovern\scoop\apps\sbcl\2.1.9\_tmp\SourceDir\PFiles\Steel Bank Common Lisp\2.1.9\
The system cannot find the file specified. -> C:\Users\dmcgovern\scoop\apps\scoop\current\lib\core.ps1:509:9
Exception: C:\Users\dmcgovern\scoop\apps\scoop\current\lib\core.ps1:510
Line |
 510 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find '2.1.9'! (error 16)

Files seem to be at _tmp\SourceDir\PFiles\Steel Bank Common Lisp:

apps/sbcl/2.1.9
❯ gci '.\_tmp\SourceDir\PFiles\Steel Bank Common Lisp\'

    Directory: C:\Users\dmcgovern\scoop\apps\sbcl\2.1.9\_tmp\SourceDir\PFiles\Steel Bank Common Lisp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          2021-09-28    10:37                contrib
-a---          2021-09-27    23:44       42737280 sbcl.core
-a---          2021-09-27    23:41        2161384 sbcl.exe
rashil2000 commented 2 years ago

Not reproducible in latest version