[arch-general] libgcrypt.so.20 missing

Mark Lee mark at markelee.com
Mon Jan 13 15:12:33 EST 2014


On Mon, 2014-01-13 at 14:10 -0600, guns wrote:
> On Mon 13 Jan 2014 at 08:08:47PM +0100, Thomas Bächler wrote:
> > Am 13.01.2014 19:33, schrieb Mark E. Lee:
> >
> > > I had three issues when trying to solve this problem:
> > > 1) the mirror I was using wasn't up to date (still had
> > > libgcrypt-1.5.3-1)
> >
> > You see, that is impossible. The package database contains either both
> > the old pth and old libgcrypt, or both the new pth and new libgcrypt.
> 
> Regardless of whether this should be impossible, I have the same problem
> as OP:
> 
> core/libgcrypt 1.5.3-1 [installed]
>     General purpose cryptographic library based on the code from GnuPG
> core/gnupg 2.0.22-2 [installed: 2.0.22-1]
>     Complete and free implementation of the OpenPGP standard
> core/cryptsetup 1.6.3-2 (base) [installed]
>     Userspace setup tool for transparent encryption of block devices using dm-crypt
> 
> Note that the versions of gnupg and cryptsetup above are linked against
> libgcrypt.so.20, which is not provided by 1.5.3-1. (I had to downgrade
> gnupg to write this message).
> 
> > > 3) Failure to update libgcrypt before other packages resulted in a
> > > kernel that seemed to be hung at booting.
> >
> > Sorry, I can't see how that would be related in any way.
> 
> This happens if a user has the `encrypt` hook set in their
> mkinitcpio.conf, but their /usr/lib/libcryptsetup.so is linked against
> a libgcrypt that they do not yet have:
> 
> [2014-01-13 12:59] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
> [2014-01-13 12:59] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
> [2014-01-13 12:59] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
> [2014-01-13 12:59] [ALPM-SCRIPTLET] ==> Starting build: 3.12.7-2-ARCH
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [base]
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [block]
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
> [2014-01-13 12:59] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
> [2014-01-13 12:59] [ALPM-SCRIPTLET] ==> ERROR: binary dependency `libgcrypt.so.20' not found for `cryptsetup'
> 
>     guns

Salutations,

I don't have encrypt in my mkinitcpio hooks.

Regards,
Mark
-- 
Mark Lee <mark at markelee.com>



More information about the arch-general mailing list