Difference between revisions of "Pacman"

From Bitnami MediaWiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
Using the `reflector` package to update the 5 fastest mirrors. Back up your `mirrorlist` file first.  
 
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  
 
  reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist  
 +
There are some more examples [https://man.archlinux.org/man/reflector.1#EXAMPLES here].
  
  

Latest revision as of 00:00, 6 January 2024

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