Installation failed - brew repository not found?


(Mechelon) #1

Hello,

I have a really weird error, just tried to install homebrew on my Mac running 10.13.6.
It seems that the installation script doesn’t find the git repo with the brew code.
So I tried git clone https://github.com/Homebrew/brew/ as a test but this again resulted in

Cloning into 'brew'...

remote: Not Found

fatal: repository 'https://github.com/Homebrew/brew/' not found

I tried git clone https://github.com/Homebrew/brew.git as well, which worked.

So what kind of error is this? Am I doing anything wrong?

Thanks in advance.

Whole installation stack:

~ * /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

==> This script will install:

/usr/local/bin/brew

/usr/local/share/doc/homebrew

/usr/local/share/man/man1/brew.1

/usr/local/share/zsh/site-functions/_brew

/usr/local/etc/bash_completion.d/brew

/usr/local/Homebrew

==> The following existing directories will be made group writable:

/usr/local/bin

/usr/local/include

/usr/local/lib

/usr/local/share

/usr/local/share/doc

/usr/local/share/man

/usr/local/share/man/man1

==> The following existing directories will have their owner set to dianascharf :

/usr/local/bin

/usr/local/include

/usr/local/lib

/usr/local/share

/usr/local/share/doc

/usr/local/share/man

/usr/local/share/man/man1

==> The following existing directories will have their group set to admin :

/usr/local/bin

/usr/local/include

/usr/local/lib

/usr/local/share

/usr/local/share/doc

/usr/local/share/man

/usr/local/share/man/man1

==> The following new directories will be created:

/usr/local/etc

/usr/local/sbin

/usr/local/var

/usr/local/opt

/usr/local/share/zsh

/usr/local/share/zsh/site-functions

/usr/local/var/homebrew

/usr/local/var/homebrew/linked

/usr/local/Cellar

/usr/local/Caskroom

/usr/local/Homebrew

/usr/local/Frameworks

Press RETURN to continue or any other key to abort

==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/share/doc /usr/local/share/man /usr/local/share/man/man1

Password:

==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/share/doc /usr/local/share/man /usr/local/share/man/man1

==> /usr/bin/sudo /usr/sbin/chown dianascharf /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/share/doc /usr/local/share/man /usr/local/share/man/man1

==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/share/doc /usr/local/share/man /usr/local/share/man/man1

==> /usr/bin/sudo /bin/mkdir -p /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions

==> /usr/bin/sudo /usr/sbin/chown dianascharf /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

==> /usr/bin/sudo /bin/mkdir -p /Users/dianascharf/Library/Caches/Homebrew

==> /usr/bin/sudo /bin/chmod g+rwx /Users/dianascharf/Library/Caches/Homebrew

==> /usr/bin/sudo /usr/sbin/chown dianascharf /Users/dianascharf/Library/Caches/Homebrew

==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew

==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew

==> /usr/bin/sudo /usr/sbin/chown dianascharf /Library/Caches/Homebrew

==> Downloading and installing Homebrew…

remote: Not Found

fatal: repository ‘https://github.com/Homebrew/brew/’ not found

Failed during: git fetch origin master:refs/remotes/origin/master --tags --force


(Sean Molenaar) #2

Could it be your connection dropping during the install? What happens when you run curl https://github.com?


(Mechelon) #3

Connection seems to be ok, the curl command returns the nice gigantic HTML of Github. :smiley:


(Mechelon) #4

Apparently it was a problem with my machine, after I reset it (yes i was a bit desperate) everything worked perfectly.

Nevertheless thanks!