Extras icon indicating copy to clipboard operation
Extras copied to clipboard

[Bug]: Can't install OpenVPN 2.6.9

Open altro3 opened this issue 1 year ago • 2 comments

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

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) [email protected]: 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

altro3 avatar Feb 16 '24 06:02 altro3

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.

billybooth avatar Feb 27 '24 17:02 billybooth

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.

ThexXTURBOXx avatar Mar 05 '24 21:03 ThexXTURBOXx