Closed otaconix closed 3 months ago
It looks like both 128.0b7 and 128.0b8 could be the same. If you sha256
your downloaded file, do you get the same as I have?
> brew fetch firefox@developer-edition
==> Downloading https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=osx&lang=en-US
==> Downloading from https://download-installer.cdn.mozilla.net/pub/devedition/releases/128.0b8/mac/en-US/Firefox%20128.0
################################################################################################################## 100.0%
Downloaded to: .../Library/Caches/Homebrew/downloads/382608000536d61f64e4a147e764c559ce144c3f04dd0f05209549d3bf118f1a--Firefox 128.0b8.dmg
SHA256: 96346ba3be8c82faf159b75424d598c64de492327d043b3c079854799567ced9
Doesn't look that way to me:
$ openssl sha256 ~/Library/Caches/Homebrew/downloads/382608000536d61f64e4a147e764c559ce144c3f04dd0f05209549d3bf118f1a--Firefox\ 128.0b7.dmg
SHA2-256(/Users/redacted/Library/Caches/Homebrew/downloads/382608000536d61f64e4a147e764c559ce144c3f04dd0f05209549d3bf118f1a--Firefox 128.0b7.dmg)= 0952f0529c44eea0b306c068503acd48d6b99ff0c439802a7763b9efb8b945c5
$ wget 'https://download-installer.cdn.mozilla.net/pub/devedition/releases/128.0b8/mac/en-US/Firefox%20128.0b8.dmg'
--2024-06-28 18:45:56-- https://download-installer.cdn.mozilla.net/pub/devedition/releases/128.0b8/mac/en-US/Firefox%20128.0b8.dmg
Resolving download-installer.cdn.mozilla.net (download-installer.cdn.mozilla.net)... 34.117.35.28
Connecting to download-installer.cdn.mozilla.net (download-installer.cdn.mozilla.net)|34.117.35.28|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 164633524 (157M) [application/x-iso9660-image]
Saving to: ‘Firefox 128.0b8.dmg’
Firefox 128.0b8.dmg 100%[===================================================================================================================================================================================================>] 157.01M 61.4MB/s in 2.6s
2024-06-28 18:45:59 (61.4 MB/s) - ‘Firefox 128.0b8.dmg’ saved [164633524/164633524]
$ openssl sha256 Firefox\ 128.0b8.dmg
SHA2-256(Firefox 128.0b8.dmg)= 96346ba3be8c82faf159b75424d598c64de492327d043b3c079854799567ced9
You may be able to get around whatever is happening by removing your downloaded files from the cache and then running an upgrade. I suspect that will pull the latest version and get you unblocked.
Oh, yeah, that definitely does it! But I've done it before, expecting the issue to go away with the next version, which it didn't 🙂. Which is why I opened this issue.
Firefox Developer Edition releases pretty frequently (I think I got the update notification for b8 yesterday, and today I got it for b9), so I'm hoping someone else can reproduce the issue and debug it better than my feeble attempt (I tried stepping through some of brew's code using brew irb
, but I'm too unfamiliar with both ruby and brew's code to get very far).
If there's anything else I can do to pinpoint what the issue actually is, let me know!
PS: I was kinda surprised to see brew attempt both a curl --head
and curl --head --request GET
, as if the first one didn't yield useful information. Maybe there's something there?
Should be good here. I made updates that now version this cask.
Thanks for reporting!
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
I'm not exactly sure what's happening here, but the
firefox@developer-edition
cask refuses to upgrade. There's definitely a new version available (I'm on 128.0b7, and 128.0b8 is available).To make sure this is actually the case, I ran the upgrade command with debug output, and manually ran the curl invocation to see what the cask's download URL redirects to:
Command that failed
brew upgrade -fg firefox@developer-edition
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap