Skip to content
This repository was archived by the owner on Aug 25, 2022. It is now read-only.
This repository was archived by the owner on Aug 25, 2022. It is now read-only.

Brew upgrade leads to confusing hhvm state #137

@bigfootjon

Description

@bigfootjon

It would be nice if hhvm and hhvm-x.x were separate packages instead of aliasing hhvm to the latest version, as this alias breaks when homebrew is upgraded.

For example:

  • brew install hhvm installs hhvm-4.61
  • Wait for hhvm 4.62 to be released
  • brew upgrade
  • hhvm --version indicates that I'm still on 4.61
  • ???

It's especially confusing to try and rectify the situation after a brew upgrade as brew uninstall hhvm complains that I don't have hhvm-4.62 installed which is... correct but not a helpful error message.

My workaround is to brew uninstall hhvm && brew upgrade && brew install hhvm which is annoying and takes more time. If I forget to uninstall before upgrading it's brew uninstall hhvm-4.61 && brew install hhvm. Since HHVM has such a frequent release cadence trying to keep up-to-date with homebrew in this way is a bit tiresome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions