You are not logged in.

#1 2024-04-11 10:42:26

smolloy
Member
Registered: 2024-03-07
Posts: 6

[SOLVED] Need help repairing pacman after downgrading openssl

Hi all,
I did a dumb thing.  I was trying to debug a problem that may have been related to a recent upgrade in openssl, and I decided (stupidly) to test this by downgrading openssl.  This broke pacman (and probably a bunch of other stuff).

pacman: /usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /usr/lib/libcurl.so.4)

I have tried to fix this by downloading and compiling the relevant openssl source, but this did not help.

Before I make matters worse, can someone advise on how to get myself out of this hole?  Perhaps there is something clever I could do with an arch live USB?

Thanks.

Last edited by smolloy (2024-04-12 07:49:24)

Offline

#2 2024-04-11 11:09:59

loqs
Member
Registered: 2014-03-06
Posts: 17,481

Re: [SOLVED] Need help repairing pacman after downgrading openssl

See Pacman#Pacman_crashes_during_an_upgrade.  I think you can skip steps 4 and 5 and just restore the openssl package.

Offline

#3 2024-04-11 12:07:48

smolloy
Member
Registered: 2024-03-07
Posts: 6

Re: [SOLVED] Need help repairing pacman after downgrading openssl

Nice.  I did steps 1 -> 4, and it worked perfectly.  Step #4 picked up the downgraded package, and upgraded it back to the most recent version.

Thanks for your help.

Offline

#4 2024-04-11 13:38:22

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [SOLVED] Need help repairing pacman after downgrading openssl

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.

Last edited by seth (2024-04-11 13:38:31)

Offline

#5 2024-04-12 07:50:47

smolloy
Member
Registered: 2024-03-07
Posts: 6

Re: [SOLVED] Need help repairing pacman after downgrading openssl

seth wrote:

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.

Apologies for that.  I had tried to do that, but couldn't see how.  Your post poked me into trying harder smile

Offline

Board footer

Powered by FluxBB