You are viewing a single thread.
View all comments View context
3 points

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

permalink
report
parent
reply
14 points

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

permalink
report
parent
reply
3 points

Huh, the more you know.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply

Asklemmy

!asklemmy@lemmy.ml

Create post

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

Community stats

  • 7.2K

    Monthly active users

  • 3.7K

    Posts

  • 83K

    Comments