Difference between revisions of "Switching Branches"

imported>Fhdk
imported>Fhdk
Line 35: Line 35:
== Permanent Method ==
== Permanent Method ==
You should substitute the <font color="green">value colored in green</font> (for illustrative purposes only) to one of the following: ''stable'', ''testing'', ''unstable''.
You should substitute the <font color="green">value colored in green</font> (for illustrative purposes only) to one of the following: ''stable'', ''testing'', ''unstable''.
  sudo pacman-mirrors -aB <font color="green">$branch</font>
  sudo pacman-mirrors --api --set-branch <font color="green">{branch}</font>


After you changed the branch, rebuild the mirrorlist and update your packages:
After you changed the branch, rebuild the mirrorlist and update your packages:
  sudo pacman-mirrors -f5 && sudo pacman -Syyu
  sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu


== Questions ==
== Questions ==
Anonymous user