question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.49.0 brew issue

See original GitHub issue

While upgrading 0.48.0 to 0.49.0, an error in the URL gives a 404, which forces brew to build from source:

==> Upgrading 1 outdated package:
aws/tap/aws-sam-cli 0.48.0 -> 0.49.0
==> Upgrading aws/tap/aws-sam-cli 0.48.0 -> 0.49.0
==> Downloading https://github.com/awslabs/aws-sam-cli/releases/download/v0.48.0//aws-sam-cli-0.49.0.sierra.bottle.tar.gz
#=#=#
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "aws-sam-cli"
Download failed: https://github.com/awslabs/aws-sam-cli/releases/download/v0.48.0//aws-sam-cli-0.49.0.sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://api.github.com/repos/awslabs/aws-sam-cli/tarball/v0.49.0
==> Downloading from https://codeload.github.com/awslabs/aws-sam-cli/legacy.tar.gz/v0.49.0
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/11/74/2c151a13ef41ab9fb43b3c4ff9e788e0496ed7923b2078d42cab30622bdf/virtualenv-16.7.4.tar.gz
######################################################################## 100.0%
==> python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/aws-sam-cli--homebrew-virtualenv-20200514-57734-1ap59xn/target --install-scripts=/private/tmp/aws-sam-cli--homebrew-virtualenv-20200514-57734-1ap59xn/target
==> python3 -s /private/tmp/aws-sam-cli--homebrew-virtualenv-20200514-57734-1ap59xn/target/bin/virtualenv -p python3 /usr/local/Cellar/aws-sam-cli/0.49.0/libexec
==> /usr/local/Cellar/aws-sam-cli/0.49.0/libexec/bin/pip install pip==19.2.3
==> /usr/local/Cellar/aws-sam-cli/0.49.0/libexec/bin/pip install -v --ignore-installed /private/tmp/aws-sam-cli-20200514-57734-zvwuv8/awslabs-aws-sam-cli-2f46818
==> /usr/local/Cellar/aws-sam-cli/0.49.0/libexec/bin/pip uninstall -y aws-sam-cli
==> /usr/local/Cellar/aws-sam-cli/0.49.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/aws-sam-cli-20200514-57734-zvwuv8/awslabs-aws-sam-cli-2f46818
🍺  /usr/local/Cellar/aws-sam-cli/0.49.0: 6,223 files, 81.1MB, built in 1 minute 39 seconds
Removing: /usr/local/Cellar/aws-sam-cli/0.48.0... (4,719 files, 70MB)
Removing: /Users/mark/Library/Caches/Homebrew/aws-sam-cli--0.48.0.sierra.bottle.tar.gz... (11.6MB)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
dlaudamscommented, May 15, 2020

The version in the path (v0.48.0) does not match the version in the filename (v0.49.0):

==> Downloading https://github.com/awslabs/aws-sam-cli/releases/download/v0.48.0//aws-sam-cli-0.49.0.sierra.bottle.tar.gz
3reactions
svenzoncommented, Sep 24, 2020

I’m currently trying to install aws-sam-cli, but I keep this error. This is on MacOS Catalina.

❯ brew install aws-sam-cli
==> Installing aws-sam-cli from aws/tap
==> Downloading https://homebrew.bintray.com/bottles/python%403.7-3.7.9.catalina.bottle.tar.gz
Already downloaded: /Users/anderssvensson/Library/Caches/Homebrew/downloads/fa2b5c403c691e0df2ff7150396f5906c6a82e74b21b68784523b7164452ace7--python@3.7-3.7.9.catalina.bottle.tar.gz
==> Downloading https://github.com/aws/aws-sam-cli/releases/download/v1.3.1//aws-sam-cli-1.3.1.sierra.bottle.tar.gz
##O#- #                                                                       
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "aws-sam-cli"
Download failed: https://github.com/aws/aws-sam-cli/releases/download/v1.3.1//aws-sam-cli-1.3.1.sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://homebrew.bintray.com/bottles/python%403.7-3.7.9.catalina.bottle.tar.gz
Already downloaded: /Users/anderssvensson/Library/Caches/Homebrew/downloads/fa2b5c403c691e0df2ff7150396f5906c6a82e74b21b68784523b7164452ace7--python@3.7-3.7.9.catalina.bottle.tar.gz
==> Downloading https://files.pythonhosted.org/packages/11/74/2c151a13ef41ab9fb43b3c4ff9e788e0496ed7923b2078d42cab30622bdf/virtualenv-16.7.4.tar.gz
Already downloaded: /Users/anderssvensson/Library/Caches/Homebrew/downloads/507d2087bf24df82641b681a5fe4da778ef50ebe819a86ea1b584f70788f0f63--virtualenv-16.7.4.tar.gz
==> Downloading https://api.github.com/repos/aws/aws-sam-cli/tarball/v1.3.1
==> Downloading from https://codeload.github.com/aws/aws-sam-cli/legacy.tar.gz/v1.3.1
##O#- #                                                                       
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "aws-sam-cli"
Download failed: https://api.github.com/repos/aws/aws-sam-cli/tarball/v1.3.1
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install a specific version of swiftlint? - Stack Overflow
Go to /usr/local/Cellar/swiftlint you will see all installed switflint version. Copy swiftlint version folder from other Mac then paste into ...
Read more >
Common Issues - Homebrew Documentation
This is a list of commonly encountered problems, known issues, and their solutions. Running brew. brew complains about absence of “Command Line Tools”....
Read more >
SwiftLint - Realm Open Source
Integrate SwiftLint into your Xcode project to get warnings and errors displayed in the issue navigator. To do this select the project in...
Read more >
Fix Homebrew (Brew) on macOS 11 Big Sur
If you encounter issues with brew on macOS 11 Big Sur, than it has a high chance of being a similar issue that...
Read more >
Why does my brew installation not work? - Ask Different
I had the same problem—installed brew, used it, but now it doens't work, ie, brew command not recognized anymore.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found