You are not logged in.
I had to bring out an old computer because newer one run down. Older PC has a very old installation of Arch Linux. Several years old, because I didn't use it after the install. I try to update the packages now. However I get an error message:
Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
After trying the mentioned command:
sudo pacman-key --init
Cannot find the gpg binary required for all pacman-key operations.
When I try to install gnupg which provide the binary, then I get of course the original error message:
warning: Public keyring not found; have you run 'pacman-key --init'
error: GPGME error: Invalid crypto engine
Last edited by anselm (2017-03-06 08:51:30)
Offline
Not an Installation issue, moving to NC..
Offline
Somehow I need to provide a GPG binary but without installation.
Offline
Maybe should I play with the Siglevel in pacman.conf?
Offline
When was the last full system update? ( check /var/log/pacman.log )
Do you have recent arch boot media?
Offline
Problem solved! I had to set siglevel to Never
[core]
SigLevel = Never
and the update pacman
sudo pacman -Syy pacman
Offline
...which likely broke things.
For anyone else coming across this, that is not the answer.
Offline
After that I was able to install gnupg, but another problem arises when invoking pacman-key --init
gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
chmod: cannot access ‘/etc/pacman.d/gnupg/trustdb.gpg’: No such file or directory
gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
gpg: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
Offline
...which likely broke things.
For anyone else coming across this, that is not the answer.
Oh, I see. Then what should do?
Offline
The best thing to do would be to fix the gpg issue. Boot an install disk and use pacman's root option along with the ALA to reinstall the things that were broken, using the versions available at the time. Then update incrementally using the ALA.
Offline
Finally I managed to do the system update, but there is another problem now: neither Chromium nor Opera browser don't start
When I try to run from a console:
opera
Illegal instruction (core dumped)
Same with Cromium
chromium
Illegal instruction (core dumped)
Offline
Too bad, I have AMD Athlon without SSE2 instuction set. Neither Opera nor Chromium won't work.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
The best thing to do would be to fix the gpg issue. Boot an install disk and use pacman's root option along with the ALA to reinstall the things that were broken, using the versions available at the time. Then update incrementally using the ALA.
Please either spell out acronyms or provide a link when helping new(ish) users. Even I had no idea what "ALA" was at first (I still call it ARM in my head).
For the curious:
ALA: Arch Linux Archive
It's an archive of old packages that a user can use to incrementally update the system by stepping through upgrades chronologically.
@anelm
Use the edit function to append info to your last post instead of bumping the thread. Please read our forum policy.
Given the errors that you are getting, you may have incompatible libraries installed on your system. If the system is inconsistent then it may not be able to upgrade itself correctly. Follow Scimmia's suggestion to boot the install disk and use it to upgrade your system. Use "pacman -Syyuu" when you do and it should fix everything. Scan the news archive on the main website for any manual changes that may be required.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Too bad, I have AMD Athlon without SSE2 instuction set. Neither Opera nor Chromium won't work.
You've seen the news on the front page that i686 support is likely going away, right?
Xyne, thanks for providing the links, I'll keep that in mind for next time.
Offline