Versions icon indicating copy to clipboard operation
Versions copied to clipboard

[Bug]: openssl-light overwrites innounp-unicode shim when installed

Open BradKnowles opened this issue 1 year ago • 0 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

openssl-light

Expected/Current Behaviour

Due to the issue of innounp being outdated and starting to cause problems with other packages, I've switched to using innounp-unicode as outlined in this GitHub Issue https://github.com/ScoopInstaller/Extras/issues/13444. During install of openssl-light it sees the dependency of innoup not being met and overwrite the shim created by innoup-unicode.

I would expect

Steps to Reproduce

scoop uninstall main/innounp
scoop bucket add versions
scoop install versions/innounp-unicode
scoop install versions/openssl-light

Installing 'innounp' (0.50) [64bit] from 'main' bucket
Loading innounp050.rar from cache
Checking hash of innounp050.rar ... ok.
Extracting innounp050.rar ... done.
Linking ~\scoop\apps\innounp\current => ~\scoop\apps\innounp\0.50
Creating shim for 'innounp'.
WARN  Overwriting shim ('innounp.exe' -> 'innounp.exe') installed from innounp-unicode
'innounp' (0.50) was installed successfully!
Installing 'openssl-light' (3.3.1) [64bit] from 'versions' bucket
Loading Win64OpenSSL_Light-3_3_1.exe from cache
Checking hash of Win64OpenSSL_Light-3_3_1.exe ... ok.
Running installer script...done.
Linking ~\scoop\apps\openssl-light\current => ~\scoop\apps\openssl-light\3.3.1
Creating shim for 'openssl'.

Possible Solution

Is there a way to flag dependencies as one or the other so that if either innounp or innounp-unicode is present it will consider the dependency met?

Scoop and Buckets 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:
e7698dbe2 (HEAD -> master, origin/master, origin/HEAD) yq: Update to version 4.44.3

'extras' bucket:
31b85b8c0 (HEAD -> master, origin/master, origin/HEAD) yuescript: Update to version 0.23.9

'versions' bucket:
32825896a (HEAD -> master, origin/master, origin/HEAD) zettlr-nightly: Update to version 3.2.0-20240805

'nirsoft' bucket:
5c647d8 (HEAD -> master, origin/master, origin/HEAD) Update url list [ci skip]

'sysinternals' bucket:
6b2b695 (HEAD -> main, origin/main, origin/HEAD) sysmon: Update to version 15.15

'nerd-fonts' bucket:
fee2eda0 (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 1.0.17

'nonportable' bucket:
35a8bad2 (HEAD -> master, origin/master, origin/HEAD) protonvpn-np: Update to version 3.3.0

Scoop Config

last_update  : 8/5/2024 9:22:10 AM
scoop_repo   : https://github.com/ScoopInstaller/Scoop
scoop_branch : master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.22621
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

BradKnowles avatar Aug 05 '24 13:08 BradKnowles