Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.59k stars 12.33k forks source link

brew install nifi fails for nifi-1.9.1 #38989

Closed RioLynnnnn closed 5 years ago

RioLynnnnn commented 5 years ago

Yes

Yes

brew install nifi

curl: (22) The requested URL returned error: 404 Not Found Trying a mirror... ==> Downloading https://www-eu.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

curl: (22) The requested URL returned error: 404 Not Found Trying a mirror... ==> Downloading https://www-us.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

curl: (22) The requested URL returned error: 404 Not Found Error: An exception occurred within a child process: DownloadError: Failed to download resource "nifi" Download failed: https://www-us.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

- What you expected to happen

> It should install nifi

- Step-by-step reproduction instructions (by running `brew install` commands)

bash-3.2$ brew install nifi ==> Downloading https://www.apache.org/dyn/closer.cgi?path=/nifi/1.9.1/nifi-1.9.1-bin.tar.gz ==> Downloading from https://www-us.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

curl: (22) The requested URL returned error: 404 Not Found Trying a mirror... ==> Downloading https://www-eu.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

curl: (22) The requested URL returned error: 404 Not Found Trying a mirror... ==> Downloading https://www-us.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

curl: (22) The requested URL returned error: 404 Not Found Error: An exception occurred within a child process: DownloadError: Failed to download resource "nifi" Download failed: https://www-us.apache.org/dist/nifi/1.9.1/nifi-1.9.1-bin.tar.gz

SMillerDev commented 5 years ago

What happens when you manually open that url?

RioLynnnnn commented 5 years ago

Did check that, its actually not available anymore.

The requested file or directory is not on the mirrors

Infact 1.9.2 is available. By changing the .rb file to latest one should fix it.

SMillerDev commented 5 years ago

Cool, could you do that? There's a tutorial here if you need help: https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request#submit-a-new-version-of-an-existing-formula

RioLynnnnn commented 5 years ago

Did it using different user, will wait for merge. Thanks for motivating.

SMillerDev commented 5 years ago

You're very welcome. There's so many packages in homebrew, it only works well if everyone who notices that something is outdated actually bumps the version. You just helped everyone else using nifi on macOS.

fxcoudert commented 5 years ago

Fixed by @leenusn in https://github.com/Homebrew/homebrew-core/pull/39027