MESSAGE
DATE | 2017-05-17 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout of NYLXS] openssl troubles and Manjaro
|
I posted this to the Manjaro forum this morning. It seems that the openssl on the archives doesn't work with the rest of the updated packages.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have a huge problem. I pacman for nmap and it didn't work because is couldn't find ssl sudo pacman -S openssl
So I did an upgrade of openssl and nmap worked but now it can not find libcrypt so now nothing else works, including pacman :frowning:
[ruben-at-flatbush ~]$ ls -al /usr/lib/ Display all 5962 possibilities? (y or n) [ruben-at-flatbush ~]$ ls -al /usr/lib/|grep crypt drwxr-xr-x 2 root root 85 Dec 22 02:34 ecryptfs -rwxr-xr-x 1 root root 39032 Mar 6 09:06 libcrypt-2.25.so -rw-r--r-- 1 root root 57608 Mar 6 09:06 libcrypt.a lrwxrwxrwx 1 root root 16 Feb 16 09:51 libcrypto.so -> libcrypto.so.1.1 -rwxr-xr-x 1 root root 2583784 Feb 16 09:52 libcrypto.so.1.1
[ruben-at-flatbush ~]$ cat /etc/ld.so.conf /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf End of file
[ruben-at-flatbush ~]$ ls -al /etc/ld.so.conf.d/*.conf -rw-r--r-- 1 root root 21 Aug 5 2016 /etc/ld.so.conf.d/fakeroot.conf -rw-r--r-- 1 root root 31 Feb 1 23:56 /etc/ld.so.conf.d/ffmpeg0.10.conf -rw-r--r-- 1 root root 30 Mar 26 10:16 /etc/ld.so.conf.d/ffmpeg2.8.conf -rw-r--r-- 1 root root 21 Feb 10 2015 /etc/ld.so.conf.d/neatx.conf
[ruben-at-flatbush ~]$ cat /etc/ld.so.conf.d/*conf /usr/lib/libfakeroot /usr/lib/ /usr/lib/ffmpeg0.10/ /usr/lib/ /usr/lib/ffmpeg2.8/ /usr/lib /opt/NX/lib
Remove this whole part before you post something in this category
created 1h last reply 12m 16 replies 13 views 2 users 12 5
mrbrklyn 1h
ls -al /usr/lib/libcrypto.so.1.0.0 ls: cannot access '/usr/lib/libcrypto.so.1.0.0': No such file or directory
it is acutally not there mrbrklyn 43m
this is a mess
pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory [flatbush ~]# ln -s /usr/lib/libs /usr/lib/libcrypto.so.1.0.0 Display all 271 possibilities? (y or n) [flatbush ~]# ln -s /usr/lib/libssl /usr/lib/libcrypto.so.1.0.0 libssl3.so libssl.so libssl.so.1.1 [flatbush ~]# ln -s /usr/lib/libssl.so.1.1 /usr/lib/libssl.1.0 [flatbush ~]# pacman -S sudo pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory [flatbush ~]# ln -s /usr/lib/libssl.so.1.1 /usr/lib/libssl.1.0.0 [flatbush ~]# ldconfig [flatbush ~]# pacman -S sudo pacman: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory [flatbush ~]# ln -s /usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.0.0 [flatbush ~]# pacman -Syu :: Synchronizing package databases... pacman: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: SSL_load_error_strings artooManjaro Team 41m
Did you do a partial upgrade, ie only upgrade of selected packages? This looks like the result of partial upgrade. mrbrklyn 35m
Hi artoo
I initially ran pacman -Suy and it said there was nothing to do. I did need to load openssl for nmap. It was weird. I tried to pacman nmap and it installed fine but didn't work correct and complained it needed libssl, so I downloaded openssl sudo pacman -S openssl mrbrklyn 34m
[flatbush ~]# pacman -Ss openssl core/openssl 1.1.0.e-1 [installed] The Open Source toolkit for Secure Sockets Layer and Transport Layer Security mrbrklyn 32m
[flatbush ~]# pacman -Ss nmap extra/nmap 7.40-2 [installed]
I think I am going to have to fix something by hand. artooManjaro Team 32m
sudo pacman -S openssl
Which wasn't installed? Strange.
Anyway, you basically shot down your flying pacman craft. This is a bit more difficult to repair.
You need a live cd, and set the livecd's pacman.conf to your mounted /. Then reinstall the base group, and note, you do not chroot, you set your live pacman to use your borked / as destination. mrbrklyn 29m
openssl was installed but it is inconsistent with the packages. I think there is a problem in the packages at this point because the current openssl in the core layer is
core/openssl 1.1.0.e-1 [installed] The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
and the software is largely built for openssl 1.0.0
maybe I can fix curl artooManjaro Team 26m
and the software is largely built for openssl 1.0.0
Hence why partial upgrades are unsupported. You may have had bad timing or a bad mirror. The result was, a partial upgrade, and I can onnly recommend you to reinstall the full base group. You probably broke more than just pacman. Good luck. mrbrklyn 26m
You need a live cd, and set the livecd's pacman.conf to your mounted /. Then reinstall the base group, and note, you do not chroot, you set your live pacman to use your borked / as destination.
how do I stop the live version from doing chroot? mrbrklyn 25m
ou probably broke more than just pacman. Good luck.
ROFL - Oye this is not fun artooManjaro Team 22m
how do I stop the live version from doing chroot?
You simply don't, you probably need to read up on pacman eventually. I don't quite understand your question here. The only way to repair your pacman is to access the system from another pacman based system. Your pacman in the chroot is broke, hence a chroot will throw the same error as you experience. Thus, you need to use another pacmann, set its root dir to your broke system, and reinstall some base packages.
Default pacman.conf has this line commented
#RootDir = /
Uncomment it in live session and set it to your mounted broke system. mrbrklyn 21m
Uncomment it in live session and set it to your mounted broke system.
got it mrbrklyn 18m
can you reach sourceforge artooManjaro Team 16m
Yes, your net connection may be also broke since your openssl reinstall. mrbrklyn 12m
I got it. It took a couple of time to pull it. I thik maybe that virus is causing chaos on the net :frowning:
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://www.nylxs.com/mailman/listinfo/hangout
|
|