this post was submitted on 21 Sep 2024
218 points (96.6% liked)

Asklemmy

43881 readers
787 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 11 points 1 month ago (1 children)
[โ€“] [email protected] 3 points 1 month ago (2 children)

I just aliased "sudo pacman -Syu && yay -Syu --aur" to "update" cause I got tired of writing it every day.

[โ€“] [email protected] 15 points 1 month ago (1 children)

You can just run yay with no arguments and it does exactly what your update script does.

[โ€“] [email protected] 3 points 1 month ago

Huh, the more you know.

[โ€“] [email protected] 1 points 1 month ago (1 children)

Wouldn't it make more sense to just yay -Syu to update everything, normal packages and AUR packages?

[โ€“] [email protected] 1 points 1 month ago (1 children)

The reason I did it like this is because:

  • I didn't know yay could invoke pacman
  • I didn't want yay "upgrading" my pacman packages with AUR packages.

But I was just misunderstanding yay. As another comment said before you, one can just run yay without any arguments and it accomplishes the same thing.

[โ€“] [email protected] 2 points 1 month ago

Yay doesn't replace normal packages with AUR packages. Btw It's not just an AUR helper, it's a wrapper for Pacman with AUR support built-in. Check out paru btw, it's a more modern version of yay that basically works the same way: https://github.com/Morganamilo/paru