Closed corneliusroemer closed 9 months ago
However, it's unexpected that upgrades of all packages fail when there's a single conflict.
This is not the case. It will, however, fail on the first upgrade failure. If the one failing here happened to be the last: it would not have failed.
I get that the
upgrade
command is meant to be a transaction, it either works for all or fails.
This is also not the case. It will upgrade as much as possible. There's no rollbacks possible here really (as-is, at least).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
brew upgrade
should upgrade all upgradable packages even if the upgrade of a single package fails.I have currently both (gnu)
parallels
andmoreutils
installed. They conflict, asmoreutils
also installs aparallels
. That's fine, I can still link to the one I want on a case by case basis.However, it's unexpected that upgrades of all packages fail when there's a single conflict. The single conflict shouldn't affect other package upgrades.
What happened (include all command output)?
brew upgrade
of all packages abortsWhat did you expect to happen?
brew upgrade
works for all butparallels
Step-by-step reproduction instructions (by running
brew
commands)Workaround
parallel
I get that the
upgrade
command is meant to be a transaction, it either works for all or fails. But this is not quite clear from the terminal output. When brew errors, it should say that all the upgrades that were printed above have been rolled back.