Raphael Hertzog wrote: > BTW, don't parse /var/lib/dpkg/status directly either, but use "dpkg-query > -W -f'${Package} ${Status}\n'". Indeed, popularity-contest does that already. Have you looked at /usr/sbin/popularity-contest recently? It's very short.