Closed faxotherapy closed 6 years ago
I just got the idea to run brew cleanup
:
β
brew cleanup
Warning: Skipping brew-cask-completion: most recent version 2.1_1 not installed
Warning: Skipping ffmpeg: most recent version 4.0.1 not installed
Warning: Skipping harfbuzz: most recent version 1.8.1_1 not installed
Warning: Skipping imagemagick: most recent version 7.0.8-3 not installed
Warning: Skipping libgcrypt: most recent version 1.8.3 not installed
Warning: Skipping lynis: most recent version 2.6.5 not installed
Warning: Skipping node: most recent version 10.5.0_1 not installed
Warning: Skipping parallel: most recent version 20180622 not installed
Warning: Skipping python@2: most recent version 2.7.15_1 not installed
Warning: Skipping rclone: most recent version 1.42 not installed
Warning: Skipping streamlink: most recent version 0.14.0 not installed
Warning: Skipping unbound: most recent version 1.7.3 not installed
I don't understand the warnings. For example, for rclone
package:
β
brew info rclone
rclone: stable 1.42 (bottled), HEAD
Rsync for cloud storage
https://rclone.org/
/usr/local/Cellar/rclone/1.41 (9 files, 38MB) *
Poured from bottle on 2018-05-16 at 13:34:51
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/rclone.rb
==> Dependencies
Build: go β
==> Options
--HEAD
Install HEAD version
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
I don't understand why it would refuse to upgrade rclone
If the message Warning: Skipping
appears after running brew cleanup
, then brew upgrade
one package at at time. For example:
β
brew cleanup
Warning: Skipping harfbuzz: most recent version 1.8.1_1 not installed
Warning: Skipping lynis: most recent version 2.6.5 not installed
β
brew upgrade lynis harfbuzz
==> Upgrading 2 outdated packages, with result:
lynis 2.6.4 -> 2.6.5, harfbuzz 1.8.0 -> 1.8.1_1
==> Upgrading lynis
==> Downloading https://cisofy.com/files/lynis-2.6.5.tar.gz
==> Downloading from https://downloads.cisofy.com/lynis/lynis-2.6.5.tar.gz
######################################################################## 100.0%
πΊ /usr/local/Cellar/lynis/2.6.5: 97 files, 1.3MB, built in 2 seconds
==> Upgrading harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-1.8.1_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-1.8.1_1.el_capitan.bottle.tar.gz
πΊ /usr/local/Cellar/harfbuzz/1.8.1_1: 151 files, 6.1MB
I'm seeing the same thing, its like homebrew doesn't loop over the packages correctly.
You can just keep running brew upgrade
and it will upgrade a single package and upon processing the next candidate it just dies with exit code 1, after printing the name of the next package.
β€· $ brew update && brew upgrade
Already up-to-date.
Error: Not upgrading 2 pinned packages:
postgresql 10.4, postgis 2.4.4_1
==> Upgrading 19 outdated packages, with result:
planck 2.14.0 -> 2.16.0, heroku/brew/heroku 7.0.88 -> 7.5.5, cmake 3.11.3 -> 3.11.4, gdal 2.3.0 -> 2.3.1, python 3.6.5 -> 3.6.5_1, redis 4.0.9 -> 4.0.10, libyaml 0.1.7 -> 0.2.1, maven 3.5.3 -> 3.5.4, shared-mime-info 1.9 -> 1.10, harfbuzz 1.8.0 -> 1.8.1_1, erlang 20.3.7 -> 21.0.1, awscli 1.15.30 -> 1.15.40, ruby-build 20180601 -> 20180618, numpy 1.14.4 -> 1.14.5, libgcrypt 1.8.2 -> 1.8.3, railwaycat/emacsmacport/emacs-mac emacs-26.1-z-mac-7.0 -> emacs-26.1-z-mac-7.1, getsentry/tools/sentry-cli 1.32.2 -> 1.33.0, mysql 5.7.22 -> 8.0.11, heroku/brew/heroku-node 10.4.0 -> 10.5.0
==> Upgrading heroku/brew/heroku-node
β€· $
Oh snap, in this output it didn't even perform the upgrade, it just died with exit code 1. I've lost my earlier terminal output with better examples.
If you see this error (brew upgrade
just stops and doesn't produce any output) and can reproduce: can you run brew upgrade --debug
and paste your output here? @faxotherapy @kennethkalmer it'd be great if you could both do this, thanks! β€οΈ
I've been seeing this for the past few days. brew upgrade --debug
below, with initial (Formulary::TapLoader)
lines removed:
Error: Not upgrading 1 pinned package:
html-xml-utils 7.7
==> Upgrading 3 outdated packages, with result:
perl 5.26.2 -> 5.28.0, python 3.6.5_1 -> 3.7.0, vim 8.1.0100 -> 8.1.0100_2
==> Upgrading perl
/Users/user/homebrew/Library/Homebrew/install.rb:35:in `exit'
/Users/user/homebrew/Library/Homebrew/install.rb:35:in `check_development_tools'
/Users/user/homebrew/Library/Homebrew/formula_installer.rb:224:in `install'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:149:in `upgrade_formula'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:96:in `block in upgrade'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `each'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `upgrade'
/Users/user/homebrew/Library/Homebrew/brew.rb:100:in `<main>'
$ brew --version
Homebrew 1.6.9-51-g61a8c4d
Homebrew/homebrew-core (git revision b314a; last commit 2018-07-01)
Here is mine:
$ brew upgrade
Updated Homebrew from 0d33aba0b to 1e610ae7a.
...
$ brew upgrade --debug
...
==> Upgrading 9 outdated packages, with result:
planck 2.14.0 -> 2.16.0, coreutils 8.29 -> 8.30, heroku/brew/heroku 7.5.5 -> 7.5.7, gdal 2.3.1 -> 2.3.1_1, python 3.6.5_1 -> 3.7.0, awscli 1.15.40 -> 1.15.40_1, numpy 1.14.5 -> 1.14.5_1, railwaycat/emacsmacport/emacs-mac emacs-26.1-z-mac-7.0 -> emacs-26.1-z-mac-7.1, getsentry/tools/sentry-cli 1.32.2 -> 1.33.0
==> Upgrading getsentry/tools/sentry-cli
/usr/local/Homebrew/Library/Homebrew/install.rb:35:in `exit'
/usr/local/Homebrew/Library/Homebrew/install.rb:35:in `check_development_tools'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:224:in `install'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:149:in `upgrade_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:96:in `block in upgrade'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
brew
commands)Homebrew is suddenly no longer able to upgrade packages after it downloads them.
Below is exactly the procedure I followed (brew commands plus outputs):
Then, suddenly stops working. This is all I have after running the command
brew upgrade
I then type again:
Packages still remain outdated.
Using
brew doctor
does not help since I always had the above output whenbrew upgrade
did upgrade packages after their download.