You are not logged in.

#1 2024-02-01 03:44:18

ykotl
Member
Registered: 2024-02-01
Posts: 3

[SOLVED] Pacman cannot run without libcurl/libssl

I have accidentally broken my libcurl dependency for Pacman by running Pacman -Syu and updating libcurl to a version that requires a later version of libssl than I have. I would like to either downgrade my libcurl or upgrade my libssl to resolve the dependency issue, but the following command:
pacman -U lib32-curl-8.5.0-1-x86_64.pkg.tar.zst
responds with the following error:
pacman/usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)

The same error is displayed if I attempt to upgrade from the locally saved openssl file, and when I attempt to run pcaman in any way.

I received the zst files from the aur archive and transferred them over to my system manually.
I manually held libssl back to version 3.1.4 in pacman.conf due to an incompatibility with a remote server that I use often.
I tried making libcurl 8.5.0 locally, but I do not know how to set this as my default curl version for pacman or other system applications to use.

If anyone has thoughts on how I can recover my pacman functionality I would appreciate it.

Last edited by ykotl (2024-02-01 21:39:17)

Offline

#2 2024-02-01 04:31:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,540

Re: [SOLVED] Pacman cannot run without libcurl/libssl

https://wiki.archlinux.org/title/Pacman … ing_pacman

You need to use option 1 or 2 in that link. Then FULLY update your system. -Syu should have updated openssl unless you're holding it back, so don't do that. Partial updates are unsupported, and things like this are completely expected when doing them.

Offline

#3 2024-02-01 16:21:13

ykotl
Member
Registered: 2024-02-01
Posts: 3

Re: [SOLVED] Pacman cannot run without libcurl/libssl

Thanks for your response. Using option 1 from the link that you provided, I am not understanding how to use pacman-static to actually install the missing dependency or fully upgrade my system. Here are the errors I get after using the binary pacmann-static from the pinned comment on the aur:
pacman-static -U lib32-openssl-1_3.2.1-1-x86_64.pkg.tar.zst

:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt
pacconf: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pactree: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacconf: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacconf: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacconf: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)

pacman-static -Syu

warning: too many errors from coresite.mm.fcix.net, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db' from coresite.mm.fcix.net : Could not resolve host : coresite.mm.fcix.net
error: failed retrieving file 'multilib.db' from coresite.mm.fcix.net : Could not resolve host : coresite.mm.fcix.net
warning: too many errors from de.freedif.org, skipping for the remainder of this transaction
error: failed retrieving file 'core.db' from uvermont.mm.fcix.net : Could not resolve host: uvermont.mm.fcix.net

The above output is truncated, but the warning and error messages are the same for different mirror URLs. I tried to output this to a log file (pacman -Syu > output.log) but the log file did not include the errors, only showed these lines:

:: Synchronizing package databases...
core downloading...
extra downloading...
multilib downloading...

My pacman.conf has the IgnorePkg line commented out:

#IgnorePkg = openssl
#SE servers do not like openssl versions above openssl-3.1.4
#OpenSSL-3.2.0 released 1/31
#IgnoreGroup =

Offline

#4 2024-02-01 18:38:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,540

Re: [SOLVED] Pacman cannot run without libcurl/libssl

So you have no network connection, either, probably as a result of the same problem. Time to go with option 2.

Or you can maybe download https://archlinux.org/packages/core/x86 … /download/ and transfer it via flash drive or something, installing it with pacman-static. Might work, might not.
Stop messing with the lib32 version of openssl, it has nothing to do with anything here.

Last edited by Scimmia (2024-02-01 18:52:21)

Offline

#5 2024-02-01 20:21:17

ykotl
Member
Registered: 2024-02-01
Posts: 3

Re: [SOLVED] Pacman cannot run without libcurl/libssl

Option 2 worked.

Thanks for pointing me in the right direction and letting me know when I was chasing the wrong threads.

Offline

#6 2024-02-01 20:56:45

seth
Member
Registered: 2012-09-03
Posts: 62,332

Re: [SOLVED] Pacman cannot run without libcurl/libssl

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB