You are not logged in.

#1 2020-04-13 16:56:00

pauledd
Member
Registered: 2019-12-14
Posts: 42

GPGME error: Invalid crypto engine ncurses [SOLVED]

Hi

I messed up my system while trying to solve a

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

error. Then installing "ncurses5-compat-libs" and finally messing with (obviously) wrong wild symlinking in the /usr/lib folder...

Now I cant do anymore:

# sudo pacman -S ncurses
warning: ncurses-6.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) ncurses-6.2-1

Total Download Size:   1.11 MiB
Total Installed Size:  3.55 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 ncurses-6.2-1-x86_64         1141.2 KiB  1153 KiB/s 00:01 [###############################] 100%
(1/1) checking keys in keyring                             [###############################] 100%
error: GPGME error: Invalid crypto engine
(1/1) checking package integrity                           [###############################] 100%
error: GPGME error: Invalid crypto engine
error: ncurses: missing required signature
:: File /var/cache/pacman/pkg/ncurses-6.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

What shall I do now?

Last edited by pauledd (2020-04-13 19:10:40)

Offline

#2 2020-04-13 17:06:31

pauledd
Member
Registered: 2019-12-14
Posts: 42

Re: GPGME error: Invalid crypto engine ncurses [SOLVED]

Damn, I cant even login anymore on another terminal... sad I guess if I close firefox it wont start again..

Offline

#3 2020-04-13 17:17:20

pauledd
Member
Registered: 2019-12-14
Posts: 42

Re: GPGME error: Invalid crypto engine ncurses [SOLVED]

Solved!

I unpacked ncurses-6.1-7-x86_64.pkg.tar.xz and copied the missing libncursesw.so.6 to /usr/lib.
Then I was able again to run pacman and reinstall ncurses package.

Offline

Board footer

Powered by FluxBB