Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install package - update fails #6

Open
platech opened this issue Jul 31, 2019 · 6 comments

Comments

@platech
Copy link

commented Jul 31, 2019

I'm trying to add this step to my Bitrise workflow, but before even install is started the script fails.

Logs:

+------------------------------------------------------------------------------+

| (3) Install Lokalise CLI from Brew                                           |
+------------------------------------------------------------------------------+
| id: brew-install                                                             |
| version: 0.9.0                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2019-07-31T10:56:30Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Configs:
- Packages: lokalise/brew/lokalise
- Options: 
- Upgrade: no
$ brew update
Can't update brew: exec: "brew": executable file not found in $PATH
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | Install Lokalise CLI from Brew (exit code: 1)                 | 3.19 sec |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-steplib/steps-brew-install/issues  |
| Source: https://github.com/bitrise-steplib/steps-brew-install                |
+---+---------------------------------------------------------------+----------+

Do I need to install brew itself beforehand?

@ahvth-bitrise

This comment has been minimized.

Copy link

commented Jul 31, 2019

Hi @platech! 👋 What stack are you doing this on?

@platech

This comment has been minimized.

Copy link
Author

commented Jul 31, 2019

Hi @ahvth-bitrise , I'm using - Android & Docker, on Ubuntu 16.04

@Albert-Wang-Hipmunk

This comment has been minimized.

Copy link

commented Aug 15, 2019

Hi, I'm facing the same issue too.

+------------------------------------------------------------------------------+

| (0) brew-install@0.9.0 |
+------------------------------------------------------------------------------+
| id: brew-install |
| version: 0.9.0 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2019-08-15T20:26:15Z |
+------------------------------------------------------------------------------+
| |
Configs:

  • Packages: cloc
  • Options:
  • Upgrade: yes
    $ brew update
    Can't update brew: exec: "brew": executable file not found in $PATH
    | |
    +---+---------------------------------------------------------------+----------+
    | x | brew-install@0.9.0 (exit code: 1) | 2.11 sec |
    +---+---------------------------------------------------------------+----------+
    | Issue tracker: https://github.com/bitrise-steplib/steps-brew-install/issues |
    | Source: https://github.com/bitrise-steplib/steps-brew-install |
    +---+---------------------------------------------------------------+----------+

I'm also using Android & Docker, on Ubuntu 16.04

@bitce

This comment has been minimized.

Copy link

commented Aug 16, 2019

Hi @platech and @Albert-Wang-Hipmunk this is all expected, brew will only be working for our macOS based machines.

@Albert-Wang-Hipmunk

This comment has been minimized.

Copy link

commented Aug 19, 2019

hi @bitce , is there any way we can install brew on the Ubuntu machine?

@ahvth-bitrise

This comment has been minimized.

Copy link

commented Aug 21, 2019

Hey @Albert-Wang-Hipmunk, you should be able to install brew on Linux using the standard procedure: https://docs.brew.sh/Homebrew-on-Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.