this post was submitted on 21 Sep 2024
223 points (97.4% liked)

Asklemmy

43940 readers
470 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_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] hit_the_rails@reddthat.com 11 points 2 months ago (1 children)
[โ€“] sneezycat@sopuli.xyz 3 points 2 months ago (2 children)

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

[โ€“] MinFapper@startrek.website 15 points 2 months ago (1 children)

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

[โ€“] sneezycat@sopuli.xyz 3 points 2 months ago

Huh, the more you know.

[โ€“] Noxious@fedia.io 1 points 2 months ago (1 children)

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

[โ€“] sneezycat@sopuli.xyz 1 points 2 months 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.

[โ€“] Noxious@fedia.io 2 points 2 months 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