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

Cannot install brew #106

Open
Etienne-TR opened this issue Dec 21, 2024 · 1 comment
Open

Cannot install brew #106

Etienne-TR opened this issue Dec 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Etienne-TR
Copy link

$ ujust install-brew
Brew Installation
Please IGNORE everything the installer tells you to do at the end
We have already done it for you! You just need to close and re-open the terminal after installation
Do you understand?
Please type in "YES I UNDERSTAND" and press enter
YES I UNDERSTAND
==> Checking for `sudo` access (which may request your password)...
[sudo] Mot de passe de etienne : 
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew

Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /bin/chown -R etienne:etienne /home/linuxbrew/.linuxbrew/Homebrew
==> Downloading and installing Homebrew...
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 3), reused 5 (delta 3), pack-reused 0 (from 0)
Error: Can't create `brew update` lock in /home/linuxbrew/.linuxbrew/var/homebrew/locks!
Fix permissions by running:
  sudo chown -R etienne /home/linuxbrew/.linuxbrew/var/homebrew
Failed during: /home/linuxbrew/.linuxbrew/bin/brew update --force --quiet
error: Recipe `install-brew` failed with exit code 1
@RoyalOughtness
Copy link
Collaborator

strange. did you rebase from a system that already had brew?

and did the permissions command work?

@RoyalOughtness RoyalOughtness added the bug Something isn't working label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants