Felipe's Blog

Your go-to source for Linux/Unix-like – tech – engineering.

Archive for the ‘Upgrade’ tag

Fix issue ‘Initiate a full system upgrade. Nothing to do’ on Arch Linux.

without comments

I have experienced recently this, unable to update the whole system:

:: 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

The main reason for this issue is that the duplicate list is outdated. If you encounter the same problem, your duplicate list may also be outdated.

It’s an online replica list generator that can be employed to generate the latest replica list for Arch Linux.

Once you locate the replica list, you can manually replace the outdated replica list with the newly created one. If you prefer an automated approach, you can use a utility called reflector. It is used to find the latest replica list for your Arch Linux and automatically update the replica list

To fix it? Simple:

sudo pacman -S reflector rsync curl

Use the following commands to back up your existing mirrorlist and update the mirror list:

# Back up the existing mirrorlist 
$ sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak 
# Update the mirrorlist using reflector command 
$ sudo reflector --verbose -l 50 -p http --sort rate --save /etc/pacman.d/mirrorlist

The above command filters the 50 most recently synchronized HTTP servers, sorts them by download speed, and automatically updates the mirrorlist. For more detailed information about Reflector, refer to our previously attached guide.

After updating the mirrorlist, try updating your Arch Linux system using either of the following commands:

# Update the system 
$ sudo pacman -Syu

or

# Force update the system 
$ sudo pacman -Syyu

Written by Felipe

October 3rd, 2023 at 4:46 am

Posted in Arch,Linux

Tagged with , ,

Apply a system update on Arch Linux

without comments

To initiate an update of all installed packages, open any terminal application and pass the following command:

sudo pacman -Syu

You will be prompted for your password before the command can continue. This command checks for updates. If there are any, it will list the packages, along with their new version numbers.

log in to “sudo pacman -Syu” in a terminal

You will then be asked to confirm that you want to apply a full update. Boy y and press Enter to confirm, or use n cancel.

Type y and press Enter to confirm the update

If you have packages that you suspect are corrupted, you can force the database download with the update to fix these issues. Even if no updates are available, pacman will check the integrity of currently installed packages. Add a second y to the string to make it happen.

sudo pacman -Syyu

How to update a specific package in Arch

If you want to update only a package use the same command as you have to install it, replacing package_name with your choice.

sudo pacman -S package_nam

Warning: It is not recommended to upgrade to specific packages often ignoring other available updates.
Due to Arch’s current release process, shortcut updates may cause issues.

If you are unsure of a package name, you can search for installed packages with the -Qs flag.

pacman -Qs string

Be sure to replace the string with your term
This will search for both names and package names, so you should easily find what you’re looking for.

Written by Felipe

April 25th, 2023 at 10:47 pm

Posted in Arch,Linux

Tagged with , , , ,