Comments (24)
My attempt at a little more readable output (and my problematic packages).
$ brew cask list 2>/dev/null | xargs -I{} bash -c 'cask_="{}"; brew cask audit "${cask_}" 2>&1 1>/dev/null | grep "Hbc::DSL#license" >/dev/null && echo "License error in cask: ${cask_}"'
License error in cask: audacity
License error in cask: google-drive
License error in cask: google-photos-backup
License error in cask: picasa
License error in cask: textwrangler
After uninstalling these the errors are gone.
from homebrew-cask-upgrade.
Found the culprit for all the "Warning ...#license..." messages I was getting: an outdated cask, the (discontinued?) beloved clipmenu. Running brew cask audit, cask by cask via a one liner bash loop (cf below should it helps) did the trick for me.
while IFS= read -r _c _ ; do echo -e "$_c =>" ; brew cask audit "$_c" ; done <<<"$(brew cask list)"
from homebrew-cask-upgrade.
Running brew cask audit ...
across all my installed packages gave no result. I am still getting
Warning: Calling Hbc::DSL#license is deprecated!
There is no replacement.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:18:in `block in load'
from homebrew-cask-upgrade.
This is a little simpler to type.
brew cask list 2> /dev/null | xargs brew cask audit
from homebrew-cask-upgrade.
OK -- turned out I have made my life hard because of the complex way I have my Mac setup. Eventually I traced to the fact that a that a couple of packages had changed their name (google-drive & flash). So an uninstall and then install with the new name fixed that...
from homebrew-cask-upgrade.
@akindo Since Tomahawk app has been removed from homebrew-cask (no update for last 2 years, the project is abandoned), you should consider uninstalling it. The cask will never get updated, as well as the app.
from homebrew-cask-upgrade.
Homebrew/homebrew-cask#25214
You need to brew upgrade
from homebrew-cask-upgrade.
brew upgrade
fixed it for now. But, Homebrew/brew#1241 looks like a temporary fix, as per the comment.
from homebrew-cask-upgrade.
culprit in my case: messenger-for-desktop
which is an old facebook messenger app. Facebook hate ++.
from homebrew-cask-upgrade.
This should no longer be an issue, I believe.
from homebrew-cask-upgrade.
@adidalal It would be nice if you could provide more info indicating that the issue is resolved with a proper fix permanently.
from homebrew-cask-upgrade.
We removed that stanza from all Casks, so the error shouldn't pop up.
The above PR will be reverted at some point (soon), but it should (correctly) not throw up any errors.
from homebrew-cask-upgrade.
Closing this issue.
from homebrew-cask-upgrade.
Sorry to revive an old issue but I run this alias daily
alias brewski='brew update && brew upgrade && brew cleanup && brew cask cleanup; brew doctor'
I noticed this morning that I started getting the following errors on brew upgrade
Warning: Calling "cask :v1 => 'token'" is deprecated!
Use "cask 'token'" instead.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:11:in 'load'
Warning: Calling Hbc::DSL#license is deprecated!
There is no replacement.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:20:in 'block in load'
Seeing that I'm running brew upgrade
each and every time, I'm not sure why I'm getting this message. Any thoughts would be appreciated. FYI: I'm on OSX 10.12.6, fully patched and up to date.
from homebrew-cask-upgrade.
@EmilVarona Please follow the guide at https://github.com/caskroom/homebrew-cask#reporting-bugs
from homebrew-cask-upgrade.
@adidalal Thank you. I posted a new issue, #37489.
from homebrew-cask-upgrade.
I just ran the audit loop from @docgyneco69 - in my system's case this error was triggered by emacs-mac. Some serious strangeness "cured" by uninstalling it.
from homebrew-cask-upgrade.
Thanks for the bash loop @docgyneco69 for me it was java7. Once I removed that it the message went away.
from homebrew-cask-upgrade.
I saw this on an app called sitesucker as well.
from homebrew-cask-upgrade.
yep google-drive
is the culprit. its been changed to google-backup-and-sync
from homebrew-cask-upgrade.
robomongo
is the problem in my case.
from homebrew-cask-upgrade.
Three casks are giving me this error: handbrake
, omnigraffle
, and ripit
. Uninstall and re-install doesn't help.
from homebrew-cask-upgrade.
Getting the error on Tomahawk.
from homebrew-cask-upgrade.
@ondrejfuhrer Ok, thanks for the information and the good work on Cask! Yeah, hadn't used that app for a year, and was thinking to myself, meeeeh, could delete that cask.
from homebrew-cask-upgrade.
Related Issues (20)
- Seems unnecessary in favor of `brew upgrade --greedy` anymore? HOT 1
- Trying to pin VirtualBox<7 HOT 4
- The tool is suggesting outdated version as upgradable HOT 5
- homebrew/bundle not included , how to install ? HOT 3
- Undefinded method for nil:NilClass HOT 18
- [FR] Upate formules HOT 5
- Cask with same name as formula leads to formula being upgraded/installed instead of cask HOT 1
- brew doctor reports error for homebrew-cask-upgrade HOT 2
- Error: Failure while executing; `/usr/bin/sudo -E -- /bin/cp -pR HOT 6
- Error: undefined method `versions' for Cask HOT 1
- make -a as default ? HOT 2
- Issues with brew cu pin commands HOT 7
- How to relink cask packages after accidentally upgrading them outside of Homebrew? HOT 3
- Upgrading cask: It seems there is already an App Suite at ... HOT 1
- `--no-brew-update` overrides `--all` HOT 5
- Outdated pinned color HOT 1
- Asks password multiple times in succession to upgrade each cask HOT 1
- Error: Cask 'omnigraffle' is unreadable: uninitialized constant Livecheck::Formula HOT 1
- Error: undefined method `downcase' for nil:NilClass HOT 3
- Allowing * Glob as a Placeholder in Search HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask-upgrade.