Hi @Slimy,
I suspect you’ll have to re-sync from a chroot
environment.
How to chroot
-
Ensure you’ve got a relatively new ISO or at least one with a still supported 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.
Afterward, please run the following to check the installed Kernels:
mhwd-kernel --listinstalled
If necessary, uninstall all non-supported, EOL kernels with:
mhwd-kernel --remove <kernelVersion>
_Where, you guessed it, _ <kernelVersion>
is the version of the kernel you wish to remove. For example linux510
, linux515
, or similar.
From within the chroot
environment, then run the following to re-sync the system:
pamac upgrade && pamac upgrade --aur --devel || echo -e '\033[0;91mThere was an error upgrading the system. AUR packages not upgraded.\e[0m'
This will update your system and ONLY if that was successful update any AUR packages.
a Reminder: While use of the AUR is possible, it’s neither recommended nor supported.
I recommend pamac
instead of pacman
, especially for newcomers as pamac
was developed by Manajaro (developers) for Manjaro and just takes care of more thing than pacman
. For example: