Skip to content

Cannot upgrade via brew #399

@NotLazy

Description

@NotLazy

Describe the bug
When attempting to use brew upgrade the upgrade process fails due to a hash mismatch error.

To Reproduce
Steps to reproduce the behavior:

  1. Run brew upgrade
  2. Observe error

Expected behavior
The update process to complete without error

Screenshots
Not Applicable, see additional context for terminal output.

Environment (please complete the following information):

  • OS: macOS Sequoia
  • OS Version: 15.5
  • CraftOS-PC Version: 2.7.4 -> 2.8.3
  • Compiled from source? No

Additional context

lunaalfien:~% brew upgrade
==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass `--greedy` to upgrade them.
==> Upgrading 1 outdated package:
mcjack123/craftospc/craftos-pc 2.7.4 -> 2.8.3
==> Upgrading craftos-pc
==> Downloading https://github.com/MCJack123/craftos2/releases/download/v2.8.3/CraftOS-PC.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/197683066/157d0f08-1335-4d24-819f
############################################################################################################################ 100.0%
==> Purging files for version 2.8.3 of Cask craftos-pc
Error: mcjack123/craftospc/craftos-pc: SHA256 mismatch
Expected: 0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5
  Actual: 13780d846d4acc5dbd5141929dc9a27a3056ca64f5e9d41be9f336231d29ddd2
    File: /Users/lunaalfien/Library/Caches/Homebrew/downloads/239ed7fd8ffd36ba91cb35a59917bf140ee5b6fd9f92aafc9bfe26f8fe7fce93--CraftOS-PC.dmg
To retry an incomplete download, remove the file above.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions