You are not logged in.
As pacman 4.1 doesn't more provide SyncFirst option how to be sure mkinitcpio will run after linux-headers installation?
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
Last edited by wild.lumberjack (2013-04-05 19:36:32)
Offline
Same question.
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Offline
ah, thanks
just changed my alias for system upgrade to
sudo pacman -Sy linux-headers linux-lts-headers linux-pf-headers --needed && sudo pacman -Su
Offline
I hat to uninstall yaourt, yail and package-query simply by:
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
Last edited by JohnDVD (2013-04-06 07:49:38)
Offline
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'
Offline