You are not logged in.

#1 2010-04-09 08:17:36

zmbmartin
Member
Registered: 2009-06-18
Posts: 43

Openssl issues [SOLVED]

I was looking at possibly downgrading openssl to 0.9.8 and I accidentily removed openssl 1.0.0 so now when I try to do anything with pacman I get this error:

pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

What do I do now?

Thanks

Last edited by zmbmartin (2010-04-09 19:27:51)

Offline

#2 2010-04-09 08:26:37

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Openssl issues [SOLVED]

something like this should work: download the package from any mirror (or take it from your cache if you still have it), then
# tar xvfp package_name.pkg.tar.gz -C /
then remove the package's dotfiles in / and resintall it with pacman so it can keep track of it.

Offline

#3 2010-04-09 08:27:10

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

Re: Openssl issues [SOLVED]

Best: boot the arch install disk, mount your hard drive and "pacman -S --root /path/to/mnt openssl".

OK: get the openssl-1.0... package from your cache, manually extract that in your system root, then "pacman -Sf openssl" and remove .PKGINFO (and .INSTALL?) from your system root.

Offline

#4 2010-04-09 08:34:47

zmbmartin
Member
Registered: 2009-06-18
Posts: 43

Re: Openssl issues [SOLVED]

Thank you! For a minute I thought my heart stopped. Would it be bad to downgrade to 0.9.8 if I did it right?

Thanks

Offline

#5 2010-04-09 08:39:30

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Openssl issues [SOLVED]

you can always downgrade (but we're archers, aren't we? we like hemoglobinatic updates) but be sure to do it for each package that depends on it.

Offline

#6 2010-04-09 12:24:44

k2cl
Member
Registered: 2009-02-14
Posts: 2

Re: Openssl issues [SOLVED]

Downgrade to 0.9.8 seems to be the best solution at the moment... Unfortunately openssl 1.0.0 breaks conky, it causes also firefox segfaults at many different webpages. It's also a pity, that if you'll upgrade openssl without libarchive / libfetch, you'll have to say goodbye to pacman for a while - I think that someone forgot about dependencies for that upgrade...

Offline

#7 2010-04-09 12:28:06

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Openssl issues [SOLVED]

No, you just don't know how to use it. If you downgrade a package you should know about the consequences.

Offline

#8 2010-04-09 12:35:17

k2cl
Member
Registered: 2009-02-14
Posts: 2

Re: Openssl issues [SOLVED]

Pierre, thanks for your answer!
All right, I'm not saying that I'm arch-pro, but usually I'm able to solve all my problems. This time it's not working - I'm not getting detailed informations from firefox, and if we're talking about conky - I have no idea how to run it without library in version, that  doesn't exist in my system any more... I did the downgrade, because at the moment it seems to be the only way to get properly working environment - probably I'll try upgrade when I'll see new version of openssl package.
If I'm wrong and you know some solution - I'll give it a try big_smile

Last edited by k2cl (2010-04-09 12:37:37)

Offline

#9 2010-04-09 14:40:27

Cilyan
Member
From: Toulouse (FR)
Registered: 2006-08-27
Posts: 97
Website

Re: Openssl issues [SOLVED]

I knew it, read it some weeks ago... But I forgot hmm
So here it is, I upgraded openssl alone lol
So for those who are as stupid as me, here is my solution :

cd /var/cache/pacman/pkg
# Remove openssl 1.0 (prepend / and filter directories)
tar -tf openssl-1.0.0-2-i686.pkg.tar.gz | sed "s@^@/@" | grep -vE "/$" | xargs rm -f
# Install openssl 0.9.8
tar -xf openssl-0.9.8n-1-i686.pkg.tar.xz -C /
# Upgrade everything
pacman -Suy
# Now pacman complains it doesn't have openssl 1.0 :D
# Remove openssl 0.9.8 (prepend / and filter directories)
tar -tf openssl-0.9.8n-1-i686.pkg.tar.xz | sed "s@^@/@" | grep -vE "/$" | xargs rm -f
# Reinstall openssl 1.0
tar -xf openssl-1.0.0-2-i686.pkg.tar.gz -C /
# Final cleaning
rm /.PKGINFO

And as you finally reinstalled openssl 1.0, pacman database is not broken... feww smile

Offline

#10 2010-04-09 19:30:59

zmbmartin
Member
Registered: 2009-06-18
Posts: 43

Re: Openssl issues [SOLVED]

bangkok_manouel wrote:

but we're archers, aren't we? we like hemoglobinatic updates

Yes I love having the newest but I was reluctant to upgrade to ruby 1.9. I use rails and all the sites that I have built are all on 1.8.7 and as soon as I wasn't paying attention and I upgraded Openssl it broke all my ruby stuff.

Turns out that there were only a handful of changes I had to make to get things working so I am on my way now. I am happy ruby 1.9 is so much faster.

Thanks guys.

Offline

Board footer

Powered by FluxBB