garuda-update
is Garuda Linux’s preferred update solution. The update script allows Garuda Linux to apply certain hotfixes and update automations for a smoother experience.
rate-mirrors
garuda-hotfixes
package is updated before any other system packages are updated to fix any important issues.Simply use garuda-update
or update
in your shell of choice. Both commands do the same thing. Additionally, the following parameters are available:
Parameter | Environment variable | Description |
---|---|---|
–skip-mirrorlist | SKIP_MIRRORLIST=1 | Don’t update the mirrorlist before applying the system update. |
–aur/-a | UPDATE_AUR=1 | Update AUR packages via paru/yay after system update. |
–noconfirm | PACMAN_NOCONFIRM=1 | Emulate a custom (safer) version of --noconfirm for pacman |
– [extra pacman parameters] | PACMAN_EXTRA_OPTS | Add extra pacman parameters (everything after the two dashes) |
A config file can be created at /etc/garuda/garuda-update/config
that can contain the environment variables in the following format:
SKIP_MIRRORLIST=1
UPDATE_AUR=1
Garuda-update offers additional features beyond the basic update process. These features provide users with more control and flexibility over system maintenance.
Command | Description |
---|---|
garuda-update remote fix |
Reset pacman.conf and refresh keyrings. |
garuda-update remote keyring |
Refresh keyring without resetting pacman.conf . |
garuda-update remote fullfix |
Reset pacman.conf , refresh keyrings, and reinstall all packages in your OS. |
garuda-update remote reinstall |
Reinstall all packages in your OS. |
garuda-update remote reset-snapper |
Remove all backup subvolumes and snapshots created by Snapper, and force recreates Snapper configs. |
garuda-update remote reset-audio |
Reinstall Pipewire-support and WirePlumber, and disable/enable their services to reset the audio configuration. |
Be cautious with the remote commands! Some operations, like resetting Snapper or audio configurations, may have significant impacts on your system.