I recently noticed that my Arch Linux desktop system will not update/upgrade to the latest version. I thought there wasn't any new updates yet. I visited Arch Linux website and noticed that there are plenty of updates are already available. But, whenever I try to update my Arch Linux system, I keep getting the following message every time.
$ sudo pacman -Syu
Here is what I got after running this command:
:: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date archlinuxfr is up to date :: Starting full system upgrade... there is nothing to do
I keep getting this same message for the past one week. I have no idea why this is happening. Finally, I find a solution, and I thought sharing it here would be helpful for someone.
Solve "Starting full system upgrade... there is nothing to do" Issue In Arch Linux
The main reason for this issue is that the mirrorlists are outdated. If you get the same issue, your mirrorlist might be outdated too. There are couple ways to update your mirrorlist in Arch Linux and its derivatives. You can find the most up-to-date mirrorlist by using Pacman Mirrorlist Generator. It is an online mirrorlist generator that can be used to generate the most up-to-date mirrorlist possible for Arch Linux. Once you find the mirrorlist, you can manually replace the outdated mirrorlist with newly created one. If you don't like the manual way, there is utility named Reflector, which is used to find most-up-to-date mirrorlist for your Arch Linux, and automatically update the mirrorlist. To install Reflector on Arch Linux and its derivatives, run:
$ sudo pacman -S reflector rsync curl
Backup your existing mirrorlist using command:
$ sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
Then, update the mirrorlist using command:
$ sudo reflector --verbose -l 50 -p http --sort rate --save /etc/pacman.d/mirrorlist
The above command will filter 50 most recently synchronized HTTP servers sorted by download rate, and update the mirrorlist automatically. For more details about Reflector, refer our previous guide in the following link.
Once you updated the mirrorlist, try to update your Arch Linux system using command:
$ sudo pacman -Syu
$ sudo pacman -Syyu
Now, everything should work just fine.
- How To Restore Broken Arch Linux To Previous Working State
- How To Fix “unable to lock database” Error In Arch Linux
- How To Fix “invalid or corrupted package (PGP signature)” Error In Arch Linux
- How To Solve “error: failed to commit transaction (conflicting files)” In Arch Linux
- How To Fix “pacman: error while loading shared libraries” Error In Arch Linux