Closed dragonandy closed 3 years ago
I also got this issue! This currently does not allow installation of mas
via homebrew on macOS Sierra
I suspect this is due to the introduction of carthage as a dependency in the formula.
Can you try adding the --force-bottle
option to the install
command? I'm not sure whether it will help but might give a more informative error. If that doesn't work run brew cat mas
and post the output you get. That will let us know which version of the formula brew is using.
Here are some updates
I do a clean reinstall
$ brew tap-unpin mas-cli/tap
==> Unpinned mas-cli/tap
$ brew uninstall mas
Uninstalling /usr/local/Cellar/mas/1.4.3... (39 files, 11.5MB)
$ brew untap mas-cli/tap
Untapping mas-cli/tap...
Untapped 1 formula (35 files, 31.3KB).
After that I do
$ brew tap mas-cli/tap
==> Tapping mas-cli/tap
Cloning into '/usr/local/Homebrew/Library/Taps/mas-cli/homebrew-tap'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Tapped 1 formula (34 files, 30.2KB).
$ brew tap-pin mas-cli/tap
==> Pinned mas-cli/tap
$ brew install mas
Warning: mas is provided by core, but is now shadowed by mas-cli/tap/mas.
To refer to the core formula, use Homebrew/core/mas instead.
==> Installing mas from mas-cli/tap
==> Downloading https://dl.bintray.com/phatblat/mas-bottles/mas-1.4.3.sierra.bot
######################################################################## 100.0%
==> Pouring mas-1.4.3.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/mas/1.4.3: 39 files, 11.5MB
Haven't figure out why It work again
By the way I edit the depends_on statement in the formula manually to install this bottle before I do this uninstallation .
FYI, you can use use the --ignore-dependencies
option so that you don't have to modify the formula.
brew uninstall --ignore-dependencies mas
I got the same error. I ran the following command and it worked.
brew tap mas-cli/tap
brew tap-pin mas-cli/tap
cd /usr/local/Homebrew && git stash pop && git add . && git commit -m 'add mas-cli/tap'
brew install --force-bottle mas
result
$ brew install --force-bottle mas
Warning: mas is provided by core, but is now shadowed by mas-cli/tap/mas.
To refer to the core formula, use Homebrew/core/mas instead.
==> Installing mas from mas-cli/tap
==> Downloading https://dl.bintray.com/phatblat/mas-bottles/mas-1.4.4.sierra.bot
######################################################################## 100.0%
==> Pouring mas-1.4.4.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/mas/1.4.4: 39 files, 11.5MB
Homebrew versions
$ brew config
HOMEBREW_VERSION: 1.8.6-36-gf050e42
ORIGIN: https://github.com/Homebrew/brew
HEAD: f050e42d7d40fd0050e63e263be2aa3eed68ef83
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 85a29855d7cc85fb93371bdc6c9a3af3315be438
Core tap last commit: 62 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 9.0 build 900
Git: 2.20.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_131
macOS: 10.12.6-x86_64
CLT: 9.2.0.0.1.1510905681
Xcode: 9.2
XQuartz: 2.7.11 => /opt/X11
I have a similar problem - trying to upgrade mavericks to sierra, however Apple download centre says I already have sierra installed. Cannot redownload file. Found suggestions to try Homebrew/MAS to help download and install file, however Homebrew/mas tells me that i have to upgrade my operating system first!
I have tried the various combinations listed above but to no avail - any other suggestions (Homebrew v2.1.1, Mavericks 10.9.5, apparently need Xcode 10.1 to install MAS)
The Carthage dependency has been removed in https://github.com/mas-cli/mas/pull/350 for the upcoming mas
release. I suspect that will address this issue.
I cant install mas-cli with the pre built bottle by the instruction
macOS sierra can't satisfy the build requirement
but I prefer to install the prebuilt bottle rather than build it from source