Difference between revisions of "Switching Branches"

m
→‎Temporary Method: Update use of pacman-mirrors
imported>Xinayder
imported>SamwiseFilmore
m (→‎Temporary Method: Update use of pacman-mirrors)
Line 22: Line 22:
Changing the selected branch is fairly simple. We make use of the '''pacman-mirrors''' command to update the selected branch.
Changing the selected branch is fairly simple. We make use of the '''pacman-mirrors''' command to update the selected branch.
Run the following command in a terminal:
Run the following command in a terminal:
  sudo pacman-mirrors -g -b ''<branch>'' && sudo pacman -Syyu
  sudo pacman-mirrors -f0 -b ''<branch>'' && sudo pacman -Syyu


* '''pacman-mirrors -g''' will generate a new mirrorlist, sorting the available servers according to their access time.
* '''pacman-mirrors -f''' will generate a new mirrorlist, sorting the available servers according to their access time.
** '''-b ''<branch>''''' tells ''pacman-mirrors'' to use the specified branch. Valid values are: ''stable'', ''testing'', ''unstable''
** '''-b ''<branch>''''' tells ''pacman-mirrors'' to use the specified branch. Valid values are: ''stable'', ''testing'', ''unstable''
* '''pacman -S''' will synchronize the local package databases with the remote package databases.
* '''pacman -S''' will synchronize the local package databases with the remote package databases.