Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finalshell download url is error #185942

Closed
6 tasks done
AllenAlex-1014 opened this issue Sep 19, 2024 · 0 comments · Fixed by #185948
Closed
6 tasks done

finalshell download url is error #185942

AllenAlex-1014 opened this issue Sep 19, 2024 · 0 comments · Fixed by #185948

Comments

@AllenAlex-1014
Copy link

AllenAlex-1014 commented Sep 19, 2024

Verification

Description of issue

cannot download finalshell 4.5.6 , it seems url is error.
maybe the url is "https://dl.hostbuf.com/downloads/finalshell_macos_arm64.pkg"

Command that failed

brew upgrade --cask finalshell

Output of command with --verbose --debug

==> Downloading https://formulae.brew.sh/api/cask.jws.json
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --fail --remote-time --output /Users/allen/Library/Caches/Homebrew/api/cask.jws.json --location --time-cond /Users/allen/Library/Caches/Homebrew/api/cask.jws.json --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --fail --compressed --speed-limit 100 --speed-time 5 https://formulae.brew.sh/api/cask.jws.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1492k  100 1492k    0     0   172k      0  0:00:08  0:00:08 --:--:--  101k
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading finalshell
==> Upgrading 1 outdated package:
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromPathLoader): loading /opt/homebrew/Caskroom/finalshell/.metadata/4.5/20240827083833.100/Casks/finalshell.json
finalshell 4.5 -> 4.5.6
==> Started upgrade process for Cask finalshell
==> Upgrading finalshell
==> Printing caveats
==> Cask::Installer#fetch
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
==> Downloading http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.3.23\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0\)\ curl/8.7.1 --header Accept-Language:\ en --fail --retry 3 --remote-time --output /Users/allen/Library/Caches/Homebrew/downloads/ecef8f96e15c14327111e4fc37b7f1cdbf779a2886fdab7287770f8afdbf6ed1--finalshell_macos_arm64.pkg.incomplete --location http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   749    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (22) The requested URL returned error: 404
==> Purging files for version 4.5.6 of Cask finalshell
Error: finalshell: Download failed on Cask 'finalshell' with message: Download failed: http://www.hostbuf.com/downloads/finalshell_macos_arm64.pkg
/opt/homebrew/Library/Homebrew/download_strategy.rb:434:in `rescue in fetch'
/opt/homebrew/Library/Homebrew/download_strategy.rb:431:in `fetch'
/opt/homebrew/Library/Homebrew/downloadable.rb:102:in `fetch'
/opt/homebrew/Library/Homebrew/cask/download.rb:60:in `fetch'
/opt/homebrew/Library/Homebrew/cask/installer.rb:193:in `download'
/opt/homebrew/Library/Homebrew/cask/installer.rb:74:in `fetch'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:196:in `upgrade_cask'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:117:in `block in upgrade_casks'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:116:in `each'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:116:in `upgrade_casks'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:262:in `upgrade_outdated_casks'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:140:in `run'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'

Output of brew doctor and brew config

Warning: Suspicious https://github.com/Homebrew/brew git origin remote found.
The current git origin is:
  https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
  git -C "/opt/homebrew" remote set-url origin https://github.com/Homebrew/brew

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  aria2gui

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  [email protected]

Warning: You have the following deprecated, official taps tapped:
  Homebrew/homebrew-cask-versions
  Homebrew/homebrew-cask-fonts
  Homebrew/homebrew-cask-drivers

 ✘ allen@wangzhendeMacBook-Pro  ~  brew config
HOMEBREW_VERSION: 4.3.23
ORIGIN: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
HEAD: 42c11a4dedf352229271593de831161071603c66
Last commit: 2 days ago
Core tap JSON: 19 Sep 01:01 UTC
Core cask tap JSON: 19 Sep 01:05 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.3.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 16.0.0 build 1600
Git: 2.46.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.0-arm64
CLT: 16.0.0.0.1.1724870825
Xcode: 16.0
Rosetta 2: false

Output of brew tap

allen@wangzhendeMacBook-Pro  ~  brew tap
homebrew/bundle
homebrew/cask-drivers
homebrew/cask-fonts
homebrew/cask-versions
homebrew/command-not-found
lencx/chatgpt
mczachurski/wallpapper
popcorn-official/popcorn-desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant