You are not logged in.

#1 2014-01-13 18:25:18

tumas
Member
Registered: 2012-02-08
Posts: 89

[SOLVED] GPGME error after chrooting for new installs

There is another thread about this topic, but it is marked as solved. But obviously this error is not solved because new installs are failing.

The problem: after installing the base system with pacstrap and chrooting into the system, there are some very ugly errors when trying to install any additional packages.

Pacman gives the following output:

warning: GPGME error: Invalid crypto engine
File XYZ is corrupted (invalid vor corrupted package (PGP signature)
Do you want to delete it?

Since i installed arch just a few days ago on the same system with different SSD, this error seems to come from the server side. But i am no expert at all, so i have no idea what's wrong.

I tried to delete the etc/pacman.d/gnupg folder and running pacman-key --init, but this is not working.

Last edited by tumas (2014-01-13 18:37:18)

Offline

#2 2014-01-13 18:29:12

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

Re: [SOLVED] GPGME error after chrooting for new installs

Update the system from the install disk with pacman --root <mountpoint> -Syu. The problem is that you installed at exactly the wrong time, when all of the packages that use gcrypt were updated but libgcrypt wasn't.

Last edited by Scimmia (2014-01-13 18:29:37)

Offline

#3 2014-01-13 18:36:38

tumas
Member
Registered: 2012-02-08
Posts: 89

Re: [SOLVED] GPGME error after chrooting for new installs

Well that was easy wink  libcrypt was updated and it is working now. I guess i really had just a very bad timing indeed.
Learning never stops...

Offline

Board footer

Powered by FluxBB