15-09-2021

This commit is contained in:
2021-09-15 11:43:35 +02:00
parent bb890cba15
commit 6c514dbbef
28 changed files with 1960 additions and 770 deletions

View File

@@ -1,4 +1,4 @@
# Homebrew-Cask
# Homebrew-Cask

View File

@@ -887,7 +887,7 @@ Ajouter `PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH"` et `PATH="/usr/lo
### Erreurs:
**`require': cannot load such file -- active_support/core_ext/object/blank (LoadError)**
#### 1. `require': cannot load such file -- active_support/core_ext/object/blank (LoadError)
```bash
# Erreur sur chaque commande brew...
@@ -903,7 +903,7 @@ Traceback (most recent call last):
```
Lancer **brew update-reset** pour réparer:
<u>Solution:</u> Lancer **brew update-reset** pour réparer:
```bash
% brew update-reset
@@ -932,6 +932,105 @@ Your branch is up to date with 'origin/master'.
#### 2. Some taps are not on the default git origin branch
`brew doctor` dit:
```bash
Warning: Some taps are not on the default git origin branch and may not receive
updates. If this is a surprise to you, check out the default branch with:
git -C $(brew --repo shivammathur/extensions) checkout master
```
Lancer `git -C $(brew --repo shivammathur/extensions) checkout master`:
```bash
git -C $(brew --repo shivammathur/extensions) checkout master
.github/scripts/edit.sh: needs merge
.github/workflows/tests-all.yml: needs merge
Formula/vips@7.0.rb: needs merge
Formula/vips@7.1.rb: needs merge
Formula/vips@7.2.rb: needs merge
Formula/vips@7.3.rb: needs merge
Formula/vips@7.4.rb: needs merge
Formula/vips@8.0.rb: needs merge
Formula/vips@8.1.rb: needs merge
error: vous devez d'abord résoudre votre index courant
```
<u>Solution:</u>
If you want to keep the changes you made to those formula there is nothing you need to do. `brew doctor` only provides information and if you don't have problems you don't need to change anything.
If you want to discard the changes, the easiest way would be:
```bash
git -C $(brew --repo shivammathur/extensions) add .
git -C $(brew --repo shivammathur/extensions) reset --hard origin/master
git -C $(brew --repo shivammathur/extensions) checkout master
```
La dernière commande dit:
```bash
HEAD's previous position was on 13d8b20 imap@8.1: update 8.1.0 bottle.
Switching to the 'master' branch
Your branch and 'origin / master' have diverged,
and have 1 and 54 different commits each respectively.
(use "git pull" to merge the remote branch into yours)
```
Pour corriger, lancer:
```bash
git -C $(brew --repo shivammathur/extensions) reset --hard origin/master
```
#### 3. fatal: It seems that there is already a rebase-merge directory
```bash
fatal: It seems that there is already a rebase-merge directory, and
I wonder if you are in the middle of another rebase. If that is the case, please try
git rebase (--continue | --abort | --skip)
If that is not the case, please
rm -fr ".git/rebase-merge"
and run me again. I am stopping in case you still have something valuable there.
```
Pour corriger, lancer:
```bash
brew update-reset
```
### Réinstaller Homebrew
```bash
cd $HOME
brew bundle dump
brew bundle cleanup
# Désinstaller Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
cd $(brew --prefix)
# Supprimer manuellement les restes
cd $HOME
# Réinstaller Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle install
```
### Cask:
### [:fa-link: Homebrew-Cask](brew-cask.md)