th-ch / homebrew-youtube-music

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

Update failed #7

Open teddythinh opened 1 month ago

teddythinh commented 1 month ago

Checking version with brew list, it shows youtube-music v3.6.1 When I manually update, getting this error:

brew upgrade --cask youtube-music
==> Upgrading 1 outdated package:
th-ch/youtube-music/youtube-music v3.6.2 -> v3.6.2
==> Upgrading youtube-music
==> Downloading https://github.com/th-ch/youtube-music/releases/download/v3.6.2/YouTube-Music-3.6.2.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/182306991/4181d2ce-d637-4526-b074-119e3b138214
######################################################################################################################################### 100.0%
Warning: No checksum defined for cask 'youtube-music', skipping verification.
==> Removing directories if empty:
/usr/local/Caskroom/youtube-music
/usr/local/Caskroom/youtube-music/.metadata
==> Backing App 'YouTube Music.app' up to '/usr/local/Caskroom/youtube-music/v3.6.2/YouTube Music.app'
==> Removing App '/Applications/YouTube Music.app'
==> Purging files for version v3.6.2 of Cask youtube-music
Error: th-ch/youtube-music/youtube-music: No such file or directory @ rb_file_s_rename - (/usr/local/Caskroom/youtube-music/.metadata/v3.6.2, /usr/local/Caskroom/youtube-music/.metadata/v3.6.2.upgrading)
DianaSensei commented 1 month ago

got same error when upgrade to new version

teddythinh commented 1 month ago

I have tried rm -rf /opt/homebrew/Caskroom/youtube-music/ from this comment but it doesn't work.

I still have to force uninstall brew uninstall --force th-ch/youtube-music/youtube-music and then install back again from my issue #2.