ah, thanks
just changed my alias for system upgrade tosudo pacman -Sy linux-headers linux-lts-headers linux-pf-headers --needed && sudo pacman -Su
I modified the above slightly since I use the same .bashrc on multiple systems (so different header requirements). Thought I'd share. I also use packer in the second part to include aur.... convert that to pacman for just official repo's.
alias sysupgrade='sudo pacman -Sy $(pacman -Qq | grep headers) --needed && sudo packer -Su'
sudo pacman -Rcs yaourt
then run commands:
sudo pacman -Sy
sudo pacman -S linux-headers
sudo pacman -S pacman
sudo pacman -S yaourt
modify ~/.bashrc with this line
alias yaourt='sudo /usr/bin/pacman -Sy linux-headers pacman --needed 2>/dev/null && yaourt'
2>/dev/null suppresses warnings about the skipped reinstalls of linux-headers and pacman
Now use yaourt -Su instead of formerly yaourt -Syu
yaourt -Su
Arch Rulez
JohnDVD
sudo pacman -Sy linux-headers linux-lts-headers linux-pf-headers --needed && sudo pacman -Su
for example, in case of
https://wiki.archlinux.org/index.php/Vi … any_kernel
previously, i had
SyncFirst = pacman linux-headers linux-lts-headers linux-pf-headers