[arch-general] unable to install anything via yaourt
HI, 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. Thanks.
Your pacman or libarchive is outofdate or you dont have xz installed
i ran pacman -Syu and system is fully updated. On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
On Sun, Jan 2, 2011 at 7:53 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Does xz work alone? On 2.1.2011 4.21, "Madhurya Kakati" <mkakati2805@gmail.com> wrote:
i ran pacman -Syu and system is fully updated.
On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
when i run the command xz in terminal it prints out the same error.
On 2 January 2011 02:30, Madhurya Kakati <mkakati2805@gmail.com> wrote:
On Sun, Jan 2, 2011 at 7:53 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Does xz work alone? On 2.1.2011 4.21, "Madhurya Kakati" <mkakati2805@gmail.com> wrote:
i ran pacman -Syu and system is fully updated.
On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
when i run the command xz in terminal it prints out the same error.
You might be using an outdated mirror, that would explain an up-to-date system that isn't up-to-date. http://www.archlinux.org/mirrorlist/ -- Jason Steadman http://www.meyithi.com/ http://twitter.com/meyithi
when i try to install aur packages manually, i still get the error in the compressing package stage. On Sun, Jan 2, 2011 at 8:02 AM, Meyithi <mail@meyithi.com> wrote:
On 2 January 2011 02:30, Madhurya Kakati <mkakati2805@gmail.com> wrote:
On Sun, Jan 2, 2011 at 7:53 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Does xz work alone? On 2.1.2011 4.21, "Madhurya Kakati" <mkakati2805@gmail.com> wrote:
i ran pacman -Syu and system is fully updated.
On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
when i run the command xz in terminal it prints out the same error.
You might be using an outdated mirror, that would explain an up-to-date system that isn't up-to-date.
http://www.archlinux.org/mirrorlist/
-- Jason Steadman http://www.meyithi.com/ http://twitter.com/meyithi
I use mirrors.kernel.org repo server.
On Sun 02 Jan 2011 08:00 +0530, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 7:53 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Does xz work alone? On 2.1.2011 4.21, "Madhurya Kakati" <mkakati2805@gmail.com> wrote:
i ran pacman -Syu and system is fully updated.
On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
when i run the command xz in terminal it prints out the same error.
Best to ask the yaourt folks directly via their channels. http://archlinux.fr/yaourt-en
On Sun, Jan 2, 2011 at 8:09 AM, Loui Chang <louipc.ist@gmail.com> wrote:
On Sun 02 Jan 2011 08:00 +0530, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 7:53 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Does xz work alone? On 2.1.2011 4.21, "Madhurya Kakati" <mkakati2805@gmail.com> wrote:
i ran pacman -Syu and system is fully updated.
On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
when i run the command xz in terminal it prints out the same error.
Best to ask the yaourt folks directly via their channels. http://archlinux.fr/yaourt-en
no. its not a problem of yaourt anymore guys. I have realized that I can't install anything from aur.
On 2 January 2011 02:42, Madhurya Kakati <mkakati2805@gmail.com> wrote:
no. its not a problem of yaourt anymore guys. I have realized that I can't install anything from aur.
Well if your /etc/makepkg.conf is building xz balls (PKGEXT='.pkg.tar.xz') and your xz is missing or broken then they won't install. -- Jason Steadman http://www.meyithi.com/ http://twitter.com/meyithi
On Sun 02 Jan 2011 08:12 +0530, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 8:09 AM, Loui Chang <louipc.ist@gmail.com> wrote:
On Sun 02 Jan 2011 08:00 +0530, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 7:53 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Does xz work alone? On 2.1.2011 4.21, "Madhurya Kakati" <mkakati2805@gmail.com> wrote:
i ran pacman -Syu and system is fully updated.
On Sun, Jan 2, 2011 at 7:42 AM, jesse jaara <jesse.jaara@gmail.com> wrote:
Your pacman or libarchive is outofdate or you dont have xz installed
when i run the command xz in terminal it prints out the same error.
Best to ask the yaourt folks directly via their channels. http://archlinux.fr/yaourt-en
no. its not a problem of yaourt anymore guys. I have realized that I can't install anything from aur.
If you're having problems using yaourt to try to install from [unsupported], or any repo, then you're probably having a problem with yaourt, not the repos. The AUR itself seems to be operating generally fine right now. So, best to ask the yaourt folks for some advice, since they know that program the best.
Am Sat, 1 Jan 2011 22:17:11 -0500 schrieb Loui Chang <louipc.ist@gmail.com>:
If you're having problems using yaourt to try to install from [unsupported], or any repo, then you're probably having a problem with yaourt, not the repos.
The AUR itself seems to be operating generally fine right now. So, best to ask the yaourt folks for some advice, since they know that program the best.
But he wrote that he gets the same error also if he executes xz directly in a terminal without yaourt and if he installs AUR packages manually with makepkg. So this is probably not yaourt related. Heiko
On Sun 02 Jan 2011 04:51 +0100, Heiko Baums wrote:
Am Sat, 1 Jan 2011 22:17:11 -0500 schrieb Loui Chang <louipc.ist@gmail.com>:
If you're having problems using yaourt to try to install from [unsupported], or any repo, then you're probably having a problem with yaourt, not the repos.
The AUR itself seems to be operating generally fine right now. So, best to ask the yaourt folks for some advice, since they know that program the best.
But he wrote that he gets the same error also if he executes xz directly in a terminal without yaourt and if he installs AUR packages manually with makepkg. So this is probably not yaourt related.
Aaah Crap hah. My bad. I guess I'm having trouble reading today. It's been a long couple of days hehe.
Am Sun, 2 Jan 2011 08:00:19 +0530 schrieb Madhurya Kakati <mkakati2805@gmail.com>:
when i run the command xz in terminal it prints out the same error.
What I'm wondering is, that xz shall give the same error when executed directly in terminal. This shouldn't happen, because xz and liblzma.so belong to the same package, and I don't get this error. There's, btw., no liblzma.so.0 in the package xz. So first try to update your system (pacman -Syu) from another mirror as Meyithi suggested. If this doesn't solve the problem, try to reinstall xz and yaourt. Don't forget to remove the old xz package from the pacman cache (/var/cache/pacman/pkg) before, so that it's not just reinstalled but downloaded from the mirror again. Heiko
On 2 January 2011 02:07, Madhurya Kakati <mkakati2805@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
On Sun, Jan 2, 2011 at 8:15 AM, Martin Panter <vadmium+al@gmail.com<vadmium%2Bal@gmail.com>
wrote:
On 2 January 2011 02:07, Madhurya Kakati <mkakati2805@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.
I was wondering if theres anyway to to install a package in such a way that pacman over writes all the files. I tries pacman -Sf xz but it didn't help.
On 01/02/2011 01:20 PM, Madhurya Kakati wrote:
I was wondering if theres anyway to to install a package in such a way that pacman over writes all the files. I tries pacman -Sf xz but it didn't help.
A quick solution to your problem is remove /usr/local/bin/xz and create a symlink to liblzma.so.0 in /usr/lib cd /usr/lib ln -s liblzma.so liblzma.so.0 *NOTE: This is not the fix, it's a hack.* -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
On 01/02/2011 01:35 PM, Nilesh Govindarajan wrote:
On 01/02/2011 01:20 PM, Madhurya Kakati wrote:
I was wondering if theres anyway to to install a package in such a way that pacman over writes all the files. I tries pacman -Sf xz but it didn't help.
A quick solution to your problem is remove /usr/local/bin/xz and create a symlink to liblzma.so.0 in /usr/lib
cd /usr/lib ln -s liblzma.so liblzma.so.0
*NOTE: This is not the fix, it's a hack.*
Hey wait a minute, does /usr/bin/xz exist? If it is existing, try running /usr/bin/xz with full path. It must work. In that case, no symlinks etc is required, remove /usr/local/bin/xz. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
On Sun, Jan 2, 2011 at 1:38 PM, Nilesh Govindarajan <nilesh@itech7.com>wrote:
On 01/02/2011 01:35 PM, Nilesh Govindarajan wrote:
On 01/02/2011 01:20 PM, Madhurya Kakati wrote:
I was wondering if theres anyway to to install a package in such a way that pacman over writes all the files. I tries pacman -Sf xz but it didn't help.
A quick solution to your problem is remove /usr/local/bin/xz and create a symlink to liblzma.so.0 in /usr/lib
cd /usr/lib ln -s liblzma.so liblzma.so.0
*NOTE: This is not the fix, it's a hack.*
Hey wait a minute, does /usr/bin/xz exist? If it is existing, try running /usr/bin/xz with full path. It must work. In that case, no symlinks etc is required, remove /usr/local/bin/xz.
-- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
yes /usr/bin/xz does exist. the problem is that i once messed up xz and had to force remove it from the system and install it manually via compiling. i didn't set -prefix=usr back then and it got installed to /usr/local/. and i guess thats what causing all this
On 01/02/2011 01:50 PM, Madhurya Kakati wrote:
yes /usr/bin/xz does exist. the problem is that i once messed up xz and had to force remove it from the system and install it manually via compiling. i didn't set -prefix=usr back then and it got installed to /usr/local/. and i guess thats what causing all this
Your guess is correct. Remove /usr/local/bin/xz and it should be fixed. -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
On Sun, Jan 2, 2011 at 1:52 PM, Nilesh Govindarajan <nilesh@itech7.com>wrote:
On 01/02/2011 01:50 PM, Madhurya Kakati wrote:
yes /usr/bin/xz does exist. the problem is that i once messed up xz and had to force remove it from the system and install it manually via compiling. i didn't set -prefix=usr back then and it got installed to /usr/local/. and i guess thats what causing all this
Your guess is correct. Remove /usr/local/bin/xz and it should be fixed.
-- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
now i get this error $ xz bash: /usr/local/bin/xz: No such file or directory
On 2 January 2011 08:24, Madhurya Kakati <mkakati2805@gmail.com> wrote:
now i get this error $ xz bash: /usr/local/bin/xz: No such file or directory
Try doing "hash -r" to make Bash forget the old location, or open a new shell.
On Sun, Jan 2, 2011 at 1:55 PM, Martin Panter <vadmium+al@gmail.com<vadmium%2Bal@gmail.com>
wrote:
On 2 January 2011 08:24, Madhurya Kakati <mkakati2805@gmail.com> wrote:
now i get this error $ xz bash: /usr/local/bin/xz: No such file or directory
Try doing "hash -r" to make Bash forget the old location, or open a new shell.
output of echo $PATH after running hash -r /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/kde/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin
On 2 January 2011 08:30, Madhurya Kakati <mkakati2805@gmail.com> wrote:
On Sun, Jan 2, 2011 at 1:55 PM, Martin Panter <vadmium+al@gmail.com<vadmium%2Bal@gmail.com>
wrote:
On 2 January 2011 08:24, Madhurya Kakati <mkakati2805@gmail.com> wrote:
now i get this error $ xz bash: /usr/local/bin/xz: No such file or directory
Try doing "hash -r" to make Bash forget the old location, or open a new shell.
output of echo $PATH after running hash -r /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/kde/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin
But after doing "hash -r" I'd expect your "xz" command to work. Have a read of "help hash", but basically Bash is remembering where it found xz last time, and isn't searching again after you deleted it.
On Sun, Jan 2, 2011 at 2:03 PM, Martin Panter <vadmium+al@gmail.com<vadmium%2Bal@gmail.com>
wrote:
On 2 January 2011 08:30, Madhurya Kakati <mkakati2805@gmail.com> wrote:
On Sun, Jan 2, 2011 at 1:55 PM, Martin Panter <vadmium+al@gmail.com <vadmium%2Bal@gmail.com><vadmium%2Bal@gmail.com<vadmium%252Bal@gmail.com>
wrote:
On 2 January 2011 08:24, Madhurya Kakati <mkakati2805@gmail.com> wrote:
now i get this error $ xz bash: /usr/local/bin/xz: No such file or directory
Try doing "hash -r" to make Bash forget the old location, or open a new shell.
output of echo $PATH after running hash -r
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/kde/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin
But after doing "hash -r" I'd expect your "xz" command to work. Have a read of "help hash", but basically Bash is remembering where it found xz last time, and isn't searching again after you deleted it.
Thanks guys. Problem solved. Cheers & Happy New Year :-)
On 02/01/11 17:47, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 8:15 AM, Martin Panter <vadmium+al@gmail.com<vadmium%2Bal@gmail.com>
wrote:
On 2 January 2011 02:07, Madhurya Kakati<mkakati2805@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
There goes your issue... You have put your own copy of xz in /usr/local. No Arch packages install there.
On Sun, Jan 2, 2011 at 1:28 PM, Allan McRae <allan@archlinux.org> wrote:
On 02/01/11 17:47, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 8:15 AM, Martin Panter <vadmium+al@gmail.com <vadmium%2Bal@gmail.com><vadmium%2Bal@gmail.com<vadmium%252Bal@gmail.com>
wrote:
On 2 January 2011 02:07, Madhurya Kakati<mkakati2805@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
There goes your issue... You have put your own copy of xz in /usr/local. No Arch packages install there.
so how do i remove it from there and install it in the right place?
On Sun, 2 Jan 2011 13:24:41 +0530 Madhurya Kakati <mkakati2805@gmail.com> wrote:
On Sun, Jan 2, 2011 at 1:28 PM, Allan McRae <allan@archlinux.org> wrote:
On 02/01/11 17:47, Madhurya Kakati wrote:
On Sun, Jan 2, 2011 at 8:15 AM, Martin Panter <vadmium+al@gmail.com <vadmium%2Bal@gmail.com><vadmium%2Bal@gmail.com<vadmium%252Bal@gmail.com>
wrote:
On 2 January 2011 02:07, Madhurya Kakati<mkakati2805@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
There goes your issue... You have put your own copy of xz in /usr/local. No Arch packages install there.
so how do i remove it from there and install it in the right place?
Well how did it get there in the first place? You must have edited the PKGBUILD from abs before installing. You should be able to just reinstall the xz package from the official mirror for it to be installed in the correct place.
Am Sun, 2 Jan 2011 07:37:21 +0530 schrieb Madhurya Kakati <mkakati2805@gmail.com>:
HI, 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. Thanks.
Probably yaourt is outdated or just needs to be recompiled if xz was updated recently. You should try to reinstall yaourt or ask in the AUR comments for yaourt. Heiko
participants (9)
-
Allan McRae
-
Heiko Baums
-
jesse jaara
-
Loui Chang
-
Madhurya Kakati
-
Martin Panter
-
Meyithi
-
Nilesh Govindarajan
-
Ty John