[SOLVED] Resolving pacman-key update issues.
Welcome, Guest.

Author Topic: [SOLVED] Resolving pacman-key update issues.  (Read 58448 times)

Offline PuterPutter

  • Newbie
  • **
  • Posts: 5
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #15 on: March 28, 2015, 11:55:37 AM »
Thank you Dirty Helga. ;)   Your soution worked for me. 
I used Nano in the terminal window to edit pacman.conf and then updated with no problem. 


Offline farevildee

  • Tyrannical Rule Enforcer
  • Staff Member
  • ********
  • Posts: 1515
  • Country: us
  • Linux is learning and freedom
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #16 on: April 09, 2015, 07:23:12 PM »
just when you think your out of the woods something new pops up and this is the new error 
[farevildee@manjaro ~]$ sudo pacman-key --refresh-keys
gpg: refreshing 88 keys from hkp://pool.sks-keyservers.net
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver refresh failed: No dirmngr
==> ERROR: A specified local key could not be updated from a keyserver.
[farevildee@manjaro ~]$ 
and guess what it wont let me update 
Linux is the world of computing were you make your own rules and decisions and not by some corporate aholes!!!!!

Offline Spatry

  • Benevolent Dictator
  • Administrator - Sysop
  • **********
  • Posts: 4519
  • Country: us
  • Cup of Linux Founder
    • Cup of Linux
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #17 on: April 09, 2015, 07:53:24 PM »
farevildee.... YER FIRED! Repeat the steps above or use Dirty Helga's trick and then try again...
"Wipe that NERVOUS expression off of your face, 3PO!" -General Leia Organa SWTLJ

Offline Bendo

  • Forum Staff
  • Staff Member
  • ********
  • Posts: 363
  • Country: 00
Re: Re: [SOLVED] Resolving pacman-key update issues.
« Reply #18 on: April 10, 2015, 04:38:15 AM »
You are not allowed to view links. Register or Login
just when you think your out of the woods something new pops up and this is the new error
[farevildee@manjaro ~]$ sudo pacman-key --refresh-keys
gpg: refreshing 88 keys from hkp://pool.sks-keyservers.net
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver refresh failed: No dirmngr
==> ERROR: A specified local key could not be updated from a keyserver.
[farevildee@manjaro ~]$
and guess what it wont let me update

basic (complete) approach to this problem in arch:

Code: You are not allowed to view links. Register or Login
rm -R /etc/pacman.d/gnupg/
rm -R /root/.gnupg/
gpg --refresh-keys
pacman-key --init && pacman-key --populate archlinux
pacman-key --refresh-keys

In manjaro:

Code: You are not allowed to view links. Register or Login
rm -R /etc/pacman.d/gnupg/
rm -R /root/.gnupg/
gpg --refresh-keys
pacman-key --init && pacman-key --populate archlinux manjaro
pacman-key --refresh-keys

Additional information:
For generating new keyrings and other steps in crypto programs you need system entropy.
Arch recommends to install the daemon haveged which generates this entropy.
(faster than just sitting around and waiting, doing random stuff)
Install from official repos with pacman, start and enable start on bootup with help of systemd:

Code: You are not allowed to view links. Register or Login
systemctl start haveged
systemctl enable haveged

Let some time pass by and try again.

Personally I don't really like the approach with disabling signature checking, I feel like it follows the same logic as 'You have problems with your firewall? Disable it.'
Sure if you don't have a (security) feature you also can't have problems with it.
You are not allowed to view links. Register or Login

Offline farevildee

  • Tyrannical Rule Enforcer
  • Staff Member
  • ********
  • Posts: 1515
  • Country: us
  • Linux is learning and freedom
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #19 on: April 10, 2015, 12:53:59 PM »
 repeated it ten times lol still no go i really didnt wanna lock out my keyring either lol plus ill give bendos a try too lol
Linux is the world of computing were you make your own rules and decisions and not by some corporate aholes!!!!!

Offline Silversurfer

  • Newbie
  • **
  • Posts: 12
  • Country: no
  • A Furore Normannorum Libra Nos Domine
    • Skype
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #20 on: April 23, 2015, 02:16:17 AM »
Hi, Just did a new install of Mcol 0.8.11.
Started updating via terminal, but I got a message asking to install signature from "Antonio Rojas".
No matter if I answered yes or no, it would not update. Tried all your solutions here, but they did not work.
However I found this in the Manjaro forum; sudo pacman -S archlinux-keyring
Once I issued that command update and upgrade went smoothly.. 8)


This was a pain, and it will surely keep people from installing Mcol...
"When you're walking through Hell walk faster!"

Offline farevildee

  • Tyrannical Rule Enforcer
  • Staff Member
  • ********
  • Posts: 1515
  • Country: us
  • Linux is learning and freedom
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #21 on: April 23, 2015, 12:02:50 PM »
i dont think he was bendo i think he was just updating everyone on that if it hadnt been made public here cause ive had that same issue now i know which one to use i thank him so now i dont have to mess with the keyring
Linux is the world of computing were you make your own rules and decisions and not by some corporate aholes!!!!!

Offline eightbit

  • Newbie
  • **
  • Posts: 36
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #22 on: April 28, 2015, 01:22:55 AM »
And I think the same. And it was a pain. And his fix fixed my problem, but not until after the prior fixes were performed. Damn PGP keys :)



« Last Edit: April 28, 2015, 01:39:45 AM by eightbit »

Offline Bendo

  • Forum Staff
  • Staff Member
  • ********
  • Posts: 363
  • Country: 00
Re: Re: Re: [SOLVED] Resolving pacman-key update issues.
« Reply #23 on: April 28, 2015, 05:53:15 AM »
Just to point that out again, since there is a lot of information in this thread: A reason why the approach which I described here:
You are not allowed to view links. Register or Login
basic (complete) approach to this problem in arch:

Code: You are not allowed to view links. Register or Login
rm -R /etc/pacman.d/gnupg/
rm -R /root/.gnupg/
gpg --refresh-keys
pacman-key --init && pacman-key --populate archlinux
pacman-key --refresh-keys
You are not allowed to view links. Register or Login

In manjaro:


Code: You are not allowed to view links. Register or Login
rm -R /etc/pacman.d/gnupg/
rm -R /root/.gnupg/
gpg --refresh-keys
pacman-key --init && pacman-key --populate archlinux manjaro
pacman-key --refresh-keys




sometimes doesn't seem to 'work' is this:
You are not allowed to view links. Register or Login
Additional information:
For generating new keyrings and other steps in crypto programs you need system entropy.

The command

Code: You are not allowed to view links. Register or Login
pacman-key --init
is the critical step.
When you initialize a pacman keyring your PGP Key is generated and this is the process which needs entropy.
You may have to actively create that entropy!
Give random input to your computer,also make your hard drive work by executing some find or list command like

Code: You are not allowed to view links. Register or Login
ls -Rl /start a movie at the same time, click around, whatever and just let some time pass by.
Installing AND STARTING haveged as described above speeds things up.
You are not allowed to view links. Register or Login

Offline JayVii

  • Staff Member
  • ********
  • Posts: 1759
  • Country: de
    • JayVii's Page
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #24 on: April 28, 2015, 08:24:51 AM »
I made a little re-collection of the commands necessary to fix this issue (still seems to cause problems). Basically, it's just what has been here before but in a more organized way ;)

FIX FOR PACMAN-ISSUES:
Code: You are not allowed to view links. Register or Login
sudo pacman-mirrors -g     # This will update the mirrors
sudo pacman -Syy           # This will sync your local package-list
sudo pacman -S gnupg       # This will (re-)install your gpg-keys
sudo pacman-key --populate archlinux manjaro   # This will re-populate your Arch- & Manjaro-keys
sudo pacman-key --refresh-keys                 # This will refresh your pacman-keys
sudo pacman -S archlinux-keyring               # This will install the archlinux-keyring
sudo pacman -Syyu          # This will finally upgrade all your packages

If that doesn't work:
Code: You are not allowed to view links. Register or Login
sudo rm -R /etc/pacman.d/gnupg/
sudo rm -R /root/.gnupg/
sudo gpg --refresh-keys
sudo pacman-key --init && pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys




Note, that re-populating Arch & Manjaro keys is necessary only on Manjaro.
If you are using Arch, please only import the archlinux-keys, NOT the manjaro-keys.


Code: You are not allowed to view links. Register or Login
pacman-key --populate archlinux
« Last Edit: April 28, 2015, 08:35:02 AM by JayVii »
You are not allowed to view links. Register or Login

