Skip to content

[Bug] Powershell 7.5.4 - All installs and updates failing due to null-valued expression on file hash #6565

@Nick2bad4u

Description

@Nick2bad4u

Bug Report

Current Behavior

All packages fail to update or install due to this error:

╰─pwsh─ scoop install aria2
Installing 'aria2' (1.37.0-1) [64bit] from 'main' bucket
Calculating file hash for:
File not found:
You cannot call a method on a null-valued expression.
URL https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0-win-64bit-build1.zip is not valid
╰─pwsh─ scoop install main/scoop-shim
WARN  Purging previous failed installation of scoop-shim.
ERROR 'scoop-shim' isn't installed correctly.
Removing older version (1.1.0).
'scoop-shim' was uninstalled.
Installing 'scoop-shim' (1.1.0) [64bit] from 'main' bucket
Calculating file hash for:
File not found:
You cannot call a method on a null-valued expression.
URL https://github.com/ScoopInstaller/Shim/releases/download/v1.1.0/shim-1.1.0.zip is not valid

Expected Behavior

Should install without error.

Additional context/output

Tried a bunch of things locally, including enable/disable aria2 config and gh_token config.

Possible Solution

System details

Windows version: Win 11

OS architecture: 64 bit

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]

╰─pwsh─ $($PSVersionTable.PSVersion)

Major Minor Patch PreReleaseLabel BuildLabel


7 5 4

Additional software: [(optional) e.g. ConEmu, Git]

Git/OhMyPosh

Scoop Configuration

{
  "last_update": "2025-12-04T20:52:01.8271508-05:00",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master",
  "use_sqlite_cache": true,
  "show_update_log": true,
  "default_architecture": "64bit",
  "aria2-warning-enabled": true,
  "aria2-enabled": true,
  "use_external_7zip": true,
  "use_isolated_path": true,
  "gh_token": "REMOVED"
}

it also deleted my path env-var when I was trying to use isolated_path so thats great too lol. Have to re-create it from scratch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions