imported>Maparillo |
imported>Fhdk |
Line 35: |
Line 35: |
|
| |
|
| == Permanent Method == | | == Permanent Method == |
| To permanently change the selected branch, we must edit the '''pacman-mirrors configuration file''' located at ''/etc/pacman-mirrors.conf''. You can edit it with any text editor of your liking:
| |
| sudo ''<text editor>'' /etc/pacman-mirrors.conf
| |
|
| |
|
| For example, if we were going to use [http://www.nano-editor.org/ nano] to edit the file, we would run the following command:
| | sudo pacman-mirrors -aB <font color="green">branch</font> |
| sudo nano /etc/pacman-mirrors.conf | |
|
| |
|
| | You should substitute the <font color="green">value colored in green</font> (for illustrative purposes only) to one of the following: ''stable'', ''testing'', ''unstable''. |
|
| |
|
| Once you have opened the file with a text editor, look for the following lines:
| | After you changed the branch, rebuild the mirrorlist and update your packages: |
| ## Branch Pacman should use (stable, testing, unstable)
| | sudo pacman-mirrors -f5 && sudo pacman -Syyu |
| Branch = <font color="green">stable</font>
| |
| | |
| You should then change the <font color="green">value colored in green</font> (for illustrative purposes only) to one of the following: ''stable'', ''testing'', ''unstable''.
| |
| | |
| After you changed the value, just save, exit your text editor, rebuild the mirrorlist and update your packages: | |
| sudo pacman-mirrors --geoip && sudo pacman -Syyu | |
|
| |
|
| == Questions == | | == Questions == |