You are not logged in.

#1 2016-08-02 00:32:03

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

I tried to upgrade using pacman -Syu
I got this error

error:GPGME error:Invalid crypto engine
:: File /var/cache/pacman/pkg/*.pkg.tar.xz
I tried pacman-key --init
gpg:Fatal:libgcrypt is too old(need 1.7.0,have 1.6.5)
Error : Trust database could not be updated

How can I recover my system?

Last edited by rohithreddy (2016-08-02 00:54:33)

Offline

#2 2016-08-02 00:36:46

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Can I update via live USB?

Last edited by rohithreddy (2016-08-02 00:38:10)

Offline

#3 2016-08-02 00:51:43

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Partial upgrades are unsupported. But yes, you may be able to fix your mess from a Live USB. Chrooting won't help, so use pacman's --root flag to update from the live environment.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2016-08-02 00:53:47

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Is it just Pacman --root ?
Do I have to mount sda?
What command should I type? I'm new to arch.

Last edited by rohithreddy (2016-08-02 00:58:55)

Offline

#5 2016-08-02 01:03:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Not that new that you can't read the man page for the package manager; the single most (Arch-specific) critical application on your system.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-08-02 01:14:18

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

I tried pacman --root=/mnt --cachedir=/mnt/var/cache/Pacman/pkg -Syu
error: i3lock: signature from Johannes lothberg is unknown trust
::File /mnt/var/cache/Pacman/pkg/i3lock-2.8.1-x86_64.pkg.tar.xz is corrupted(Invalid or corrupted package (PGP signature)
error:failed to commit transaction
Errors occurred, no packages were upgraded

Offline

#7 2016-08-02 01:22:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2016-08-02 01:26:45

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Restarted the system it says
[OK] Reached target Multi-User System
[OK] Reached target Graphical Interface
_
I can't get to login screen it's stuck there but cursor is blinking

Offline

#9 2016-08-02 01:30:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2016-08-02 01:36:37

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

It's not solved,I can't login it's stuck on screen

[OK] Reached target Multi-User System
[OK] Reached target Graphical Interface
_
I can't get to login screen it's stuck there but cursor is blinking

Offline

#11 2016-08-02 01:38:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

Read your thread title: that is solved: https://wiki.archlinux.org/index.php/Co … ow_to_post


You now have a separate issue (without any corresponding useful information).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2016-08-02 01:42:02

rohithreddy
Member
Registered: 2016-04-05
Posts: 38

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

I cannot login I mean I can't see gnome
and all I can do is open other tty and even from there if I try to install any package the error is same as above
error:GPGME error:Invalid crypto engine
:: File /var/cache/pacman/pkg/*.pkg.tar.xz
I tried pacman-key --init
gpg:Fatal:libgcrypt is too old(need 1.7.0,have 1.6.5)
Error : Trust database could not be updated

Offline

#13 2016-08-02 01:50:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman Upgrade Error (libgcrypt GPGME error: Invalid crypto engine)

So, did you not remove the corrupt package and follow Wormzy's advice?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB