2 January 2015

When your Arch Linux AUR package manager yaourt gives this error: "package-query: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory". Or just rebuild package-query manually and everything should be fine again. There is no real need to prune yaourt. You can find all the AUR helpers from Arch Linux AUR helpers wiki page.

Source code viewer
  1. sudo pacman-db-upgrade
  2. yaourt -R package-query yaourt
  4. curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
  5. tar zxvf package-query.tar.gz
  6. cd package-query
  7. makepkg -si
  8. cd ..
  9. curl -O https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
  10. tar zxvf yaourt.tar.gz
  11. cd yaourt
  12. makepkg -si
  14. # Delete downloaded archives and folders.
Programming Language: Bash