You are not logged in.

#1 2010-09-27 01:46:40

cuacha_
Member
Registered: 2010-09-27
Posts: 9

pacman is broken

hi arch linux community i just instlled arch linux a few hours ago and i have a huge problem!
it looks like pacman is dead sad

when i try to actualize my system with: sudo pacman -Syu
i got this error:
"pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory"

i try to find the answer to my problem using google and part of this community...but the problem continue!

i tried with:
https://bbs.archlinux.org/viewtopic.php?pid=596149
and... https://bbs.archlinux.org/viewtopic.php?id=95007

PD: sorry for my english...i'm from mexico tongue

Offline

#2 2010-09-27 01:51:54

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: pacman is broken

Do you have xz installed? If not, you can manually download the xz package from a mirror and install with pacman -U.

ah well, maybe not.. but you could still untar it to root, then reinstall.

Last edited by hokasch (2010-09-27 01:55:24)

Offline

#3 2010-09-27 01:53:44

cuacha_
Member
Registered: 2010-09-27
Posts: 9

Re: pacman is broken

hokasch wrote:

Do you have xz installed? If not, you can manually download the xz package from a mirror and install with pacman -U.

noooope..let me try

Offline

#4 2010-09-27 02:04:49

cuacha_
Member
Registered: 2010-09-27
Posts: 9

Re: pacman is broken

cuacha_ wrote:
hokasch wrote:

Do you have xz installed? If not, you can manually download the xz package from a mirror and install with pacman -U.

noooope..let me try


the same error... sad

Offline

#5 2010-09-27 07:10:30

ebirtaid
Member
From: USA
Registered: 2007-11-18
Posts: 52

Re: pacman is broken

you could probably boot into the live cd, mount your root partition, and use pacman -r to install using the mounted partition as the root path

E: as stated above you need the xz package and after it is installed you could probably chroot into your root partition and see if it is working without having to reboot, saving you some time smile

Last edited by ebirtaid (2010-09-27 07:14:42)

Offline

#6 2010-09-27 07:27:24

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: pacman is broken

As hokasch mentioned in the edit to his post, you will need to manually extract the xz package into your filesystem. Another alternative is to boot a live version of arch, mount your partition and install xz with the --root option pointing to your mounted partition. Also the method in the first thread you linked to will work, just the package is now called xz instead of xz-utils.

Once you have a working system again (irrespective of which method you use) you will need to pacman -Sf xz to let your current instance of pacman track the installed package.

edit: damn ebirtaid beat me to it sad

Last edited by quigybo (2010-09-27 07:30:27)

Offline

#7 2010-09-27 07:42:38

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: pacman is broken

Did you upgrade your kernel?  If so, maybe try rebooting into the new kernel.

Offline

#8 2010-09-27 15:00:11

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

Re: pacman is broken

I asume you used some old install cd?
I would just reinstall from the latest archboot image, it will probably take less time.


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

Offline

Board footer

Powered by FluxBB