Skip to content

[Bug]: llama.cpp packages needlessly try to create llama-run shim (llama-run is no longer present since b7662) #2676

@przemoc

Description

@przemoc

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

llama.cpp-sycl

Expected/Current Behaviour

Expected: Being able to install/update any llama.cpp variant.
Current: Installation/updating fails as shown in steps to reproduce.

llama-run shim issue noticed on llama.cpp-sycl (as this is the version I have installed right now), but suspected to apply to most other variants that use recent builds:

  • llama.cpp-cpu
  • llama.cpp-cu124
  • llama.cpp-hip-radeon
  • llama.cpp-opencl
  • llama.cpp-sycl
  • llama.cpp-vulkan

Steps to Reproduce

PS> scoop update llama.cpp-sycl
llama.cpp-sycl: b7642 -> b7682
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Updating one outdated app:
Updating 'llama.cpp-sycl' (b7642 -> b7682)
Downloading new version
Loading llama-b7682-bin-win-sycl-x64.zip from cache.
Checking hash of llama-b7682-bin-win-sycl-x64.zip ... ok.
Uninstalling 'llama.cpp-sycl' (b7642)
Removing shim 'llama-batched-bench.shim'.
Removing shim 'llama-batched-bench.exe'.
Removing shim 'llama-bench.shim'.
Removing shim 'llama-bench.exe'.
Removing shim 'llama-cli.shim'.
Removing shim 'llama-cli.exe'.
Removing shim 'llama-gemma3-cli.shim'.
Removing shim 'llama-gemma3-cli.exe'.
Removing shim 'llama-gguf-split.shim'.
Removing shim 'llama-gguf-split.exe'.
Removing shim 'llama-imatrix.shim'.
Removing shim 'llama-imatrix.exe'.
Removing shim 'llama-llava-cli.shim'.
Removing shim 'llama-llava-cli.exe'.
Removing shim 'llama-minicpmv-cli.shim'.
Removing shim 'llama-minicpmv-cli.exe'.
Removing shim 'llama-mtmd-cli.shim'.
Removing shim 'llama-mtmd-cli.exe'.
Removing shim 'llama-perplexity.shim'.
Removing shim 'llama-perplexity.exe'.
Removing shim 'llama-quantize.shim'.
Removing shim 'llama-quantize.exe'.
Removing shim 'llama-qwen2vl-cli.shim'.
Removing shim 'llama-qwen2vl-cli.exe'.
Unlinking D:\scoop\apps\llama.cpp-sycl\current
Installing 'llama.cpp-sycl' (b7682) [64bit] from 'versions' bucket
Loading llama-b7682-bin-win-sycl-x64.zip from cache.
Extracting llama-b7682-bin-win-sycl-x64.zip ... done.
Linking D:\scoop\apps\llama.cpp-sycl\current => D:\scoop\apps\llama.cpp-sycl\b7682
Creating shim for 'llama-batched-bench'.
Creating shim for 'llama-bench'.
Creating shim for 'llama-cli'.
Creating shim for 'llama-gemma3-cli'.
Creating shim for 'llama-gguf-split'.
Creating shim for 'llama-imatrix'.
Creating shim for 'llama-llava-cli'.
Creating shim for 'llama-minicpmv-cli'.
Creating shim for 'llama-mtmd-cli'.
Creating shim for 'llama-perplexity'.
Creating shim for 'llama-quantize'.
Creating shim for 'llama-qwen2vl-cli'.
Creating shim for 'llama-run'.
Get-Command: D:\scoop\apps\scoop\current\lib\install.ps1:191
Line |
 191 |              $bin = (Get-Command $target).Source
     |                      ~~~~~~~~~~~~~~~~~~~
     | The term 'llama-run.exe' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the
     | path is correct and try again.
Can't shim 'llama-run.exe': File doesn't exist.

Possible Solution

Remove "llama-run.exe" from "bin" array in json files for llama packages with build >= 7662.

llama.cpp release introducing change:

llama.cpp PR introducing change:

llama.cpp commit introducing change:

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
b588a06e41d9 (HEAD -> master, origin/master, origin/HEAD) chore(release): Bump to version 0.5.3 (resync) (#6436)

'main' bucket:
886f7abdd89a (HEAD -> master, origin/master, origin/HEAD) elixir: Update to version 1.19.5

'extras' bucket:
29b33406de2f (HEAD -> master, origin/master, origin/HEAD) xmlnotepad@2.9.0.18: Fix hash (Closes #16968)

'versions' bucket:
72a96eb1fe4d (HEAD -> master, origin/master, origin/HEAD) yazi-nightly: Update to version 16d20e2

Scoop Config

PS> scoop config

root_path     : D:\scoop
last_update   : 2026-01-09 16:18:44
scoop_repo    : https://github.com/ScoopInstaller/Scoop
scoop_branch  : master
aria2-enabled : True

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.4
PSEdition                      Core
GitCommitId                    7.5.4
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions