You are not logged in.

#1 2010-10-26 12:10:15

zmyx
Member
Registered: 2009-11-05
Posts: 13
Website

[SOLVED] error while loading shared libraries: liblzma.so.0:

I did an upgrade (pacman -Syu) and afterward I tried to reboot my system but it was not possible; the system was just frozen. So I went on with the hard-reset (power-off and power-on). Now X doesn't start but that's not a major problem. The major problem is that pacman is broken. Whatever I tried to do with pacman it would just give me this error message:

 pacman: error while loading shared libraries: liblzma.so.0: file too short

I am not sure if this problem caused by the hard-reset or from the latest system upgrade but since I cannot use pacman it is hard to proceed. So my first priority here is to make pacman work again.

I would appreciate any helps!

Last edited by zmyx (2010-10-26 16:51:31)

Offline

#2 2010-10-26 13:10:17

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] error while loading shared libraries: liblzma.so.0:

You can grab an archboot iso or similar, and then reinstall the affected packages with pacman -r


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2010-10-26 16:49:28

zmyx
Member
Registered: 2009-11-05
Posts: 13
Website

Re: [SOLVED] error while loading shared libraries: liblzma.so.0:

Thanks for the reply. I have found a solution for this problem.

I found out that the troublesome package is actually the package 'xz' which, luckily, I still have the .tar file within pacman cache directory (/var/cache/pacman/pkg). I copy that .tar file to root and untar it and the broken pacman problem was solved.

Offline

Board footer

Powered by FluxBB