Homebrew-core: [email protected] repeatedly tries to upgrade, even though nothing has changed

Created on 22 Sep 2016  路  18Comments  路  Source: Homebrew/homebrew-core

Please follow the general troubleshooting steps first:

  • [x] Ran brew update and retried your prior step?
  • [x] Ran brew doctor, fixed as many issues as possible and retried your prior step?

    Bug reports:

No matter how many times I run brew upgrade, it tries to upgrade [email protected]:

~ $ brew upgrade
==> Upgrading 1 outdated package, with result:
[email protected] 1.1.0a
==> Upgrading [email protected]
==> Downloading https://homebrew.bintray.com/bottles/[email protected]
Already downloaded: /Users/alex_gaynor/Library/Caches/Homebrew/[email protected]
==> Pouring [email protected]
==> Using the sandbox
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/[email protected]/certs

and run
  /usr/local/opt/[email protected]/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/[email protected]/lib
    CPPFLAGS: -I/usr/local/opt/[email protected]/include
    PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig

==> Summary
馃嵑  /usr/local/Cellar/[email protected]/1.1.0a: 6,222 files, 15.3M
~ $ brew upgrade
==> Upgrading 1 outdated package, with result:
[email protected] 1.1.0a
==> Upgrading [email protected]
==> Downloading https://homebrew.bintray.com/bottles/[email protected]
Already downloaded: /Users/alex_gaynor/Library/Caches/Homebrew/[email protected]
==> Pouring [email protected]
==> Using the sandbox
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/[email protected]/certs

and run
  /usr/local/opt/[email protected]/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/[email protected]/lib
    CPPFLAGS: -I/usr/local/opt/[email protected]/include
    PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig

==> Summary
馃嵑  /usr/local/Cellar/[email protected]/1.1.0a: 6,222 files, 15.3M
~ $ brew upgrade
==> Upgrading 1 outdated package, with result:
[email protected] 1.1.0a
==> Upgrading [email protected]
==> Downloading https://homebrew.bintray.com/bottles/[email protected]
Already downloaded: /Users/alex_gaynor/Library/Caches/Homebrew/[email protected]
==> Pouring [email protected]
==> Using the sandbox
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/[email protected]/certs

and run
  /usr/local/opt/[email protected]/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/[email protected]/lib
    CPPFLAGS: -I/usr/local/opt/[email protected]/include
    PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig

==> Summary
馃嵑  /usr/local/Cellar/[email protected]/1.1.0a: 6,222 files, 15.3M
~ $
bug

All 18 comments

Oh, I can reproduce this one. What on earth.

Looks suspiciously like it doesn't record the version_scheme in the formula's Tab for the @-style formulae, which would cause a situation exactly like this one. Looking into it.

This broke on https://github.com/Homebrew/brew/commit/41e25209f7486676f633ae05d7fc61e05af07b90, apparently. At least it's a new issue & not something we introduced with @ formula from the start, that's some small mercy.

This seems to be a bottle problem, perhaps, somehow. If I remove my preexisting [email protected] installation and then do brew install [email protected] -s I can no longer reproduce the problem. It's only there if you pour the bottle.

@alex please try again now.

@ilovezfs I just did a brew update, and I can continue to reproduce this bug.

@Lukasa did you first do an explicit brew uninstall?

@ilovezfs Yup. Here's my most recent shell log where I did it again:

cory@heimdall:urllib3/ % brew uninstall [email protected]
Uninstalling /usr/local/Cellar/[email protected]/1.1.0a... (6,222 files, 15.3M)
[email protected] 1.1.0 is still installed.
Remove all versions with `brew uninstall --force [email protected]`.
cory@heimdall:urllib3/ % brew uninstall [email protected]
Uninstalling /usr/local/Cellar/[email protected]/1.1.0... (6,216 files, 15.3M)
cory@heimdall:urllib3/ % brew update
brew install [email protected] 1 tap (caskroom/cask).
No changes to formulae.
cory@heimdall:urllib3/ % brew install [email protected]
==> Downloading https://homebrew.bintray.com/bottles/[email protected]
Already downloaded: /Users/cory/Library/Caches/Homebrew/[email protected]
==> Pouring [email protected]
==> Using the sandbox
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
Certificate will not expire
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/[email protected]/certs

and run
  /usr/local/opt/[email protected]/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/[email protected]/lib
    CPPFLAGS: -I/usr/local/opt/[email protected]/include
    PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig

==> Summary
馃嵑  /usr/local/Cellar/[email protected]/1.1.0a: 6,222 files, 15.3M
cory@heimdall:urllib3/ % brew outdated
[email protected] (1.1.0a) < 1.1.0a

Note that OpenSSL is still listed as outdated, and I can brew upgrade [email protected] without limitation.

sorry, missed that you were on 1.1. regular had same issue. let's rebuild these too ...

It seems to explicitly require a from-source build locally where [email protected] isn't already installed to get rid of the erroneous version_scheme is 0 & 1 at the same time issue. Not sure quite what that's about yet.

@alex @Lukasa Can someone confirm my local steps work?

brew rm [email protected] && brew install [email protected] -s

And then check brew outdated doesn't complain about [email protected] any more?

Yup, that works on my machine.

Cool. We think we've managed to narrow this down to human error in fresh bottles not being pulled after the version_scheme was bumped yesterday, which would cause this. So much for the 4 hours I spent poking around Homebrew's core code last night trying to find a breakage point 馃槅.

Should be fixed from bottle once https://github.com/Homebrew/homebrew-core/pull/5149 is merged (with bottles this time 馃檲).

Heh, whoops!

Affected users: come at me 馃槗

We've had maintainers break the entirety of Homebrew for thousands & thousands of users... You're practically a saint @zmwangx 馃槈. Better human error than some fundamental flaw in Homebrew's code.

You're practically a saint

Pretty sure I'm not 馃槈

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BluePawDev picture BluePawDev  路  3Comments

yuna9 picture yuna9  路  4Comments

Steffen911 picture Steffen911  路  3Comments

gregvirgin picture gregvirgin  路  3Comments

kiendang picture kiendang  路  3Comments