Refreshing `pacman-mirrors` and updating with `pamac` on CLI

I usually upgrade with

sudo pacman-mirrors --fasttrack 10 && sudo pacman -Syyu

I am trying to use pamac as default and want to know if the relevant command is:

sudo pacman-mirrors --fasttrack 10 && pamac upgrade



The pamac command would be pamac update -a This would also include any AUR packages you have installed.

1 Like
sudo pacman-mirrors --fasttrack 10 && sudo pamac upgrade

run pamac -h for help (or man pamac) :wink: upgrade == update

1 Like

I have the same question as chandra because i couldn’t see a Firefox update in the past under the pamac GUI and it couldn’t find it even after several days of waiting.

I had to update the mirrors to see the package and i did this with:

sudo pacman-mirrors --fasttrack && sudo pacman -Syyu

This was the time where i switched from pacman to pamac, but today after i had problems with the stable update… i saw that pamac is recommend but with pamac update i don’t see there will be mirrors updated in background and i also can’t find the a mirror command in pamac -h or man pamac.

Edit: Correct me if im wrong, but i think that sudo pacman-mirrors --fasttrack and after that pamac update -a is the way to go here?

My question is now to run this both commands in a single step… will this following command work?

sudo pacman-mirrors --fasttrack && pamac update -a

Double Edit: My command won’t work, we have to use 2 commands then :wink:

1 Like

2 different command. run pacman-mirror for get best mirror and after we can use pacman,pamac, yay or…
pacman-mirrors is for all

To bad this won’t work in a combo… would safe time :wink:

sudo pacman-mirrors --fasttrack && pamac update -a works for me.