Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # Automated
  2.  
  3. Mirrors will be sorted by their current response times and then te mirror list will be exported and saved to the following directory:
  4.  
  5. ```bash
  6. /etc/pacman.d/mirrorlist
  7. ```
  8.  
  9. * Fetch and add each and every mirror to the list:
  10.  
  11. ```bash
  12. sudo pacman-mirrors --fasttrack && sudo pacman -Syyu
  13. ```
  14.  
  15. * Limit the number of mirrors being fetched, add a number after —fasttrack:
  16.  
  17. ```bash
  18. sudo pacman-mirrors --fasttrack 10 && sudo pacman -Syyu
  19. ```
  20.  
  21. * By country:
  22.  
  23. ```bash
  24. sudo pacman-mirrors --country South_Africa && sudo pacman -Syyu
  25. ```
  26.  
  27. # Interactive
  28.  
  29. * Ability to choose mirrors:
  30.  
  31. ```bash
  32. sudo pacman-mirrors --interactive && sudo pacman -Syyu
  33. ```
  34.  
  35. # Mirror Synchronising
  36.  
  37. To apply the new mirror list to your system such that pacman will start using it for next updates, you must synchronize the database:
  38.  
  39. ```bash
  40. sudo pacman -Syyu
  41. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement