On 2009-05-28, JeffD <jeff.dicki...@gmail.com> wrote: > Not automatic, but here is a quick script that might help you along: > > #!/bin/sh > > for pkg in `dpkg -l | awk '{print $2}'|sort` ; do > > if apt-cache policy $pkg | grep "www.backports.org" > /dev/null ; then > echo $pkg " appears to be from www.backports.org" > fi > > done
I don't think that can work, unless you make it something like: apt-cache policy $pkg | grep -A 1 -E '^ \*\*\*' | grep "www.backports.org" to make sure www.backports.org actually qualifies the *installed* version ? Cheers, --Seb -- To UNSUBSCRIBE, email to debian-security-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org