-
-
Notifications
You must be signed in to change notification settings - Fork 472
font-m-plus install error #176
Comments
Hi! M+ installs fine for me. I can't remember if I had to upgrade any of the codebase to support the $ brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup and let me know if your problem persists? Another possibility is that the file was corrupted on download, in which case $ rm /Library/Caches/Homebrew/font-m-plus-1.050.tar.xz |
No change unfortunately. The only thing The Unarchiver can extract the archive fine. Another font (font-profontx) installed with no trouble. |
Thanks for the feedback. I would like to see Perhaps it is a difference between versions of OS X. I am on Mavericks. Homebrew-cask invokes the $ /usr/bin/file -Izb -- /Library/Caches/Homebrew/font-m-plus-1.050.tar.xz
application/x-tar; charset=binary compressed-encoding=application/x-xz; charset=binary; charset=binary Which you can also see by running $ brew cask install --debug font-m-plus There is also a Cask doctor command |
Here's what
So that's not quite right. I'm on 10.9.3 here. |
$ ls -la /Library/Caches/Homebrew/font-m-plus-1.050.tar.xz You should try
and download it fresh. On our end, we should definitely add a more helpful error message for the case of empty downloads. |
Nah, the file's okay. I can extract it with the Unarchiver. Different machine this time. Same OS, brew and cask are both up to date.
If I'm the only one this happens for (weird), it's totally not a big deal, there are other ways to install a font. But if you think this is something we can debug I'm happy to help. Excerpt from a
Possibly relevant:
|
Sorry, missed that. Sure, it's just one weird case, but homebrew-cask is more useful if it is robust against different cases. I'm going to try duplicating this symptom using intentionally weird ACLs. You might double-check ACLs using Apple's $ /bin/ls -le /Library/Caches/Homebrew/font-m-plus-1.050.tar.xz The only other thing I can think of that modifies the behavior of the Otherwise, I may add a fallback in the code to respect the downloaded file extension in cases where the Sorry I couldn't come up with an immediate workaround for you, but it is helpful data, thanks. |
You should try to brew install xz. |
Hey, there ya go. Looks like xz was the missing bit. Thanks nanometre. |
@nanometre, thanks for the analysis. The culprit is the We use /usr/bin/file -Izb /Library/Caches/Homebrew/font-m-plus-1.050.tar.xz The Apple does not supply The best solution for now is to add depends_on_formula 'xz' to the Cask. |
Received this error trying to install M+, which has been popping up on a bunch of sites the past couple days.
The text was updated successfully, but these errors were encountered: