You are not logged in.

#26 2024-08-06 21:24:04

MaxGyver83
Member
Registered: 2024-08-02
Posts: 15

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

Great! Does this mean I should delete /usr/local/bin/gpg{sm,conf}?

Offline

#27 2024-08-06 21:25:15

seth
Member
Registered: 2012-09-03
Posts: 59,180

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

Yes and you probably want to look around for more stale stuff in /usr/local/{bin,lib}

Offline

#28 2024-08-06 21:25:22

MaxGyver83
Member
Registered: 2024-08-02
Posts: 15

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

There are more gpg commands in `/usr/local/bin`:

$ ls /usr/local/bin/gpg*
/usr/local/bin/gpg-agent  /usr/local/bin/gpgconf            /usr/local/bin/gpgscm    /usr/local/bin/gpgtar          /usr/local/bin/gpg-wks-server
/usr/local/bin/gpg_bak    /usr/local/bin/gpg-connect-agent  /usr/local/bin/gpgsm     /usr/local/bin/gpgv
/usr/local/bin/gpg-card   /usr/local/bin/gpgparsemail       /usr/local/bin/gpgsplit  /usr/local/bin/gpg-wks-client

Offline

#29 2024-08-06 21:29:33

MaxGyver83
Member
Registered: 2024-08-02
Posts: 15

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

I have deleted all these binaries:

sudo rm /usr/local/bin/gpg*

Now `sudo pacman -Syu` works again! Awesome! Thank you!!!

Offline

#30 2024-08-06 21:33:49

seth
Member
Registered: 2012-09-03
Posts: 59,180

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

The broadsword is clunky but (almost) never fails cool

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#31 2024-08-07 02:42:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,128

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

well crap, you had all of those but not one called 'gpg'? This is exactly the kind of thing I was looking for in post #4!

Don't forget the link I gave about pacnew files, you're not taking care of them and it *will* bite you at some point.

Last edited by Scimmia (2024-08-07 02:42:54)

Offline

#32 2024-08-07 07:27:16

seth
Member
Registered: 2012-09-03
Posts: 59,180

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

The error is almost guaranteed to be incompatible GPG versions and after all the excursions it *had* to be. Somehow.
Though I was prepared for some freak library that was compatible but incompatible/incomplete getting into the way… when /usr/local/bin looked at me smile

@MaxGyver83 did you see Scimmias's comment about config file maintainance?
pacdiff makes it pretty convenient (as long as you know basic vim and vimdiff)

Offline

#33 2024-08-07 18:31:29

MaxGyver83
Member
Registered: 2024-08-02
Posts: 15

Re: [SOLVED] GPGME error: Invalid crypto engine during `sudo pacman -Syu`

well crap, you had all of those but not one called 'gpg'?

It's possible that I had noticed `/usr/local/bin/gpg` and deleted it. When I did this, I didn't know that there were many more `gpg` binaries. And also I didn't know which binaries `pacman` would call.

@MaxGyver83 did you see Scimmias's comment about config file maintainance?
pacdiff makes it pretty convenient (as long as you know basic vim and vimdiff)

I have seen the comment/the link. I'll look into it! Thank you.

Offline

Board footer

Powered by FluxBB