Still plenty pkg updates in Octopi after `garuda-update -a`... what's the 1-command-to-update-all?

Trying to learn the one-command-does-all package-updating way. Bit new to Arch and its deriveds. (Just wondering what I’m not grokking, so don’t think this is an inxi-requiring thread =)

I tend to do one garuda-update -a per week, Friday afternoon or Sat morning. Last week, there was afterwards no more updates on offer in Octopi, so I thought it was all I had to do. But this time, a week later, there’s ~68 of them (after garuda-update -a and subsequent immediate reboot), looks like this:

So my question to learn here, what’s that due to, and would I want to update these manually here whenever I aim to “update everything now”?

I usually ignore these as actually updating from there just breaks the stuffs :eyes:
Just believe in upd -a or garuda-update -a
I don’t believe in GUI apps most of the time for this shit


good morning, i always use this command for a system update, you can change the country as you need it.

sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirro
rlist && cat /etc/pacman.d/mirrorlist && upd -a --skip-mirrorlist

the only gui app i still use to install or uninstall programmes is pacseek, i haven’t had any problems with it yet.


My not so informed guess is that it simply depends on the mirrors, they don’t update themselves all at once, and I read in some other thread that Octopi keeps its own mirror list (no idea if true or not).

My “strategy” about the mirror list is that I try to keep the same ones until they fail, to spare myself the time and their bandwidth.
I check them before an update (with my script, but there’s also milcheck and other alternatives I did not try).


Isn’t this completely un-necessary since the garuda update command uses rate mirrors to refresh the mirrorlist anyway? If you want it to use reflector instead you can just remove the rate mirror from your system.

As you can see the below is garuda’s script for updating mirrorlist if it doesn’t detect rate-mirrors it goes to reflector however from what I have seen reflector is very slow.

if [[ ! -v SKIP_MIRRORLIST ]]; then
    # Refresh mirrorlists
    if [ -x /usr/bin/rate-mirrors ]; then
        echo -e "\n\033[1;33m-->\033[1;34m Refreshing mirrorlists using rate-mirrors, please be patient..🍵\033[0m\n"
        # Refresh mirrorlist and make sure it actually contains content. There is a bug in rate-mirrors that creates empty files sometimes.
        rate-mirrors --allow-root --save="$MIRRORLIST_TEMP" arch --max-delay=21600 >/dev/null &&
            grep -qe "^Server = http" "$MIRRORLIST_TEMP" && install -m644 "$MIRRORLIST_TEMP" /etc/pacman.d/mirrorlist && $PACMAN -Syy && DATABASE_UPDATED=true || { echo -e "\033[1;31m\nFailed to update mirrorlist\033[0m"; }
        rm -f "$MIRRORLIST_TEMP"
    elif [ -x /usr/bin/reflector ]; then
        echo -e "\n\033[1;33m-->\033[1;34m Refreshing mirrorlists using reflector, please be patient..🍵\033[0m\n"

        reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist &&
            $INT && $PACMAN -Syy && DATABASE_UPDATED=true || { echo -e "\033[1;31m\nFailed to update mirrorlist\n\033[0m"; }

If the country flag is really important then I suppose your command makes sense however it would be easier to make it into one wrapper script for yourself and place it in ~/.local/bin so that you can invoke it all with one command


so to be honest NaN i have no idea, i’m just playing around and i’m just getting by so as not to annoy you here. :rofl:

SGS had posted the command somewhere in the forum, I tested it and the update runs more than twice as fast as the normal garuda-update.

ps.: hope deepl has translated it understandably

1 Like
alias upd '/usr/bin/garuda-update'

I skip mirrorlist


in /etc/garuda/garuda-update/config,
and sometimes I refresh it with

alias up 'sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && bat /etc/pacman.d/mirrorlist && sudo pacman -Syu'

It has been working perfectly here for years, and is certainly also dependent on the area.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.