flecs icon indicating copy to clipboard operation
flecs copied to clipboard

download failing on homebrew + music cutting off

Open haepudu opened this issue 3 months ago • 5 comments

hi! i have a macbook pro on sequoia 15.7. i decided to uninstall youtube music because as i selected a song, it decided to play silence instead of the actual song.

so, as someone who has no idea how to code, i looked on here to how to uninstall and used brew uninstall --cask youtube-music brew untap th-ch/youtube-music as well as brew uninstall --force th-ch/youtube-music/youtube-music

i wanted to see if i could redownload it to get it to start up again as normal. so i went here again and used brew install --cask th-ch/youtube-music/youtube-music

but, as it tried to download, i got this message:

==> Downloading https://github.com/th-ch/youtube-music/releases/download/https:/ curl: (56) The requested URL returned error: 404

Error: Download failed on Cask 'youtube-music' with message: Download failed: https://github.com/th-ch/youtube-music/releases/download/https://github.com/ytmd-devs/ytmd/releases/latest/YouTube-Music-https://github.com/ytmd-devs/ytmd/releases/latest-arm64.dmg

does someone know why that is? i tried downloading multiple times and clearing off files, but it still wouldn't download :(. i tried looking everywhere to fix my problem but no results came up and now im stuck here. if you can help it'll be very appreciated! i love this app and i want it back.

haepudu avatar Sep 21 '25 01:09 haepudu

i forgot to mention that my homebrew is up to date !

haepudu avatar Sep 21 '25 01:09 haepudu

Yes, getting the same error.

mysticaltech avatar Sep 21 '25 08:09 mysticaltech

Same

lshching avatar Sep 21 '25 12:09 lshching

This problem still persists. I am pretty sure it's due to YT Music from th-ch being renamed to pear-devs/pear-desktop, but no clue how to solve this...

Edit: you can edit the Cask yourself via brew edit th-ch/youtube-music/youtube-music. An editor with the youtube-music.rb should pop up. Then replace the following:

...
-  homepage "https://github.com/ytmd-devs/ytmd"
+  homepage "https://github.com/pear-devs/pear-desktop/"
...
-  release_url = "https://github.com/ytmd-devs/ytmd"
+  release_url = "https://github.com/pear-devs/pear-desktop/"
...

Remove the red lines and replace them with the green ones.

Now use e.g. brew upgrade youtube-music or brew install youtube-music. Worked for me.

$ brew install youtube-music                                                                                                      ✭ ✱
==> Downloading https://github.com/pear-devs/pear-desktop//releases/download/v3.11.0/YouTube-Music-3.11.0-arm64.dmg
==> Downloading from https://release-assets.githubusercontent.com/github-production-release-asset/182306991/83a3aa6f-779b-4d8f-830e-5eef594c7bbb?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T22
############################################################################################################################################################################################ 100.0%
Warning: No checksum defined for cask 'youtube-music', skipping verification.
==> Installing Cask youtube-music
==> Moving App 'YouTube Music.app' to '/Applications/YouTube Music.app'
Removing quarantine attribute from YouTube Music.app.
🍺  youtube-music was successfully installed!

divStar avatar Oct 09 '25 21:10 divStar

See https://github.com/pear-devs/pear-desktop/issues/4004

Neved4 avatar Nov 11 '25 09:11 Neved4