You are not logged in.

#1 2017-06-29 19:59:25

Ploppz
Member
Registered: 2013-09-14
Posts: 313

[Solved] Deleted libcrypto, cannot reinstall

So I find myself in the Newbie Corner because I did something unbelievably stupid. I wanted to reinstall/update foxitreader:

ploppz at ~  $ packer -S foxitreader

Aur Targets    (2): qt-installer-framework foxitreader
Pacman Targets (1): fcitx-qt5

Proceed with installation? [Y/n] y
resolving dependencies...
looking for conflicting packages...

Packages (5) double-conversion-2.0.1-3  fcitx-4.2.9.1-2  openssl-1.0-1.0.2.l-1  qt5-base-5.9.0-2  fcitx-qt5-1.1.0-2

Total Download Size:   19,61 MiB
Total Installed Size:  96,71 MiB
Net Upgrade Size:      41,70 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 openssl-1.0-1.0.2.l-1-x86_64                                                                                         1572,1 KiB   865K/s 00:02 [########################################################################################]   7%
 double-conversion-2.0.1-3-x86_64                                                                                     1617,9 KiB   765K/s 00:02 [########################################################################################]   8%
 qt5-base-5.9.0-2-x86_64                                                                                                12,5 MiB  1670K/s 00:08 [########################################################################################]  63%
 fcitx-4.2.9.1-2-x86_64                                                                                                 19,5 MiB  2028K/s 00:10 [########################################################################################]  99%
 fcitx-qt5-1.1.0-2-x86_64                                                                                               19,6 MiB  1968K/s 00:10 [########################################################################################] 100%
(5/5) checking keys in keyring                                                                                                                  [########################################################################################] 100%
(5/5) checking package integrity                                                                                                                [########################################################################################] 100%
(5/5) loading package files                                                                                                                     [########################################################################################] 100%
(5/5) checking for file conflicts                                                                                                               [########################################################################################] 100%
error: failed to commit transaction (conflicting files)
openssl-1.0: /usr/lib/libcrypto.so.1.0.0 exists in filesystem
openssl-1.0: /usr/lib/libssl.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
Installation failed.
ploppz at ~  $ sudo rm /usr/lib/libcrypto.so.1.0.0 /usr/lib/libssl.so.1.0.0 
ploppz at ~  $ packer -S foxitreader                                       
pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
sort: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

Aur Targets    (1): foxitreader

Proceed with installation? [Y/n] y
sort: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Dependencies for `foxitreader' are not met, not building...

And I cannot fix this by reinstalling libcrypto because pacman depends on it.

I would really appreciate a quick solution, as I need to use my PC asap. Anyone care to send me their libcrypto.so.1.0.0 and libssl.so.1.0.0 files?

Last edited by Ploppz (2017-06-29 20:07:33)

Offline

#2 2017-06-29 20:04:11

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [Solved] Deleted libcrypto, cannot reinstall

The pacman and curl binaries in the arch repo's are linked against /usr/lib/libssl.so.1.1 and /usr/lib/libcrypto.so.1.1 is your system not fully updated or not using the arch repo's?

Offline

#3 2017-06-29 20:06:01

Ploppz
Member
Registered: 2013-09-14
Posts: 313

Re: [Solved] Deleted libcrypto, cannot reinstall

I fixed it by downloading the package snapshot of openssl-1.0 and copying to /usr/lib...

Offline

#4 2017-06-29 20:07:22

Ploppz
Member
Registered: 2013-09-14
Posts: 313

Re: [Solved] Deleted libcrypto, cannot reinstall

loqs wrote:

The pacman and curl binaries in the arch repo's are linked against /usr/lib/libssl.so.1.1 and /usr/lib/libcrypto.so.1.1 is your system not fully updated or not using the arch repo's?

Not fully updated. But a system update would take 2 GB to download and I'm somewhere I should not download that much.

Edit: I see now that the local version is 1.0.2.k-1, and the version I copied the lib* files from is 10.0.2.l-1. Does this matter?

Last edited by Ploppz (2017-06-29 20:13:36)

Offline

#5 2017-06-29 20:24:35

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved] Deleted libcrypto, cannot reinstall

A better way to fix it is to mount your partition from the live ISO and use the -r flag of pacman to change the root and reinstall the package. See pacman(8) for details.

Edit:

Ploppz wrote:

Not fully updated. But a system update would take 2 GB to download and I'm somewhere I should not download that much.

Does this mean you are doing partial updates or that you are avoiding -Syu? Be aware that partial updates can cause unnecessary breakage.

Last edited by fsckd (2017-06-29 20:31:28)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2017-06-29 21:56:44

Ploppz
Member
Registered: 2013-09-14
Posts: 313

Re: [Solved] Deleted libcrypto, cannot reinstall

fsckd wrote:

A better way to fix it is to mount your partition from the live ISO and use the -r flag of pacman to change the root and reinstall the package. See pacman(8) for details.

Edit:

Ploppz wrote:

Not fully updated. But a system update would take 2 GB to download and I'm somewhere I should not download that much.

Does this mean you are doing partial updates or that you are avoiding -Syu? Be aware that partial updates can cause unnecessary breakage.

No, it's just a long time since this laptop was updated.

Offline

Board footer

Powered by FluxBB