Full system update commands

just curious what these 3 commands do ?
if i just run yay it update/upgrade ect.
then if i run eos-update --aur after that , it tells me there’s nothing to do
then if i run sudo pacman --sync --refresh --sysupgrade it tells me there’s nothing to do

so what’s the difference between those 3 commands ?

Don’t really understand the question, what do you expect them to day apart from just about the same thing (not shure about the last one though).

Running yay updates everything, including AUR (except for appimages and flatpacks, of course).

That’s because yay updated everything.

2 Likes

If you are refering to the eos-update - - aur in the welcome app, that will add a extra check for checking a faillock, that could be in place if you entered a wrong password three times at some point in time which causes the faillock. Further explained in this topic.

:grin:

1 Like

Well I guess yay …err you are right in black and white.

ok thanks for clearing that up
so yay updates packages installed with pacman , too?

1 Like

Running yay updates everything, including AUR, except for appimages and flatpacks.

1 Like

Oh yay oh yay spread the word.

ok good
i was under the impression yay is only for AUR , and pacman is for arch packages
ques i’m still learning the basics of arch :innocent:

1 Like

another enlightening answer from AI…

All three commands are involved in keeping your system up to date on EndeavourOS (which is Arch-based), but they differ in scope and focus. Here’s a breakdown of what each one does:


:brain: yay

Yay is an AUR helper — it handles both official repo packages and AUR packages.

When you just run:

bash

CopyEdit

yay

…it:

  1. Checks for updates in both the official Arch repositories and the AUR.
  2. Prompts you to install them, with the ability to review or skip any.
  3. Also handles dependencies, .pacnew files, etc.

So it’s like a one-stop-shop for updates, including community-contributed packages (AUR).


:rocket: eos-update --aur

This is a wrapper script provided by EndeavourOS.

When you run:

bash

CopyEdit

eos-update --aur

…it:

  1. Runs pacman -Syu first — updates official repo packages.
  2. Then uses yay or paru (depending on what you have) to update AUR packages.
  3. Optionally checks for .pacnew files and shows system status info.

So it’s like a system-safe, scripted, unified update tool for EndeavourOS users — helpful especially if you want to avoid doing things manually.

If you’ve already run yay, there’s nothing left for it to do.


:gear: sudo pacman --sync --refresh --sysupgrade

Equivalent to:

bash

CopyEdit

sudo pacman -Syu

…it:

  1. Syncs your local package database (--refresh or -y).
  2. Upgrades only the official Arch repo packages (--sysupgrade or -u).
  3. Does not touch the AUR.

So this is what Arch users often run to keep the “core” system up to date — but it ignores AUR packages.


:light_bulb: In short:

Command Updates Repo Updates AUR Notes
yay :white_check_mark: :white_check_mark: Full update including AUR
eos-update --aur :white_check_mark: :white_check_mark: Safe wrapper; adds info & checks
sudo pacman -Syu (or long form) :white_check_mark: :cross_mark: Only repo packages

Just a heads up, a lot of that information is extraneous or not quite right. For example, running yay doesn’t do anything with .pacnew files.

However, the “In short” section is correct.

1 Like

thanks
AI is disappointing me more and more lol, safer to ask actual humans with experience yay!

2 Likes

Make sure you trust the human you are asking :wink: :rofl:

1 Like

Someone asked AI about sticky cheese to put on a pizza.
The AI answer was to buy some glue to stick the cheese on the pizza (or something like that).

fair point lol
i like to think i can trust users here , yes ?
i’m still familiarising myself bout who’s who here , meaning when i was (still is) on Zorin forum, i learned which users i can blindly trust , and others i must confirm (2nd opinion) first lol

1 Like

I guess with time you will have the same experience here as well. Trust but verify is a good strategy,