Offline JayB

  • Newbie
  • **
  • Posts: 3
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #25 on: May 05, 2015, 06:58:29 PM »
ok brand new to mcole, after successfully getting updates to work through command line, my gui icons stops working mainly add & remove sortware but also others any ideas. Ima cut and paste type of guy sorry I wont be to much more than a lurker but can someone help

Offline Bendo

  • Forum Staff
  • Staff Member
  • ********
  • Posts: 363
  • Country: 00
Re: Re: [SOLVED] Resolving pacman-key update issues.
« Reply #26 on: May 05, 2015, 08:52:07 PM »
You are not allowed to view links. Register or Login
ok brand new to mcole, after successfully getting updates to work through command line, my gui icons stops working mainly add & remove sortware but also others any ideas. Ima cut and paste type of guy sorry I wont be to much more than a lurker but can someone help

Do you have a problem with the the pacman keyring while running pacman -Syu?
Because that's what this thread is about.
It may be my lack of English skills but I'm not sure if I understand correctly what sort of problem you have, but if you have trouble opening the GUI of some application from your desktop that has nothing to do with the topic of this thread.
If that's the case and I got that right please open a new thread in this section of the forum and copy+paste your text.
If I got that wrong and you have a problem with your keyring maybe try to phrase your issue differently and describe it a little bit more in detail.
You are not allowed to view links. Register or Login

Offline JayB

  • Newbie
  • **
  • Posts: 3
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #27 on: May 05, 2015, 09:03:26 PM »
yes my problem with packman is that it wont update just like everyone else when  I do it through command line i can get it to update, but gui icons work fine before but not after.

Post Merge: May 05, 2015, 09:44:44 PM
and bendo your kinda condesenceniding ( yes I looked up how to spell it ) you should stay on the arch  forums  you should fit right in ! I said Im new, thanks for making me feel welcome, gui icons still dont work guess i'll go back to windows........not!
« Last Edit: May 05, 2015, 09:44:44 PM by JayB »

Offline Bendo

  • Forum Staff
  • Staff Member
  • ********
  • Posts: 363
  • Country: 00
Re: Re: [SOLVED] Resolving pacman-key update issues.
« Reply #28 on: May 05, 2015, 10:46:11 PM »

You are not allowed to view links. Register or Login
Post Merge: May 05, 2015, 09:44:44 PM

You are not allowed to view links. Register or Login
and bendo your kinda condesenceniding ( yes I looked up how to spell it ) you should stay on the arch  forums  you should fit right in ! I said Im new, thanks for making me feel welcome, gui icons still dont work guess i'll go back to windows........not!

You were posting in the wrong thread.
As a moderator in this forum I told you so, I told you what to do instead and I made even clear that it could be a misunderstanding on my side.
I also tried to figure out your problem

I clearly did that in a friendly way:

You are not allowed to view links. Register or Login


It may be my lack of English skills but I'm not sure if I understand correctly [...]
If that's the case and I got that right please open a new thread [..]
maybe try to phrase your issue differently and describe it a little bit more in detail.


You on the other hand are posting in the wrong thread, continue to do so after a moderator told you so and now insult a moderator while he tries to help you and tell forum staff to to leave the forum.
This is a last warning:
Stop spamming this thread.
Stop insulting forum staff.

You are not allowed to view links. Register or Login

Offline JayB

  • Newbie
  • **
  • Posts: 3
Re: [SOLVED] Resolving pacman-key update issues.
« Reply #29 on: May 05, 2015, 11:41:27 PM »
what is wrong with you, I tell you I update pacman and my gui icons stops working and you think it belongs in a new thread ( maybe) but you cant say it does not need to be mentioned here. all of a sudded im a spamer, stop being a jerk! sorry I dont fall down at your awesome linux ninja feet, I love spatry  followed  him for 3 to4 years and he recommened Xiphos which make me like hime more, so get off your high horse and stop being a bully, jay baughn, alive wire electrical llc.
ps. mom said to come up from the basement and do your homework you 13 year old jerk!

Post Merge: May 06, 2015, 12:46:45 AM
look im not here to cause problems, i like spatry  i can see all the the work he's done on this os, im just trying to get it to get it to work. and I can go back to mint



 
« Last Edit: May 06, 2015, 12:46:45 AM by JayB »