Topgrade

De Reliable Brain
Révision datée du 16 mars 2024 à 08:44 par Bertrand (discussion | contributions) (→‎Installation sous MacOS)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Topgrade est une commande créée dans le langage RUST de la fondation Mozilla, qui permet d'effectuer toutes les mises à jour d'une machine :

  • Système
  • Firmware
  • SNAP

Sourc : https://github.com/r-darwish/topgrade

Installation sous Linux

sudo apt install cargo
cargo install topgrade
export PATH="/home/portalis/.cargo/bin:$PATH"
topgrade

Installation sous MacOS

IL faut d'abord installer

  1. REDIRECTION Homebrew
brew install topgrade

FAQ

Erreur

Le message suivant apparait :

fatal: It seems that there is already a rebase-apply 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-apply"
and run me again.  I am stopping in case you still have something valuable there.

Solution

Entrer la commande suivante pour réinitialiser les branches GIT

brew update-reset