ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.59k stars 966 forks source link

[Bug]: Cannot update mysql-workbench, ERR: Could not find 'MySQL Workbench 8.0 CE'! (error 16) #5432

Closed basketshoe closed 9 months ago

basketshoe commented 9 months ago

Prerequisites

Package Name

mysql-workbench

Expected/Current Behaviour

I can't update to the latest version of mysql-workbench via scoop. Error: Could not find 'MySQL Workbench 8.0 CE'! (error 16)

Steps to Reproduce

PS> scoop update mysql-workbench
mysql-workbench: 8.0.34 -> 8.0.36
Updating one outdated app:
Updating 'mysql-workbench' (8.0.34 -> 8.0.36)
Downloading new version
Loading mysql-workbench-community-8.0.36-winx64.msi from cache
Checking hash of mysql-workbench-community-8.0.36-winx64.msi ... ok.
Uninstalling 'mysql-workbench' (8.0.34)
Removing shim 'mysql.shim'.
Removing shim 'mysql.exe'.
Removing shim 'mysqldump.shim'.
Removing shim 'mysqldump.exe'.
Installing 'mysql-workbench' (8.0.36) [64bit] from main bucket
Loading mysql-workbench-community-8.0.36-winx64.msi from cache
Extracting mysql-workbench-community-8.0.36-winx64.msi ... Exception: C:\Users\francesco\scoop\apps\scoop\current\lib\core.ps1:638
Line |
 638 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'MySQL Workbench 8.0 CE'! (error 16)

Possible Solution

N/A

Scoop and Buckets Version

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

'extras' bucket:
937a21248 (HEAD -> master, origin/master, origin/HEAD) siyuan-note: Update to version 2.12.3

'java' bucket:
659193d1 (HEAD -> master, origin/master, origin/HEAD) temurin17-nightly-jre: Update to version 17.0.10-6.0.202401141608

'main' bucket:
b339555f8 (HEAD -> master, origin/master, origin/HEAD) vale: Update to version 3.0.5

'nonportable' bucket:
a14ee1e (HEAD -> master, origin/master, origin/HEAD) k-lite-codec-pack-standard-np: Update to version 18.0.5

'sysinternals' bucket:
4c24177 (HEAD -> main, origin/main, origin/HEAD) sysmon: Update to version 15.12

Scoop Config

PS> scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
16/01/2024 09:39:07 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
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

mysql 8.2.0 is installed (via scoop), everything worked fine with the previous versions (and previous updates)

WoPYUuNQck8Fm2ns commented 4 months ago

Looks like this bug is back due to update to 8.0.38 in commit https://github.com/ScoopInstaller/Main/commit/bb5939498e454e0cf07ffbd271317a388e99d93d

basketshoe commented 4 months ago

I think you have to tag @HUMORCE to reopen the issue