Update EndeavourOS from the command line?

pacman -Syu - updates system and software from the Arch Repositories
yay (or yay -Syu) updates software from the Arch User Repositories

What is it that updates the EndeavourOS specific apps? I’m assuming this is on a separate repository on it’s own server somewhere and there is a specific terminal command to update it?

Just curious to understand how it works. :slight_smile:

Thanks

1 Like

No, it uses Arch’s mechanisms of adding custom repo, so :enos: repo programs updates via same

sudo pacman -Syu

P.S. All Arch repos are listed in that file /etc/pacman.conf

3 Likes

by the way you see the repo when you run the update commands.

[pycrk@ovoEnd ~]$ sudo pacman -Syu
[sudo] Passwort für pycrk: 
:: Paketdatenbanken werden synchronisiert …
 core                                                                                 156,5 KiB   230 KiB/s 00:01 [--------------------------------------------------------------------] 100%
 extra                                                                               1722,1 KiB   986 KiB/s 00:02 [--------------------------------------------------------------------] 100%
 community                                                                              6,7 MiB  1459 KiB/s 00:05 [--------------------------------------------------------------------] 100%
 multilib                                                                             172,2 KiB   210 KiB/s 00:01 [--------------------------------------------------------------------] 100%
 endeavouros ist aktuell

[pycrk@ovoEnd ~]$ yay
:: Paketdatenbanken werden synchronisiert …
 core ist aktuell
 extra ist aktuell
 community ist aktuell
 multilib ist aktuell
 endeavouros ist aktuell

2 Likes

You could just use:

yay

to update packages from Arch plus EnOS repos (and other repos if you have them added to pacman.conf) and from AUR in one go if you wish so.

2 Likes

Not exactly.

yay (or yay -Syu) updates both the regular repo packages plus AUR packages.

yay -Sua updates only AUR packages.

4 Likes

Thanks guys, that’s really helpful.

So in a nutshell, EndeavourOS uses Arch’s mechanisms of adding the custom repository for EndeavourOS.

\etc\pacman.conf

has the entry

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

endeavouros-mirrorlist contains the list of servers.

pacman -Syu will update packages from Arch plus EndeavourOS repositories.
yay will update packages from AUR, plus Arch, plus EndeavourOS.

5 Likes

If you haven’t updated in ages, ALWAYS run
UpdateInTerminal

Which will update the keyring thingy so your system doesn’t break.

1 Like

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