You are not logged in.
Heya guys,
I'm doing countless searches online but can't seem to come up with any good results or leads, so must vent my frustration as a plea for help.
I've just installed the arch environment on a machine using the nice guide here ( https://wiki.archlinux.org/index.php/In … ase_system ) which gives me a base install - but libgcrypt didn't seem to be installed alongside cryptsetup for whatever reason.
So, I go hunting for any solutions and run into this stream: http://archlinux.2023198.n4.nabble.com/ … 94100.html
(in summary, the stream indicates some packages got moved between [base] and [core] (or something) and so some version funnies went on.
I skimmed most of it (just re-read it and it does say upgrade both gnupg and libgcrypt together) and upgraded libgcrypt by itself:
(I come from Fedora where upgrading one package usually means any version dependencies get taken into account)
pacman -S libgcryptGreat, cryptsetup now worked for me... but then I come to install another package aaaaaand:
error: GPGME error: Invalid crypto engine
error: gnupg: missing required signature
:: File /var/cache/pacman/pkg/gnupg-2.0.22-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.SO, looking through various sources I can't find any "ignore gpg signature errors" .
- Any suggestions guys?
Last edited by old486whizz (2014-01-30 13:47:22)
Offline
What version of libgcrypt do you have installed? What happens if you try to update your whole system?
Last edited by karol (2014-01-30 13:18:03)
Offline
I come from Fedora where upgrading one package usually means any version dependencies get taken into account
I can't help with the immediate issue here, but in reference to this general concern, pacman does extremely well with this - in fact it is one of archlinux's strengths. Perhaps you ran into a very rare occasion where it fails - but this is, again, a very rare exception to the rule.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
*EDIT* :
No attack on archlinux intended, I am unaware of how new pacman is, how careful the repositories are at updates etc.
I am enjoying arch so far, especially the fact that installing into a chroot environment is just a breeze (I'm doing so on my NAS, where I've also done TinyCoreLinux - I'm assuming it's based off Arch).
And I'm also assuming that Arch uses something similar to the BSD's systems (I don't have any experience myself but I've heard it is core and then extra stuff).
--
Whenever I tried to upgrade *any* package I got the GPGME error shown above.
I did try and re-initialize the trusted key DB but got back:
pacman-key --init
gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
==> Updating trust database...
gpg: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
==> ERROR: Trust database could not be updated.So it was an issue with gnupg having a dependency on an older libgcrypt library whilst the cryptsetup binary required a newer one.
Thanks to this site here: http://www.archlinuxuser.com/2012/06/ig … doing.html
I was able to turn off gpg checking (a shame it isn't a command line option as I only needed to update gnupg).
I've now managed to pacman -S gnupg and now everything is right with the world!
pacman -S community/nbd
resolving dependencies...
looking for inter-conflicts...
Packages (1): nbd-3.7-1
Total Download Size: 0.04 MiB
Total Installed Size: 0.16 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
nbd-3.7-1-x86_64 43.4 KiB 556K/s 00:00 [########################################################] 100%
(1/1) checking keys in keyring [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
(1/1) loading package files [########################################################] 100%
(1/1) checking for file conflicts [########################################################] 100%
(1/1) checking available disk space [########################################################] 100%
(1/1) installing nbd [########################################################] 100%At least I didn't bork the install otherwise I'd be rather annoyed and just grab a different distro.
Some of the terminology in the commands doesn't make too much sense yet (Synchronising = installing!?) but let's see...
Last edited by old486whizz (2014-01-30 13:40:35)
Offline
The thread you probably read already told you to temporarily disable signature checks: https://bbs.archlinux.org/viewtopic.php?pid=1371891
You can install packages both with 'pacman -S' and 'pacman -U'. The former is synchronizing, the latter is upgrading, but they both install packages :-)
Last edited by karol (2014-01-30 13:51:59)
Offline
When your initial pacman -S cryptsetup resulted in a broken cryptsetup, your first order of business should have been pacman -Syu. That would have solved all problems without breaking anything.
Offline