Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: minisign shim creation failed #6459

Open
3 tasks done
sebbu2 opened this issue Jan 16, 2025 · 1 comment
Open
3 tasks done

[Bug]: minisign shim creation failed #6459

sebbu2 opened this issue Jan 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@sebbu2
Copy link

sebbu2 commented Jan 16, 2025

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

minisign

Expected/Current Behaviour

When updating minisign 0.12 (or installing it from the first time i suppose), it fails to create the shim. The shim should be created successfully. The release file of minisign changed and now contains 2 folder for different architectures.

Steps to Reproduce

# scoop update minisign
minisign: 0.11 -> 0.12
Updating one outdated app:
Updating 'minisign' (0.11 -> 0.12)
Downloading new version
Loading minisign-0.12-win64.zip from cache.
Checking hash of minisign-0.12-win64.zip ... ok.
Uninstalling 'minisign' (0.11)
Unlinking ~\scoop\apps\minisign\current
Installing 'minisign' (0.12) [64bit] from 'main' bucket
Loading minisign-0.12-win64.zip from cache.
Extracting minisign-0.12-win64.zip ... done.
Linking ~\scoop\apps\minisign\current => ~\scoop\apps\minisign\0.12
Creating shim for 'minisign'.
Get-Command: C:\Users\sebbu\scoop\apps\scoop\current\lib\install.ps1:757
Line |
 757 |              $bin = (Get-Command $target).Source
     |                      ~~~~~~~~~~~~~~~~~~~
     | The term 'minisign.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 'minisign.exe': File doesn't exist.

Possible Solution

The bin is now minisign-win64/x86_64/minisign.exe instead of minisign-win64/minisign.exe in the previous release archive.

Scoop and Buckets Version

C:\Users\sebbu#  scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
535c9edba (HEAD -> master, origin/master, origin/HEAD) wakatime-cli: Update to version 1.112.1

'extras' bucket:
31b9d862a (HEAD -> master, origin/master, origin/HEAD) throttlestop: Update to version 9.7.2

'versions' bucket:
b143585eb (HEAD -> master, origin/master, origin/HEAD) systeminformer-nightly: Update to version 3.2.25016

'sysinternals' bucket:
4aa1b85 (HEAD -> main, origin/main, origin/HEAD) [email protected]: Remove `ctrl2cap.exe` bin

'nerd-fonts' bucket:
4cd5e93a (HEAD -> master, origin/master, origin/HEAD) LXGWNeoZhiSong: Update to version 1.022

'nonportable' bucket:
30a0f655 (HEAD -> master, origin/master, origin/HEAD) office-365-apps-np: Update to version 2024.11.2

'keys.pub' bucket:
09a1077 (HEAD -> master, origin/master, origin/HEAD) Update keys.json (0.2.4)

Scoop Config

C:\Users\sebbu# scoop config

last_update         scoop_repo                              scoop_branch aria2-warning-enabled
-----------         ----------                              ------------ ---------------------
16/01/2025 14:45:36 https://github.com/ScoopInstaller/Scoop master                       False

PowerShell Version

PS C:\Users\sebbu> $PSVersionTable

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

Additional Softwares

aria2 (but i doubt it's related)

@sebbu2 sebbu2 added the bug Something isn't working label Jan 16, 2025
Ra2-IFV added a commit to ifvlaboratory/ScoopBucket-Main that referenced this issue Jan 16, 2025
Ra2-IFV added a commit to ifvlaboratory/ScoopBucket-Main that referenced this issue Jan 16, 2025
@Ra2-IFV
Copy link

Ra2-IFV commented Jan 22, 2025

Damn we need more reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants