Closed syntholly closed 4 years ago
Hello @vSanjo, thank you for your extensive report.
I was able to reproduce the problem and proposed a fix to our process. Unfortunately that is not fixing the installation of the cask itself (that is not our responsibility here), so I would recommend raising that issues as well in the Homebrew Cask project, maybe someone will be able to help there.
But at least after the fix is merged the cask should stay in the "installed" state and should not disappear any more.
@vSanjo I just merged the change so you can test it. Feel free to reopen the issue if that doesn't work for you 🙂
Thanks for you help, @ondrejfuhrer!
With the new version, is there a particular process to follow or will it homebrew-cask-upgrade
update itself?
Hey @vSanjo , should be automatic, if you run brew update
(which should be run automatically) you can see in the output something like this:
Updated 3 taps (homebrew/core, homebrew/cask and buo/homebrew-cask-upgrade)
Which indicates that it was updated to the latest version.
Issue
When using
brew cu -fa
on a list of ~30 applications, one or two tend to have permission problems.dropbox
is a consistent culprit.Setup
I'm using
zsh
(withoh-my-zsh
) and don't have a particularly complicated$PATH
. I don't mess with the permissions for the foldersbrew
dances with either. Other than that, I'm using iTerm2 and running Mojave with the latestzsh
,brew
andhomebrew-cask-upgrade
.Log
After that failure,
brew cu
won't list the application andbrew cask list
won't show the application anymore either. The application is sometimes still 'installed' but other times it has not been - I haven't looked at the actual/Applications/**/*
files but Spotlight won't find some after the error.I am not using a
sudo
or similar, I'm just on the only account. I thought it might be an issue only on my work machine but it's happening on a fresh-install personal machine too.Happy to chase any details up.
Workaround Fix
I'm currently just taking screenshots and a mental note of how many applications were installed before. I'll then just do a reinstall
brew cask install dropbox --force
for example.