Closed sdaitzman closed 4 years ago
$ brew --version
Homebrew 2.4.13
Homebrew/homebrew-core (git revision 479e5e; last commit 2020-08-21)
Homebrew/homebrew-cask (git revision 84cf88; last commit 2020-08-21)
$
@sdaitzman
You forgot to write cask
.
$ brew cask upgrade qlmarkdown
Nah, that gets fixed automatically:
$ brew cask upgrade qlmarkdown
Updating Homebrew...
==> Upgrading 1 outdated package:
Error: Cask 'qlmarkdown' definition is invalid: Token '{:v1=>"qlmarkdown"}' in header line does not match the file name.
$
Nah, that gets fixed automatically:
$ brew cask upgrade qlmarkdown Updating Homebrew... ==> Upgrading 1 outdated package: Error: Cask 'qlmarkdown' definition is invalid: Token '{:v1=>"qlmarkdown"}' in header line does not match the file name. $
ha ok sorry, try
> brew reinstall qlmarkdown
$ brew reinstall qlmarkdown
==> Downloading https://github.com/toland/qlmarkdown/releases/download/v1.3.6/QLMarkdown.qlgenerator.zip
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/32054/909f7a00-f830-11e9-9a09-5cbf642c5ba8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200821%2Fus-east-1%2Fs3
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'qlmarkdown'.
Error: Cask 'qlmarkdown' definition is invalid: Token '{:v1=>"qlmarkdown"}' in header line does not match the file name.
$
Hmm, seems to still not work, odd. I haven't tried reproducing this on any other machines yet...
$ brew reinstall qlmarkdown ==> Downloading https://github.com/toland/qlmarkdown/releases/download/v1.3.6/QLMarkdown.qlgenerator.zip ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/32054/909f7a00-f830-11e9-9a09-5cbf642c5ba8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200821%2Fus-east-1%2Fs3 ######################################################################## 100.0% ==> Verifying SHA-256 checksum for Cask 'qlmarkdown'. Error: Cask 'qlmarkdown' definition is invalid: Token '{:v1=>"qlmarkdown"}' in header line does not match the file name. $
Hmm, seems to still not work, odd. I haven't tried reproducing this on any other machines yet...
10.15.6 We are using the same version of macOS. The commands works for me.
Ah, of course. For the same reason brew will not successfully install, it will not remove.
$ brew remove qlmarkdown
Error: Cask 'qlmarkdown' definition is invalid: Token '{:v1=>"qlmarkdown"}' in header line does not match the file name.
$
$ brew cask zap qlmarkdown
==> Implied "brew cask uninstall qlmarkdown"
==> Backing QuickLook Plugin 'QLMarkdown.qlgenerator' up to '/usr/local/Caskroom/qlmarkdown/1.3.6/QLMarkdown.qlgenerator'.
==> Removing QuickLook Plugin '/Users/_____/Library/QuickLook/QLMarkdown.qlgenerator'.
Warning: No zap stanza present for Cask 'qlmarkdown'
==> Removing all staged versions of Cask 'qlmarkdown'
$ brew cask install qlmarkdown
==> Downloading https://github.com/toland/qlmarkdown/releases/download/v1.3.6/QLMarkdown.qlgenerator.zip
Already downloaded: /Users/_____/Library/Caches/Homebrew/downloads/e1e7496e3912ee8045ab3591315ba6ab3873a3bcb43fdc9e00fee148e00f03ca--QLMarkdown.qlgenerator.zip
==> Verifying SHA-256 checksum for Cask 'qlmarkdown'.
==> Installing Cask qlmarkdown
==> Moving QuickLook Plugin 'QLMarkdown.qlgenerator' to '/Users/_____/Library/QuickLook/QLMarkdown.qlgenerator'.
🍺 qlmarkdown was successfully installed!
$
Hmm, odd. Resolved, but not diagnosed! Thanks for your work on this! ☺️