Difference between revisions of "Switching Branches"
Views
Actions
Namespaces
Variants
Tools
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 - | sudo pacman-mirrors -f0 -b ''<branch>'' && sudo pacman -Syyu | ||
* '''pacman-mirrors - | * '''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. |