Skip to content

Instantly share code, notes, and snippets.

@daleharvey
Created April 24, 2019 14:38
Show Gist options
  • Save daleharvey/1656c8ef8004ee50cc0edef432b5c8f7 to your computer and use it in GitHub Desktop.
Save daleharvey/1656c8ef8004ee50cc0edef432b5c8f7 to your computer and use it in GitHub Desktop.
curl: (22) The requested URL returned error: 404 Not Found
Error: Failure while executing; `/usr/bin/curl -q --show-error --user-agent Homebrew/2.1.1\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.3\)\ curl/7.54.0 --fail --progress-bar --location --remote-time --continue-at 0 --output /Users/dale/Library/Caches/Homebrew/Formula/autoconf213.rb https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb` exited with 22. Here's the output:
curl: (22) The requested URL returned error: 404 Not Found
Error running mach:
['bootstrap']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
CalledProcessError: Command '[u'/usr/local/bin/brew', u'install', u'https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb']' returned non-zero exit status 1
File "/Users/dale/src/gecko/python/mozboot/mozboot/mach_commands.py", line 26, in bootstrap
bootstrapper.bootstrap()
File "/Users/dale/src/gecko/python/mozboot/mozboot/bootstrap.py", line 225, in bootstrap
self.instance.install_system_packages()
File "/Users/dale/src/gecko/python/mozboot/mozboot/osx.py", line 188, in install_system_packages
getattr(self, 'ensure_%s_system_packages' % self.package_manager)()
File "/Users/dale/src/gecko/python/mozboot/mozboot/osx.py", line 324, in ensure_homebrew_system_packages
self._ensure_homebrew_packages(packages)
File "/Users/dale/src/gecko/python/mozboot/mozboot/osx.py", line 302, in _ensure_homebrew_packages
subprocess.check_call(cmd + ['install', package])
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment