th-ch / homebrew-youtube-music

Homebrew cask definition for YouTube Music
https://th-ch.github.io/youtube-music/
MIT License
6 stars 1 forks source link

No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest #1

Closed LorenzoMorelli closed 1 month ago

LorenzoMorelli commented 9 months ago

Hi and thank you for your work!

I have seen this issue has been closed on main repository but I still get this error even by following both ways of installing youtube-music via brew explained in the new readme

gmcinalli commented 9 months ago

I've this error when upgrading via brew upgrade --cask youtube-music:

Error: th-ch/youtube-music/youtube-music: No such file or directory @ rb_file_s_rename - (/opt/homebrew/Caskroom/youtube-music/.metadata/v3.2.2, /opt/homebrew/Caskroom/youtube-music/.metadata/v3.2.2.upgrading)
th-ch commented 6 months ago

👋 It seems sometimes failing to upgrade (typically getting rate limited in the GH API) can lead to that weird situation - hopefully https://github.com/th-ch/homebrew-youtube-music/pull/3 will help, in the meantime feel free to rm -rf /opt/homebrew/Caskroom/youtube-music/ then brew install --cask th-ch/youtube-music/youtube-music to go back to a clear state :)

ZuBB commented 4 months ago

rm -rf /opt/homebrew/Caskroom/youtube-music/

This does the trick!

ZuBB commented 4 months ago

I just tried to update the app through Brew, and it bit me again. Any chance to fix it?

th-ch commented 1 month ago

https://github.com/th-ch/homebrew-youtube-music/pull/5 should fix the issue - closing, feel free to re-open if needed!