217
submitted 2 weeks ago by cybercitizen4@lemm.ee to c/asklemmy@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] hit_the_rails@reddthat.com 10 points 2 weeks ago
[-] sneezycat@sopuli.xyz 3 points 2 weeks ago

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 weeks ago

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

[-] sneezycat@sopuli.xyz 3 points 2 weeks ago

Huh, the more you know.

[-] Noxious@fedia.io 1 points 2 weeks ago

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

[-] sneezycat@sopuli.xyz 1 points 1 week ago

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 1 week 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

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

Asklemmy

43517 readers
1259 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