Difference between revisions of "Pacman"

From Bitnami MediaWiki
Jump to navigation Jump to search
(Created page with "9/23/2021 I used the following commands to resolve the gnupg errors: <code> sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig" sudo sed -i 's/SigLevel.*/SigLevel = Never/'...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
9/23/2021
+
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 [https://man.archlinux.org/man/reflector.1#EXAMPLES here].
 +
 
 +
 
 +
23 Sep 2021
  
 
I used the following commands to resolve the gnupg errors:
 
I used the following commands to resolve the gnupg errors:
−
<code>
+
sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig"
−
sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig"
+
sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
−
sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
+
sudo pacman -Syy gnupg archlinux-keyring   #### manjaro-keyring --ignore manjaro-system
−
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring --ignore manjaro-system
+
sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
−
sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
+
sudo pacman -Syu
−
sudo pacman -Syu
 
−
</code>
 

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