You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is, formula 'brew cask install borgbackup' has 1 conflict with 'brew install borg': they both want to create a /usr/local/bin/borg symlink.
The borgbackup via ssh expects to find a binary named "borg" in the path, and /usr/local/bin/borg is the one and only symlink created by "brew cask install borgbackup".
I propose easy fix: that the borgbackup formula should warn of conflict and suggest "brew uninstall borg" or at least "brew unlink borg".
Seems that any one with the expertise to use the ok-borg/borg should be able to manually create the their own appropriate links.
General troubleshooting steps
I have retried my command with --force and the issue is still present.
[x ] I have checked the instructions for reporting bugs.
None of the templates was appropriate for my issue, or I’m not sure.
I ran brew update-reset && brew update and retried my command.
I ran brew doctor, fixed as many issues as possible and retried my command.
The /usr/local/bin/borg link is used by 2 independent formula: brew install borg and brew cask install borgbackup
Command that failed
brew install borg
Output of command with --force --verbose --debug
bash-3.2$ brew install --force --verbose --debug borg
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/borg.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/go.rb
==> Downloading https://homebrew.bintray.com/bottles/borg-0.0.3.high_sierra.bottle.tar.gz
Already downloaded: /Users/ml266/Library/Caches/Homebrew/borg-0.0.3.high_sierra.bottle.tar.gz
==> Verifying borg-0.0.3.high_sierra.bottle.tar.gz checksum
==> Pouring borg-0.0.3.high_sierra.bottle.tar.gz
tar xzf /Users/ml266/Library/Caches/Homebrew/borg-0.0.3.high_sierra.bottle.tar.gz
==> Finishing up
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/borg
Target /usr/local/bin/borg
already exists. You may want to remove it:
rm '/usr/local/bin/borg'
...
The /usr/local/bin/borg link is used by 2 independent formula: "brew install borg" and "brew cask install borgbackup"
brew info borg
Terminal based search engine for bash commands
https://github.com/ok-borg/borg
That is, formula 'brew cask install borgbackup' has 1 conflict with 'brew install borg': they both want to create a /usr/local/bin/borg symlink.
The borgbackup via ssh expects to find a binary named "borg" in the path, and /usr/local/bin/borg is the one and only symlink created by "brew cask install borgbackup".
I propose easy fix: that the borgbackup formula should warn of conflict and suggest "brew uninstall borg" or at least "brew unlink borg".
Seems that any one with the expertise to use the ok-borg/borg should be able to manually create the their own appropriate links.
General troubleshooting steps
--force
and the issue is still present.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
The /usr/local/bin/borg link is used by 2 independent formula: brew install borg and brew cask install borgbackup
Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap
The text was updated successfully, but these errors were encountered: