Apt Upgrade Fails after new cpu upgrade

Hello,
I just recently upgraded my pc's cpu, and when trying to update ( sudo apt update), it starts but ends up failing while reading package lists and says Segmentation faultsts... 98%
I haven't been able to find much help with this anywhere, and all things I have tried have failed so far, including disabling amd Ftpm.
Note: This failure occurs when trying to do almost any operation with apt in the terminal(installation, updating, upgrading). I would also like to add that prior to this error it threw some weird key related error somewhere, but I haven't managed to get that error again.
Thanks for any help :slight_smile:

Can you please boot into Advanced Options for Zorin, and choose Recovery

Arrow key down to drop to Prompt
Hit enter
Then run:

sudo update-initramfs -c -k $(uname -r)

Reboot the machine, then test sudo apt update && sudo apt upgrade

Thanks for the tip, but it seems that it works again...i didn't do anything so that's weird. but it works, so that's the important part
Thanks again

Marked thread with solution.