From http://piuparts.debian.org/sid/command_not_found_issue.html ...
The commandline to find these logs is: COMMAND=`rgrep "command not found" pass | cut -d " " -f1 | sed -e "s#\.log:.*#.log#" | sort -u 2>/dev/null` piuparts already logs at different "levels" -- DEBUG, INFO, and DUMP. Unfortunately, anything which it executes inside the chroot is currently logged as "DUMP". So, I believe a reasonable solution to this requires: 1) Modifying piuparts.py (and other(s) ?) to log output of some chroot commands at level other than DUMP; e.g. INFO 2) Modifying COMMAND above to ignore lines logged at "minor" levels; i.e. if output of apt --show were logged at "INFO:", then something like: find pass -type f -name "*log" | xargs awk '$1 ~ /^[0-9]+m[0-9\.]+s$/&& $2 ~ /^[A-Z]+:$/ {IGN=0} $1 ~ /^[0-9]+m[0-9\.]+s$/&& $2 ~ /^INFO:$/ {IGN=1} {if (IGN==0) print}' Comments welcome before I proceed on this, -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org