Main
Main copied to clipboard
[Bug]: vcpkg fails to run installer
Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
- [X] I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
vcpkg
Expected/Current Behaviour
When running scoop install vcpkg the file downloads, pre-install script succeeds, and then installer fails with error code 1. All other packages install correctly and i have tested with and without aria2 enabled.
Steps to Reproduce
PS> scoop install vcpkg
Installing 'vcpkg' (2024.03.19) [64bit] from main bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid |stat|avg speed |path/URI
Download: ======+====+===========+=======================================================
Download: be90f5|OK | 4.3MiB/s|C:/Users/lexi/scoop/cache/vcpkg#2024.03.19#https_github.com_microsoft_vcpkg_archive_refs_tags_2024.03.19.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of 2024.03.19.zip ... ok.
Extracting 2024.03.19.zip ... done.
Running pre_install script...
Running installer... error.
ERROR Exit code was 1!
Installation aborted. You might need to run 'scoop uninstall vcpkg' before trying again.
Possible Solution
I have no more relevent information to think of a solution.
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15
'extras' bucket:
e4d3b14f0 (HEAD -> master, origin/master, origin/HEAD) skype: Update to version 8.114.0.214
'main' bucket:
71b7f4ba3 (HEAD -> master, origin/master, origin/HEAD) [email protected]: Fix hash (Closes #5646)
'versions' bucket:
e7720229a (HEAD -> master, origin/master, origin/HEAD) gn: Update to version WDob6a
Scoop Config
PS> scoop config
last_update : 25/03/2024 20:05:26
aria2-warning-enabled : False
aria2-enabled : True
aria2-retry-wait : 4
aria2-split : 16
aria2-max-connection-per-server : 16
aria2-min-split-size : 4M
scoop_branch : master
scoop_repo : https://github.com/ScoopInstaller/Scoop
PowerShell Version
PS> $PSVersionTable
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
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
No response
I have the same issue.
Windows 11 Running with VMWare on MacOS Host
Major Minor Build Revision
----- ----- ----- --------
10 0 22631 0
Current Scoop version:
v0.3.1 - Released at 2022-11-15
'extras' bucket:
62782b74f (HEAD -> master, origin/master, origin/HEAD) staxrip: Update to version 2.37.5
'main' bucket:
a7948629f (HEAD -> master, origin/master, origin/HEAD) trid: Update to version 2.24-24.04.06
Name Value
---- -----
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3....
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
I am also having the same problem
"installer": {
"file": "scripts/bootstrap.ps1",
"keep": true
},
temporary fix change installer file to scripts/bootstrap.ps1