[arch-general] [solved] Wrapper for yaourt and pacman

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue Jul 16 07:45:36 EDT 2013

On Mon, 2013-07-15 at 11:49 +0200, I wrote:
> If somebody has got a better idea, that does avoid to install linux-rt
> two times, please let me know.

Perhaps someday somebody else does miss the forest for the trees, so
here's the forest I found:

yaourt -aQu linux-rt

does check if there's an update for the linux-rt aur package :).

Tested with:

[rocketmouse at archlinux ~]$ yaourt -aQu git google-earth
aur/google-earth [installed:] (1876)

[rocketmouse at archlinux ~]$ pacman -S git --print --print-format %v

If there isn't an update the output does look like this:

[rocketmouse at archlinux ~]$ yaourt -Qua linux-rt
aur/linux-rt 3.8.13_rt14-1 [installed] (162)

Special thanks to Gaetan for the hint to use "--print --print-format".

I haven't written a script yet, but now all the needed information is


More information about the arch-general mailing list