Cool, then I suggest the following:
- Boot into a live environment, but with a relatively new ISO, one with a kernel that’s not EOL.
5.4
,5.10
or5.15
would work well, seeing as they’re the latest LTS versions. - Enter a
chroot
environment. - From the
chroot
environment, run an upgrade forcing replacing of all files:
pamac upgrade --enable-downgrade --aur --devel
This should sync everything again. It doesn’t touch your $HOME
directory’s files though, so if the problem is there, it’d persist after this.
If there are no errors, it’s safe to reboot. If, however, there were errors, do not reboot, rather post them here from the live environment.
How to chroot
-
Ensure you’ve got a relatively new ISO or at least one with an LTS kernel.
-
Write/copy/
dd
the ISO to a USB thumb drive. -
When done, boot with the above mentioned USB thumb drive into the live environment.
-
Once booted, open a terminal and enter the following command to enter the
chroot
encironment:
manjaro-chroot -a
- If you have more than one Linux installation, select the correct one to use from the list provided.
When done, you should now be in the chroot
environment.
But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart.