You are not logged in.

#1 2010-04-25 09:24:15

RufusD
Member
Registered: 2010-03-21
Posts: 86

[FIXED] killed pacman by removing openssl

Hi there!
While wrestling my broken samba server down by trying to downgrade samba to 3.4.6 I encountered a series of dependency issues. So what I did was
-downgrade tdb (all packages taken from http://schlunix.org/archlinux/ )
-downgrade smbclient
-downgrade samba
-downgrade heimdal (to provide libkrb5.so.25)
Now samba complains about missing libcrypto.so.0.9.8 (which is at version 1.0 on my system). Next step was to pacman -R openssl to be able to pacman -U /path/to/openssl-0.9.8n-1-i686.pkg.tar.xz .
Turns out pacman needs openssl to function, so now I can't even revert my mistake:

pacman -U openssl-0.9.8n-1-i686.pkg.tar.xz 
pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
[root@Godot download]# pacman -U /var/cache/pacman/pkg/openssl-1.0.0-2-i686.pkg.tar.gz 
pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Is there any way to get pacman working again? Would simply unzipping openssl-1.0.0-2-i686.pkg.tar.gz work? How would I go on to update pacman's database afterward? pacman -S openssl as if nothing had happened?
Best wishes,
Rufus

Last edited by RufusD (2010-04-25 11:27:46)

Offline

#2 2010-04-25 09:55:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Offline

#3 2010-04-25 09:57:16

Spacenick
Member
From: Germany
Registered: 2010-04-02
Posts: 168

Re: [FIXED] killed pacman by removing openssl

you could unzip the openssl package and temporarily put itit's libssl.so.1.0.0 in /usr/lib then use pacman to restore your system.
I'm not an Arch Linux expert but from what i've read on these forums and from thinking about how a Linux system works, downgrading some packages while leaving others as is, is a very bad idea especially for widely used packages like common libraries.

Offline

#4 2010-04-25 11:27:30

RufusD
Member
Registered: 2010-03-21
Posts: 86

Re: [FIXED] killed pacman by removing openssl

Thanks, I got it to work again!

Offline

Board footer

Powered by FluxBB