You are not logged in.

#1 2018-05-29 16:02:46

judd1
Member
Registered: 2015-09-04
Posts: 260

[SOLVED] yaourt--->Package-query: error while loading shared libraries

I am, today after updating, yaourt does not work, that is, package-query has library errors, as it says in console:

$ yaourt -Syua
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
[sudo] password for judd: 
:: Sincronizando las bases de datos de los paquetes...
 core está actualizado
 extra está actualizado
 community está actualizado
 multilib está actualizado
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory

package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
La base de datos no parece tener errores.
[judd@arch ~]$ yaourt --stats
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
$ yaourt --stats
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|                                                                       Archlinux  (yaourt 1.9)                                                                   |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Paquetes instalados en total:  0
Paquetes instalados explícitamente:  0
Paquetes instalados como dependencias para ejecutar otros paquetes:  0
Paquetes desactualizados:  0
Paquetes a mantener: (2) pacman glibc
Paquetes a ignorar: (0) 
Grupos a ignorar: (0) 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Número de repositorios configurados:  0
Paquetes por repositorio (ordenados por prioridad de pacman):
     otros*(0)

    *otros son paquetes de una compilación local o del AUR, sin soporte

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
package-query: error while loading shared libraries: libalpm.so.10: cannot open shared object file: No such file or directory
                                                                                                                                                                   
Espacio teórico que ocupan los paquetes: 0M
Espacio real que utilizan los paquetes: 0M
Espacio utilizado en la caché por paquetes descargados (cachedir):  1,6G
Espacio utilizado en la caché por las fuentes descargadas:  0M

Last edited by judd1 (2018-05-29 16:57:51)


This isn't right. This isn't even wrong.
-- Wolfgang Pauli --

Offline

#2 2018-05-29 16:06:11

Morganamilo
Package Maintainer (PM)
Registered: 2017-12-05
Posts: 77

Re: [SOLVED] yaourt--->Package-query: error while loading shared libraries

I Believe this forum is English only. There's also all the don't use yaourt stuff. But to just ignore all those, you need to rebuild package-query.

Offline

#3 2018-05-29 16:55:55

judd1
Member
Registered: 2015-09-04
Posts: 260

Re: [SOLVED] yaourt--->Package-query: error while loading shared libraries

Thanks!

Last edited by judd1 (2018-05-29 17:03:23)


This isn't right. This isn't even wrong.
-- Wolfgang Pauli --

Offline

#4 2018-05-29 18:11:28

matmoul
Member
Registered: 2015-08-31
Posts: 21

Re: [SOLVED] yaourt--->Package-query: error while loading shared libraries

For yaourt, you can make a temporary symbolic link :
As root :

ln -s /usr/lib/libalpm.so.11 /usr/lib/libalpm.so.10

Don't forget to delete it when yaourt will be updated ...
As root :

rm /usr/lib/libalpm.so.10

Offline

#5 2018-05-29 18:13:16

Morganamilo
Package Maintainer (PM)
Registered: 2017-12-05
Posts: 77

Re: [SOLVED] yaourt--->Package-query: error while loading shared libraries

No that is a horrible hack an should not be used. Especially when there is a much simpler method of just rebuilding the package.

Offline

#6 2018-05-29 18:13:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: [SOLVED] yaourt--->Package-query: error while loading shared libraries

That's a horrible idea.  Just rebuild package-query.  No symlinking is necessary.  (edit: too slow, but yeah, I second the above).

Last edited by Trilby (2018-05-29 18:14:11)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2018-05-29 18:14:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] yaourt--->Package-query: error while loading shared libraries

matmoul wrote:

For yaourt, you can make a temporary symbolic link

Don't provide advice when you have no idea what you are doing: this is a terrible idea.


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB