archlinux-downgrade / downgrade

Downgrade packages in Arch Linux
GNU General Public License v2.0
541 stars 24 forks source link

After some full system update, i got "error while loading shared libraries: libalpm.so.13" #224

Closed steven12138 closed 4 months ago

steven12138 commented 4 months ago

:question: Questions/Help

Checklist

Environment

pbrisbin commented 4 months ago

Are all of your packages up to date right now, or do you have some things already downgraded?

The error is indicating that pacsort depends on a specific versions of libalpm, which is not present. This mismatch is unlikely to be a situation that downgrade can help with, since it itself relies on a functional pacsort.

Knowing more about how you got into this situation could help us offer suggestions, but I doubt we'll find this to be a bug in downgrade itself, and it may just require some manual steps to resolve.

steven12138 commented 4 months ago

After upgrading all packages on my system using yay (I enable the testing source), it seems that the issue stems from the update of libaplm. Consequently, both pacsort and downgrade functionalities have been affected, rendering me unable to utilize downgrade to revert libaplm to its previous version and resolve the issue. At present, I am unsure how to address this problem.

i also checked /var/cache/pacman/pkg/, there is no previous version of libaplm

it's currently not a big deal, but i believe my system will be affect soon by some other fully system update.

pbrisbin commented 4 months ago

Got it.

Yeah, so using yay and testing are both somewhat advanced and can certainly get you into a bind like this. I'm not sure the best way to get out of it, but you could try to use the ALA manually to downgrade libalpm. Beyond that, you could go to the forums or IRC for support.

In any event, this seems unrelated to downgrade itself and is definitely not a bug, so I'll close the Issue.

steven12138 commented 4 months ago

I've finally resolved the issue! Understanding that libalpm is a shared library within the pacman package, I reinstalled pacman, which automatically downgraded from version 6.1.0 to 6.0.2 (i really don;t know why). Afterwards, I reinstalled 'packagekit,' 'yay,' and 'downgrade.'

Thank you so much for your assistance! I truly appreciate it.

steven12138 commented 4 months ago

i know why. just caused by testing