Created
May 7, 2017 07:28
-
-
Save gustavi/0b8c7ad9c7809cd8aefebaa4498148ac to your computer and use it in GitHub Desktop.
Fix ArchLinux openssl fail update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error : | |
- Partial upgrade of system that contains openssl 1.1 | |
- pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory | |
- Network is unreachable | |
Fix : | |
- On other device : | |
- Download previous package (1.0 in this case) at https://archive.archlinux.org/packages/o/openssl/ | |
- Put it on USB key | |
- On broken device : | |
- Copy package in file system (`cd /root && mkdir fixopenssl && cd fixopenssl && cp /run/media/foo/usb_key/openssl-1.0.2.k-1-x86_64.pkg.tar.xz`) | |
- Extract package (`tar xJf openssl-1.0.2.k-1-x86_64.pkg.tar.xz`) | |
- Add `/etc/ld.so.conf.d/libcrypto.conf file with` : /root/fixopenssl/usr/lib | |
- Run `ldconfig` | |
- Reboot | |
- Enjoy ! | |
Update system ! | |
Post update fix : | |
TODO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment