I see that some update their system with pacman and some use garuda-update.
What's the difference? I don't see a manpage for garuda-update.
I see that some update their system with pacman and some use garuda-update.
What's the difference? I don't see a manpage for garuda-update.
cat /usr/bin/garuda-update
And the beauty of open source software
Thanks for the quick response.
I learn more about Garuda everyday.
I only wish the "mirror update" wasn't included in Garuda-update. I set mine to manually search for the fastest US mirrors, where I am located. Correct me if I am wrong, but doesn't Garuda-update's mirror search use the worldwide search?
Quick view!!!, add at line 100
--country Germany
or your country.
garuda-update
:: Paketdatenbanken werden synchronisiert …
core ist aktuell
extra ist aktuell
community 6,6 MiB 3,64 MiB/s 00:02 [----------------------------------------------------------------------------------] 100%
multilib ist aktuell
chaotic-aur 1635,1 KiB 1632 KiB/s 00:01 [----------------------------------------------------------------------------------] 100%
--> Refreshing mirrorlists using reflector, please be patient..
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When: 2022-03-22 19:39:22 UTC
# From: https://archlinux.org/mirrors/status/json/
# Retrieved: 2022-03-22 19:39:13 UTC
# Last Check: 2022-03-22 19:33:46 UTC
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.luzea.de/archlinux/$repo/os/$arch
:: Paketdatenbanken werden synchronisiert …
Thank you!
--country Yo'mama's house!
Wow, what a difference that made !!!
You have to adapt it with every update, it is not a solution for countries with mirror problems, that's why the script searches worldwide.
I use reflector-simple to set my mirrors, then use garuda-update --skip-mirrorlist
. There are pros to doing it the way SGS suggested, mirrors are always updated and less typing. I just tend to run updates everyday, and reflector-simple once a week or two, as my mirrors (so far) have not had problems.
One might as well create a pacman hook to do that automatically
i'll create a soft-link to a script in my home directory and then manage it as part of my dot-files
or just make a copy of the script to run from /home
@Mr_McBride @RodneyCK @SGS I don't suggest modifying the update script
Anyway the more permanent (and better) way to disable the mirrorlist update is to create /etc/garuda/garuda-update/config
and add SKIP_MIRRORLIST=1
to it
I question the need for this script. "Simplicity" doesn't include obfuscation--that's for Windows. That's not how you instruct users.
What do you mean? Why do you question the need for this script?
pacman -Syu
simply does not provide the functionality we need. It can't apply hotfixes, keyring updates or anything beforehand. What else would you suggest to solve these issues?
Maybe add such thing in Garuda assistant
To ease the use
I have noticed Garuda becoming more and more distribution-centric, losing much of the user-centricity it had upon initial release. That is the simplicity that Arch holds and Arch-based distributions, such as Garuda, Arco, Endeavour and, yes, even Manjaro, start out with. (Manjaro may be the best/worst poster-child of an example, IMO.)
It must be some sort of Law of Linux Distributions, adding upon simplicity for the personal ease of users–making them more “user friendly”–and losing the initial user-centricity of the developer’s version. And once it starts it seems there’s no end to it. Manjaro was also very simple in its original design.
I really like Garuda, but mainly because of the Arch-involved friends developed over the years. In fact, “Garuda” can go take a flying-eff as far as I’m concerned, just as long as the people that make up the aforementioned group stay or even expand. You are in that group, by the way.
I remember installing Manjaro again a couple years ago. It had gotten so far away from its parent in simplicity it left a very foul taste in my mouth. I’ll be damned if I repeat that experiment.
Anyway, a very expansive answer to your short question. Developers gots to develop and there’s just no two ways around it. Sigh
Yeah...that didn't work. I had to actually create the 'garuda-update' folder, btw, then created a config file with 'SKIP_MIRRORLIST=1' in it, saved. Ran Garuda-update and it ran the mirror list refresh (globally).
Works on my end
nico@slim in ~ took 12s
λ cat /etc/garuda/garuda-update/config
File: /etc/garuda/garuda-update/config
SKIP_MIRRORLIST=1
This would work great if we could use a file like ~/.config/garuda/garuda-update.conf
. Which could include a --country Germany
, SKIP_MIRRORLIST=1
and how many files to download at once. As well as other configurable options that I am not aware of.