You are not logged in.
Pages: 1
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
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
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
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
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
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
No, you just don't know how to use it. If you downgrade a package you should know about the consequences.
Offline
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
Last edited by k2cl (2010-04-09 12:37:37)
Offline
I knew it, read it some weeks ago... But I forgot
So here it is, I upgraded openssl alone
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
Offline
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
Pages: 1