Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Dav1dde
Created January 31, 2014 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dav1dde/8736877 to your computer and use it in GitHub Desktop.
Save Dav1dde/8736877 to your computer and use it in GitHub Desktop.
root@rescue /mnt # pacstrap /mnt base
==> Creating install root at /mnt
==> Installing packages to /mnt
pacman: error while loading shared libraries: libgpgme.so.11: cannot open shared object file: No such file or directory
==> ERROR: Failed to install packages to new root
root@rescue /mnt # apt-get install libgpgme
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgpgme
root@rescue /mnt # apt-cache search libgpgme
libgpgme11 - GPGME - GnuPG Made Easy
libgpgme11-dev - GPGME - GnuPG Made Easy
libgpgme++2 - c++ wrapper library for gpgme
libgpgme-ruby - Transitional package for ruby-gpgme
libgpgme-ruby1.8 - Transitional package for ruby-gpgme
libgpgme-ruby1.9.1 - Transitional package for ruby-gpgme
ruby-gpgme - Ruby GPGME binding
root@rescue /mnt # apt-get install libgpgme11
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpth20
Suggested packages:
gpgsm gnupg2
The following NEW packages will be installed:
libgpgme11 libpth20
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 432 kB of archives.
After this operation, 1,016 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirror.hetzner.de/debian/packages/ wheezy/main libpth20 amd64 2.0.7-16 [83.3 kB]
Get:2 http://mirror.hetzner.de/debian/packages/ wheezy/main libgpgme11 amd64 1.2.0-1.4 [349 kB]
Fetched 432 kB in 0s (15.0 MB/s)
Selecting previously unselected package libpth20.
(Reading database ... 56296 files and directories currently installed.)
Unpacking libpth20 (from .../libpth20_2.0.7-16_amd64.deb) ...
Selecting previously unselected package libgpgme11.
Unpacking libgpgme11 (from .../libgpgme11_1.2.0-1.4_amd64.deb) ...
Setting up libpth20 (2.0.7-16) ...
Setting up libgpgme11 (1.2.0-1.4) ...
root@rescue /mnt # pacstrap /mnt base
==> Creating install root at /mnt
==> Installing packages to /mnt
error: failed to initialize alpm library (could not find or read directory)
==> ERROR: Failed to install packages to new root
root@rescue /mnt # apt-cache search alpm
root@rescue /mnt # ldd /usr/bin/pacman
/usr/bin/pacman: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/bin/pacman)
linux-vdso.so.1 => (0x00007fff35dfe000)
libalpm.so.8 => /usr/local/lib/libalpm.so.8 (0x00007f0f8c6cc000)
libarchive.so.13 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0f8c341000)
libarchive.so.2 => /usr/local/lib/libarchive.so.2 (0x00007f0f8c109000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0f8be87000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0f8c911000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment