With the base system installed and the network configured, I am ready to update my system.
Ranking the mirrors
But first I’d like to rank my mirrors. The first thing I need to do is to prepare the mirrorlist by removing all mirros that are far away physically from me. The idea is to only have servers in the list that are close to you. If it is closer to you it is probably fairly quick as well (relative to you).
Edit the mirrorlist
nano /etc/pacman.d/mirrorlist
and remove all sites that you don’t need and uncomment all the sites that are left.
Install python (needed to run the script). Note, if a new version of pacman is installed you will probably be prompted to update pacman itself first.
pacman -Sy python
Change directory
cd /etc/pacman.d
Make a copy of the mirrorlist
cp mirrorlist mirrorlist.backup
Run the ranking script (this may take some time)
rankmirrors -n 6 mirrorlist.backup > mirrorlist
Updating the system
Syncronize the package databases
pacman -Syy
Start a full system upgrade
pcaman -Su
Very good! You now have an up-to-date Arch Linux system installed. Now will be a good time to do a reboot.
reboot
Other posts of the serie
- Arch Linux Installation log pt. 1 - Introduction - September 25, 2009
- Arch Linux Installation log pt. 2 - Core system - October 2, 2009
- Arch Linux Installation log pt. 3 - Getting online - October 7, 2009
- Arch Linux Installation log pt. 4 - Updating the system (This post) - October 11, 2009
- Arch Linux Installation log pt. 5 - Add user(s) - October 11, 2009
- Arch Linux Installation log pt. 6 - Configure Network Time Protocol - October 11, 2009
- Arch Linux Installation log pt. 7 - Configure Power Management - October 13, 2009
- Arch Linux Installation log pt. 8 - Configure Sound - October 13, 2009
- Arch Linux Installation log pt. 9 - Installing and configuring X - October 15, 2009
Like




