You are not logged in.

#1 2009-05-28 19:13:12

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

[Solved] I broke Pacman

Hello
Today when i clean my system i remove bzip2 package (It was disaster).
And when i want something to remove or install i got error that pacman can't load libbz2.so.1 libary.
There any wau to recovery pacman. (i got arch cd,pacman sources and cimpiled packages.
Please help.

Last edited by SpeedVin (2009-05-30 06:54:12)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#2 2009-05-28 19:19:45

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: [Solved] I broke Pacman

libbz2.so* (there might be several) should be in /lib on the CD.

Offline

#3 2009-05-28 19:22:34

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] I broke Pacman

You can download the bzip2 package with wget, and untar it into the installation root (and hope tar doesn't need bzip2 installed to do that stuff).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2009-05-28 19:47:15

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: [Solved] I broke Pacman

Offline

#5 2009-05-28 20:06:29

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: [Solved] I broke Pacman

Assuming you have the bzip2-1.0.5-4 package somewhere on your root partition, you can try the following:

Boot off the live CD and mount your root partition under /mnt/archroot:

mkdir /mnt/archroot && mount /dev/sdxx /mnt/archroot

Install the bzip2 package in the newly mounted root:

pacman -r /mnt/archroot -U /mnt/archroot/path/to/bzip2-1.0.5-4-{i686,x86_64}.pkg.tar.gz

Reboot. smile

Offline

#6 2009-05-28 20:07:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] I broke Pacman

@thunderogg
Wrt your signature: don't let the door hit you on your way out :-)

@B
tar can be used w/ different compressors, but it needs external apps like gzip, bzip2, xztools etc. It also applies to bsdtar.

Offline

#7 2009-05-28 20:52:21

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: [Solved] I broke Pacman

Lol, the same thing happened to me just yesterday. I solved it with the method foutrelis mentioned.

Offline

#8 2009-05-28 21:15:40

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: [Solved] I broke Pacman

karol wrote:

@thunderogg
Wrt your signature: don't let the door hit you on your way out :-)

The chanses I will find a distro which is better are slim, so I don't think I have to worry about the door. wink

Offline

#9 2009-05-28 22:53:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] I broke Pacman

@thunderogg
Oh well, whatever, nevermind :-)

@SpeedVin
Sorry for OT.

Offline

#10 2009-05-29 17:03:56

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] I broke Pacman

Thanks you all you really help my.
Thanks and bye.


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

Board footer

Powered by FluxBB