You are not logged in.
Pacman upgraded my version of readline to 6.3.003-1 today, and now it appears that this has broken everything that relies checking gpg keys (including pacman itself). Whenever I try to install something with pacman, I get the error:
error: GPGME error: Invalid crypto engine
And when I run
pacman-key --init
I get the error
gpg: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
Does anyone know how I can work around this or downgrade readline? Any help would be greatly appreciated.
Aside: I recently enabled gnome-unstable, testing, and community-testing repos so that I could run Gnome 3.12, but it appears I have done so before I had sufficient knowledge to fix things that such actions might break.
Last edited by whitebrice (2014-04-03 23:31:57)
Offline
Related bug: https://bugs.archlinux.org/task/39731
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Thanks for the link to the bug report. It recommends running pacman -S readline to downgrade readline, but my problem is pacman won't run at all after the update to readline. I get the error:
error: GPGME error: Invalid crypto engine
Is there any other way I can install readline?
Last edited by whitebrice (2014-04-03 22:57:07)
Offline
Have you tried using the liveCD / liveUSB?
Offline
sure
pacman -U /var/cache/pacman/pkg/readline-6.3-1-x86_64.pkg.tar.xz
Offline
@karol I don't understand what you mean. What can I do from a liveUSB?
@rutgerr That command gives me the same error, invalid crypto engine. I have the appropriate pkg.tar.xz in /var/cache/pacman/pkg, but I don't know how to install something like that without using pacman. Is it as simple as extracting it to the root directory?
Last edited by whitebrice (2014-04-03 23:06:34)
Offline
Aside: I recently enabled gnome-unstable, testing, and community-testing repos
Moving to Testing sub-forum.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
mv /usr/lib/libreadline.so.6 /usr/lib/libreadline.so.6.old
are you sure you pointed the oldest package?
Last edited by rutgerr (2014-04-03 23:09:42)
Offline
What I guess karol i suggesting is that you boot from a liveUSB, mount your system partition to /mnt and install readline from there, e.g. using
pacman -S --root /mnt readline
Offline
Yeah, I'm sure. I ran the following command:
pacman -U /var/cache/pacman/pkg/readline-6.3-1-x86_64.pkg.tar.xz
And I have three readline packages in /var/cache/pacman/pkg: 6.3-1, 6.3.003-1, and 6.3-3. The package for version 6.3-1 has the oldest timestamp.
edit: I tried that mv command. Now when I try to run pacman-key --init, i get the error:
/usr/bin/bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Last edited by whitebrice (2014-04-03 23:13:54)
Offline
i already edited the previous post, worked for me
Offline
I don't understand what the mv command does. Doesn't pacman need that library to run? If so, then when I rename it, I still can't run pacman so that I can install the old version of readline.
Offline
What if you TEMPORARILY set the Siglevel to "Never" (to disable key verification, which you'll want to re-enable once readline works) in pacman.conf, then does it run?
Offline
That did it! Thank you very much \hbar, rutgerr, karol, and clfarron4. Is putting "[Solved]" in the subject line something I can do, or will a mod do it?
Offline
You can do it
Edit: Oh, and you're welcome!
Last edited by \hbar (2014-04-03 23:32:02)
Offline
Offline