Learn this code - Exploit - Share

Breaking

Wednesday, March 13, 2019

How to Solved GPG or PGP in Arch or Manjaro

How to Solved GPG or PGP - Hello Lur! Welcome back to my Blog :) Sorry if my english is bad, this is also helped with google translate hahaha. Ok, After a long time I didn't write an article anymore because I was busy studying, this time I will share How to Solved GPG or PGP in Arch or Manjaro.

Surely you get this error when you install the package right?
Example Error:
is corrupted (invalid or corrupted package (PGP signature))
error: failed to commit transaction (invalid or corrupted package (PGP signature))
I have searched several sites but that method cannot, even though someone can(Depends on which problem).
I accepted this method when I asked in groups, and it turned out that this problem had long been discussed. I tried to find a problem in the group and I found it. I tried that method and succeeded.

How to Solved GPG or PGP ?
=====================================================
First Method
1. sudo pacman-mirrors -f 5
2. sudo pacman -Syy
3. sudo pacman -S gnupg archlinux-keyring manjaro-keyring
4. sudo pacman-key --init  

5. sudo pacman-key --populate archlinux manjaro  
6. sudo pacman-key --refresh-keys
 ----------------------------------------------------------------------------------------------
Follow the steps.
Note : Don't Random, follow the steps 1-6

 If it fails on
sudo pacman -S gnupg archlinux-keyring manjaro-keyring
then follow the final step

======================================================
Last Method
The last step is quite simple, Just change SigLevel in /etc/pacman.conf

1. nano /etc/pacman.conf (can use vim)
2. change All SigLevel in /ect/pacman.conf
     Example:

     Before:
                  [core]
                  SigLevel = PackageRequired
                  Include = /etc/pacman.d/mirrorlis
     After:
                   [core]
                   SigLevel = Never
                   Include = /etc/pacman.d/mirrorlist

3. Save /etc/pacman.conf use CTRL+O, and enter
Note:  If successful, replace it immediately as before. To secure your system.

Q: If it is replaced, it will be like before, then it will be a mistake again
A: If the GPG has no error, it doesn't need to change the configuration again
Q: GPG still error, how?
A: It's better if you have installed the package, replace it immediately as before. And if you want to install the package again, change the config again.
==========================================================

Okay Hopefully Helpful :D, If there are difficulties, just comment


Referensi: Komunitas Manjaro Linux Indonesia

No comments:

Post a Comment