Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Bug] scoop checkup reports error about missing 7zip package

Open LeileiChui opened this issue 1 year ago • 0 comments

Bug Report

Current Behavior

scoop reports missing 7-zip dependency error when using external 7-zip.

Expected Behavior

The scoop checkup should not report this error if the external 7-zip is valid.

Additional context/output

➜ scoop checkup        
ERROR '7-Zip' is not installed! It's required for unpacking most programs. Please Run 'scoop install 7zip' or 'scoop install 7zip-zstd'.
WARN  Found 1 potential problem.

➜ scoop config | fl *

last_update           : 2023/10/12 14:48:19
autostash_on_conflict : True
cat_style             : full
aria2-enabled         : True
use_external_7zip     : True
scoop_branch          : master
scoop_repo            : https://github.com/ScoopInstaller/Scoop

Possible Solution

When using an external 7-zip, scoop checkup can check the validity of the command instead of checking whether 7-zip is installed or not.

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 7.3.7

Additional software: N/A

Scoop Configuration

{
  "last_update": "2023-10-12T14:48:19.5287502+08:00",
  "autostash_on_conflict": true,
  "cat_style": "full",
  "aria2-enabled": true,
  "use_external_7zip": true,
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master"
}

LeileiChui avatar Oct 12 '23 08:10 LeileiChui