mhwd-kernel -i linux519
pacman -Syu linux519
mhwd-kernel -i will install another kernel.
pacman -Sy as written will only update/refresh the Manjaro repo located at /var/lib/pacman/sync/*.db.
If you added a
-u to the above, your system’s installed packages (including kernel) would be upgraded.
It is discouraged to used
-Sy, but rather
Just a side note: it is suggested to review the Stable Update Announcement before updating, at least the first post. It is usually written by @philm and includes what is being updated, issues, and if there are any manual steps required.
In addition to the above, if you’ve changed or updated your mirrors, then you should use
-Syyu instead of
pacman -Sy linux519 can install base kernel package for kernel v5.19
mhwd-kernel -i linux519 installs all kernel packages needed by system
When I used this command on my system recently, Manjaro Hardware Detection installed
Manjaro Settings Manager > Kernel GUI (
manjaro-settings-manager -m msm_kernel) uses
mhwd-kernel is just a bash script that uses
pacman to install few other packages beside kernel that you (might) need.
Another thing mhwd-kernel does when adding/removing kernels
- include headers if present for other kernels
- include nvidia modules if present for other kernels
Using pacman - you would need to know these extra packages.