You are not logged in.
Hi,
I can use
pacman -Qm
to print a list of all packages I installed from AUR with their version numbers on the screen. But is there a way (maybe with yaourt?) to show which of these packages have newer versions in AUR?
I want just see them and not installing those packages. I want to decide that on my own...
Last edited by Rorschach (2009-03-29 16:38:01)
Offline
yaourt -Syu --aur
that should do the trick, and update them if you want it to.
Last edited by mike_93 (2009-03-29 16:57:38)
Double booting Arch Linux and Linux Mint
Reader of XKCD
Offline
Not exaclty what I was looking for because this tries to install the packages. I just want to querry aur for new packages.
Offline
don't know if yaourt has this option but you can try yaourt -Qu --aur
Give what you have. To someone, it may be better than you dare to think.
Offline
Not exaclty what I was looking for because this tries to install the packages. I just want to querry aur for new packages.
Should be no problem. Just abort when yaourt asks to continue.
To know or not to know ...
... the questions remain forever.
Offline
@wonder: no that doesn't work
@bernacher: I want to do this automated and simply piping a no to STDIN won't work because yaourt asks sometimes also other questions before. I also don't need yaourt to refresh core, extra and community which it does with yaourt -Syu --aur.
Offline
My AUR packages are stored under /var/cache/pacman/src. I'm no bash whizz but this works for me...
#!/bin/bash
AURS="/tmp/aurlist"
CURPKG="/tmp/aurcurpkg"
AURSRC="/var/cache/pacman/src"
find $AURSRC -name "PKGBUILD" > $AURS
for AUR in `cut -d "/" -f 6 $AURS` ; do
PKGURL="http://aur.archlinux.org/packages/"$AUR"/"$AUR"/PKGBUILD"
wget $PKGURL --quiet -O $CURPKG
if ( diff -q $AURSRC/$AUR/PKGBUILD $CURPKG | grep -q differ ) ; then
echo "$AUR need updating" ;
fi
done
rm -f $AURS $CURPKG
Offline
If you're up to using arson, then 'arson -U' does what you want.
Offline
My AUR packages are stored under /var/cache/pacman/src. I'm no bash whizz but this works for me...
#!/bin/bash AURS="/tmp/aurlist" CURPKG="/tmp/aurcurpkg" AURSRC="/var/cache/pacman/src" find $AURSRC -name "PKGBUILD" > $AURS for AUR in `cut -d "/" -f 6 $AURS` ; do PKGURL="http://aur.archlinux.org/packages/"$AUR"/"$AUR"/PKGBUILD" wget $PKGURL --quiet -O $CURPKG if ( diff -q $AURSRC/$AUR/PKGBUILD $CURPKG | grep -q differ ) ; then echo "$AUR need updating" ; fi done rm -f $AURS $CURPKG
that's pretty good for being no bash whiz
Double booting Arch Linux and Linux Mint
Reader of XKCD
Offline