Closed ppo closed 4 years ago
Please use search before submitting issues, it was reported many times already.
The problem is that cu
uses rewrite of app instead on brew cask reinstall
Sorry but #57 don't seem to be the same problem at all. And what keywords could I have used to find these many previous issues?
Sorry for being aggressive. But these problems has a common root: cu
uses own approach for upgrade instead of standard brew cask reinstall
.
I understand :wink: You're deeply in it and I know nothing at all about how it works, I'm just stupidly executing the command. As a user, I don't care about the underlying "why", I just notice "it doesn't work". I reported it to help. Do whatever you want/need with it.
And thank you very much for your work on this project, it's very useful.
@yurikoles @ppo As I can actually reproduce that with Skype, I might revisit that issue and see if I can make that work. So stay tuned 🙂
cu
uses own approach for upgrade instead of standardbrew cask reinstall
.
The standard isn’t brew cask reinstall
, it’s brew cask upgrade
.
cu
uses own approach for upgrade instead of standardbrew cask reinstall
.The standard isn’t
brew cask reinstall
, it’sbrew cask upgrade
.
@vitorgalvao
Is there finally a way to brew cask upgrade
casks with auto_updates
, while also not upgrading latest
as in --greedy
?
For me upgrading casks with version latest
makes no sense, because it seems to not checking the actual artifact update, it always reinstall same cached artifact, which makes no sense.
Is there finally a way to
brew cask upgrade
casks withauto_updates
, while also not upgradinglatest
as in--greedy
?
What do you mean, “finally”? That’s not a feature we’re pursuing now, and never were. That’s like asking if we can finally make toast. You wanting a feature doesn’t make it desirable for the project, nor is that question related to the conversation (so I don’t get the quoting).
For me upgrading casks with version latest makes no sense, because it seems to not checking the actual artifact update, it always reinstall same cached artifact, which makes no sense.
No, it doesn’t always reinstall the same cached artifact, it gets whatever is latest at the time. Sometimes that’s the same, yes, that’s a consequence of developers giving unversioned URLs and no appcasts. Regarding upgrading latest
, we had to pick one or the other and we picked what made more sense to us. You disagreeing about that behaviour doesn’t make it wrong for most people. Nor is it a big inconvenience, seeing as we’re reducing those casks to versioned all the time.
I believe this issue should be also fixed by this: https://github.com/buo/homebrew-cask-upgrade/pull/172
I'll close this issue for now, let me know if you encounter this issue again (or maybe better, create new issue and link it with this one 😉 )
Have a great day!
It seems the App source '/usr/local/Caskroom/spotify/latest/Spotify.dmg' is not there.
Command:
brew cu --yes --all --force
Weird thing, when I execute the same command a second time right after, it works. And fails again when executed a third time. And works again the fourth time… I think there's a pattern here :wink:
Odd executions output:
Even executions output:
See also: issue in
homebrew-cask