[arch-general] unable to install anything via yaourt
Madhurya Kakati
mkakati2805 at gmail.com
Sun Jan 2 02:47:37 EST 2011
On Sun, Jan 2, 2011 at 8:15 AM, Martin Panter
<vadmium+al at gmail.com<vadmium%2Bal at gmail.com>
> wrote:
> On 2 January 2011 02:07, Madhurya Kakati <mkakati2805 at gmail.com> wrote:
> > When I try to install anything via yaourt i get this error
> > "xz: error while loading shared libraries: liblzma.so.0: cannot open
> shared
> > object file: No such file or directory".
> > I have a fully updated system.
>
> A while ago I was caught with a (partial) update deleting the
> liblzma.so.0 file (that my installed version of pacman needed) by
> "updating" it to libzlma.so.5. Maybe double check everything is fully
> up-to-date. For instance on my computer I have xz 5 installed:
>
> $ pacman -Qo "$(which xz)"
> /usr/bin/xz is owned by xz 5.0.0-1
> $ ldd "$(which xz)"
> . . .
> liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f8794f87000)
> . . .
> $ pacman -Qo /usr/lib/liblzma.so.5
> /usr/lib/liblzma.so.5 is owned by xz 5.0.0-1
>
> Maybe reinstall xz 5, in case something has overwritten it with an
> older version?
>
> -Martin
>
Heres the output of the following commands in my system:
$ pacman -Qo "$(which xz)"
error: No package owns /usr/local/bin/xz
$ ldd "$(which xz)"
linux-vdso.so.1 => (0x00007fff6c9ff000)
liblzma.so.0 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2f0a544000)
libc.so.6 => /lib/libc.so.6 (0x00007f2f0a1e8000)
/lib/ld-linux-x86-64.so.2 (0x00007f2f0a761000)
$ pacman -Qo /usr/lib/liblzma.so.5
/usr/lib/liblzma.so.5 is owned by xz 5.0.0-1
Can you guys make anything out of this?
Cheers & Happy new year.
More information about the arch-general
mailing list