Skip to content

186 comments

yay

789 points

I am using yay on my arch-based-distro. Is there anything better or it's the default standard replacement for yaourt?

2 points

I used it as a replacement for pacaur, but I'm not the most versed in these things.

The things I like the most about it is that the flags are consistent with pacman (yaourt adds the -a for the AUR stuff), and it queries any changes you want to do before pulling the packages, as opposed to pulling->asking->pulling->asking.

That, and it having the most green columns in this page made it a quick-win for me, but I couldn't tell you the advantages/disadvantages over the other ones.

0 points

Was about time. Many users did not realize how outdated it was.

There are enough alternatives: https://wiki.archlinux.org/index.php/AUR_helpers#Comparison_table

105 points

I honestly didn't know until a couple of weeks ago. Granted I don't use AUR much but I should have heard a bit earlier

8 points

Doesn't help that for the longest time Antergos and Manjaro had yaourt in their addon repositories.

2 points

Seriously. It should have been removed months ago for security.

1 points

Didn't know about that was outdated. Been using yaourt lot of times. Thanks!

1 points

I miss pacaur, but yay is pretty awesome

95 points

been out of the loop for a while now, is yay yaourt/pacaur successor?

2 points

well, it looks like pacaur is being maintained again but it was for a while. now I guess they are competitors lol

1 points
unknown author

Deleted before we saved it.

1 points

One question about the AUR:

  • Can anyone submit a new yaourt package now? Because that is an excellent way to distribute malware… or is there at least a moratorium?
42 points

Yes. that is why it is the user's responsibility to verify any packages they install from the aur. The aur

7 points

Any AUR / Arch maintainers on here that can answer this? What exactly would happen to a user's system that has yaourt installed, if it's still installed when the malware gets added? Unfortunately I don't know enough about how pacman works to be able to answer this

6 points

What exactly would happen to a user's system that has yaourt installed, if it's still installed when the malware gets added?

If you don't check the PKGBUILD; you are possibly getting malware.

Unfortunately I don't know enough about how pacman works to be able to answer this

This has nothing to do with pacman.

2 points

I think a TU (trusted user) needs to approve any new yaourt package and this should create a thread in the aur mailing list

given the status of yaourt, it is very likely that anything done remotely with that package is gonna create fuss

5 points

No. Anyone can take over the package and reupload an arbitrary yaourt package.

2 points

I made this post on mobile so excuse the laziness. Here's some more info.

And for you who don't want a yaourt clone checkout aurutils.

17 points

aurutils is a great option. I have it setup on my home server with a cronjob that checks for updates every couple hours with the db in /srv/http/arch. Now when I pacman -Syu on my laptop or desktop, it pulls updates from my homeserver db, letting me upgrade compilation/compression heavy packages by just downloading the pre-compiled package from my server. Updating Discord, skypeforlinux-preview, or Joplin is just as seamless as upgrading vim now.

3 points

I miss yaourt's easy to read list when upgrading packages. I now use yay and it looks just like pacman, all package names are on a single line :/

15 points

Dunno what you're talking about but I will never be able to move from yay because of how nice it can look

P.S. Usually yay firstly runs pacman directly and thus shows pacman's pkglist(which with VerbosePkgLists looks the same except for the color), then checks aur packages for updates and shows yay's pkglist from the picture, but you can make it show yay's package list for both repo and aur updates with yay --combinedupgrade --save. The deal is that way you may do a partial update which is recommended against but if you just never do a partial update, you're good.

20 points

yay --combinedupgrade --save

Oh man thanks for this, I couldn't for the life of me get it to look that way since forever. It annoyed me so much that I still used yaourt :/

Will now finally ditch it for pretty output yay.

8 points
1 more reply

You may want to check the VerbosePkgLists pacman configuration option. Not sure if there is a yay equivalent though.

12 points

Trizen gives you a pretty output there, including orphaned and removed, and also supports fetching comments, so if something fails building, you usually just need to scroll up a little to get help.

8 points
unknown author

Deleted before we saved it.

3 points

I haven't thought about an AUR helper since I learned about aurutils a few weeks ago. It builds packages in clean chroots.

$ aur fetch firefox-nightly
$ cd firefox-nightly
$ aur chroot

And to check your installed AUR packages for new versions:

$ pacman -Qm | aur vercmp
7 points

I've used a few different AUR helpers over the last few years. They were always the most recommended one with the most features and security handling. Then they all ended up deprecated.

​

Use a helper if you want, it's your system. But I finally just learned how to build the packages myself (it's really very easy) and I haven't had any real issues.

5 points

How do you get the latest updates for your packages? This is what always bothers me with using no helper at all. I want to know in deterministic time when there is an update without having to look for them myself.

I agree with your point in building packages on your own, but knowing about updates is something that is important to me. And writing your own scripts for that feels to me like “reinventing the wheel”.

18 points

I want to know in deterministic time when there is an update without having to look for them myself.

Just subscribe to the package and get mail notifications. The AUR is AUR-helper enough for that functionality…

4 points
5 more replies

I'm a lazy sob; I use pamac for what little packages I install from AUR to begin with.

5 points

I used pamac for a while, just for the notification icon but I uninstalled it and now just update every so often (because the dam updates come so often the icon was always there)

4 points

Just a question. What is the equivalent command of "yaourt -Qe --date" to see explicit packages by date ?

The only reason why i have yaourt always installed..

3 points

Anyone else using pakku? That's what I switched to two years ago when I first read of the yaourt issues...

2 points

Why is it such a hassle to download the repository from git, inspect the buildfile and then pkgbuild it youself?

It's what I always did. Maybe I just didn't run that many AUR packages, and didn't mind keeping a few outdated ones in there.

2 points

Just recently getting back into archlinux and while I don't have any problems building packages manually (used to maintain a few), I'm a bit unsure as to how to conveniently check if any of my AUR packages are in need of an update. I basically want a small tool that does nothing else than give me a list of installed AUR package that have been updated (not talking about any upstream updates, just if the AUR package is newer than my locally installed version) without having to hack together something myself.

1 points

There's a bunch of ways to do it. There's a bunch of dedicated tools for it. Most pacman wrapper type helpers probably support -Qu. And aurutils has aur-vercmp.

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.