Homebrew-core: `brew update` stopped updating formulas

Created on 15 Aug 2016  路  2Comments  路  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:

brew update is hasn't been updating the brew formulas. The latest formula commit I have is several days old.

^_^ echosa@Saffron:~ $ brew doctor
Your system is ready to brew.

^_^ echosa@Saffron:~ $ brew update
Already up-to-date.

^_^ echosa@Saffron:~ $ cd /usr/local/Library/Formula

^_^ echosa@Saffron:/usr/local/Library/Formula (master) $ git status
On branch master
Your branch is behind 'origin/master' by 228 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
nothing to commit, working tree clean

^_^ echosa@Saffron:/usr/local/Library/Formula (master) $ git log -n 1
commit a05941384bcd8e4ef846237aba79d14dc47d757f
Author: Dominyk Tiller <[email protected]>
Date:   Wed Aug 10 20:31:58 2016 +0100

    wireshark: deprecate qt option

    Requested by upstream & very much desired by the Homebrew maintainers as well.

    Closes https://github.com/Homebrew/homebrew-core/pull/3647.

Most helpful comment

We had a nasty bug in the update code last week; people who had the bad luck to update before it was patched had this happen to them. The fix is to manually update:

cd $(brew --prefix) && git fetch origin && git reset --hard origin/master

Sorry for the inconvenience!

All 2 comments

We had a nasty bug in the update code last week; people who had the bad luck to update before it was patched had this happen to them. The fix is to manually update:

cd $(brew --prefix) && git fetch origin && git reset --hard origin/master

Sorry for the inconvenience!

Thanks, @dunn! Worked like a charm. :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dredmorbius picture dredmorbius  路  3Comments

faraazkhan picture faraazkhan  路  3Comments

jyutzler picture jyutzler  路  4Comments

ghostbar picture ghostbar  路  4Comments

bantl23 picture bantl23  路  3Comments