Pacman

From Bitnami MediaWiki
Jump to navigation Jump to search

05 Jan 2024

Using the `reflector` package to update the 5 fastest mirrors. Back up your `mirrorlist` file first.

reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist 

There are some more examples here.


23 Sep 2021

I used the following commands to resolve the gnupg errors:

sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig"
sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
sudo pacman -Syy gnupg archlinux-keyring   #### manjaro-keyring --ignore manjaro-system
sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
sudo pacman -Syu