FS#15817 - [pacman] Pacman update results in broken pacman: liblzma.so.0:: No such file or directory
Attached to Project:
Arch Linux
Opened by Alessandro (laynor) - Wednesday, 05 August 2009, 20:38 GMT
Last edited by Allan McRae (Allan) - Friday, 07 August 2009, 11:45 GMT
Opened by Alessandro (laynor) - Wednesday, 05 August 2009, 20:38 GMT
Last edited by Allan McRae (Allan) - Friday, 07 August 2009, 11:45 GMT
|
Details
Summary and Info:
Pacman update results in broken pacman. Steps to reproduce: I ran pacman -Sy mercurial, pacman asked for a pacman upgrade. I answered Yes, and pacman upgraded. However, now running pacman results in an error: pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory return code: 127 |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 07 August 2009, 11:45 GMT
Reason for closing: Fixed
Additional comments about closing: 3.3.0-3
Friday, 07 August 2009, 11:45 GMT
Reason for closing: Fixed
Additional comments about closing: 3.3.0-3
To fix your system, download the xz-utils package. Uncompress it and copy liblzma.so.0 and liblzma.so.0.0.0 to /usr/lib
That should fix pacman. Don't forget to run 'pacman -Sf xz-utils' afterwards to install xz-utils correctly.
I don't know why but maybe pacman has broken dependencies - or tries to install itself before xz-utils?
The sure point is that when pacmn got upgraded, xz-utils was not installed.
Upgrading pacman did not upgrade libarchive. The version before the pacman upgrade was 2.0.7-1.
libarchive got upgraded after fixing my system (installing xz-utils by hand with pacman.static) when I ran pacman -Syu.
these issues are quite annoying.. easy to miss for us and painful for users.