ScoopInstaller / Extras

đŸ“¦ The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.79k stars 1.34k forks source link

[Bug]: Can't install OpenVPN 2.6.9 #12806

Open altro3 opened 7 months ago

altro3 commented 7 months ago

Prerequisites

Package Name

openvpn

Expected/Current Behaviour

Now I see error: Can't shim 'bin\openvpn.exe': File doesn't exist.

Steps to Reproduce

PS C:\Users\alexu> scoop install openvpn
Installing 'openvpn' (2.6.9-I001) [64bit] from extras bucket
Loading OpenVPN-2.6.9-I001-amd64.msi from cache
Checking hash of OpenVPN-2.6.9-I001-amd64.msi ... ok.
Running pre_install script...
ERROR Exit code was 1603!
Linking ~\scoop\apps\openvpn\current => ~\scoop\apps\openvpn\2.6.9-I001
Creating shim for 'openvpn'.
Can't shim 'bin\openvpn.exe': File doesn't exist.

Possible Solution

Just need to correct openvpn json file. Previous versions were installed correctly. Haven't any experience how do it it

Scoop and Buckets Version

PS C:\Users\alexu> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
fa4668a3f (HEAD -> master, origin/master, origin/HEAD) yacreader: Update to version 9.14.2.2402143

'java' bucket:
0d1d4261 (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.412-3.0.202402131250

'main' bucket:
804fab78e (HEAD -> master, origin/master, origin/HEAD) sass: Update to version 1.71.0

'versions' bucket:
bdef7096b (HEAD -> master, origin/master, origin/HEAD) neovim-nightly@0.10.0-2363: Fix hash (Closes #1592)

Scoop Config

aria2-warning-enabled last_update                       scoop_branch scoop_repo
--------------------- -----------                       ------------ ----------
                False 2024-02-16T13:09:10.1172287+07:00 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS C:\Users\alexu> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.2506
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2506
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

billybooth commented 6 months ago

Ran into this today as well trying to update from 2.6.6 -> 2.6.9.

C:\Users\William>scoop update openvpn
openvpn: 2.6.6-I001 -> 2.6.9-I001
Updating one outdated app:
Updating 'openvpn' (2.6.6-I001 -> 2.6.9-I001)
Downloading new version
Loading OpenVPN-2.6.9-I001-amd64.msi from cache
Checking hash of OpenVPN-2.6.9-I001-amd64.msi ... ok.
Running pre_uninstall script...
Uninstalling 'openvpn' (2.6.6-I001)
Running uninstaller script...
ERROR Exit code was 1605!
Unlinking ~\scoop\apps\openvpn\current
Installing 'openvpn' (2.6.9-I001) [64bit] from extras bucket
Loading OpenVPN-2.6.9-I001-amd64.msi from cache
Running pre_install script...
ERROR Exit code was 1603!
Linking ~\scoop\apps\openvpn\current => ~\scoop\apps\openvpn\2.6.9-I001
Creating shim for 'openvpn'.
Can't shim 'bin\openvpn.exe': File doesn't exist.
ThexXTURBOXx commented 6 months ago

Same error happens here as well, but even when trying to update from 2.6.8 -> 2.6.9 both via winget and normal installer from the website. 2.6.8 had no installation problems.