[Piuparts-devel] updated command not found statistics

Andreas Beckmann debian at abeckmann.de
Mon Jan 30 13:14:09 UTC 2012


$ for f in ./squeeze/main/fail ./wheezy/main/fail ./sid/main/fail ; do echo $f: ; grep -E "command not found|: not found" $f/*.log 2>/dev/null | sort -u | sed -re 's/.*.(postrm|postinst|prerm|preinst): ([0-9]+: )?/\1: /' | sort | uniq -c | sort -rn ; done

./squeeze/main/fail:
     13 postrm: ucf: not found
     11 postrm: deluser: not found
      3 postrm: delgroup: not found
      2 postrm: pkill: not found
      1 preinst: ucf: not found
      1 postrm: ucfr: not found
      1 postrm: db_purge: not found

./wheezy/main/fail:
     14 postrm: ucf: not found
      6 postrm: deluser: not found
      2 postrm: pkill: not found
      1 postrm: update-initramfs: not found
      1 postrm: ucfr: not found
      1 postrm: mktexlsr: not found
      1 postrm: db_purge: not found

./sid/main/fail:
     15 postrm: ucf: not found
     14 postrm: deluser: not found
     10 postrm: delgroup: not found
      2 postrm: pkill: not found
      1 prerm: line 60: stop: command not found
      1 postrm: update-initramfs: not found
      1 postrm: ucfr: not found
      1 postrm: pyversions: not found
      1 postrm: openssl: not found
      1 postrm: newaliases: not found
      1 postrm: mktexlsr: not found
      1 postrm: dbc_go: not found
      1 postrm: db_purge: not found
      1 postinst: /usr/bin/sqlite3: not found
      1 ./sid/main/fail/openswan-modules-dkms_1:2.6.37-1.log:  /usr/lib/ipsec/_realsetup: 452: /usr/lib/ipsec/_realsetup: ps: not found

There was a uniq missing, now each error is counted only once per package.


Andreas



More information about the Piuparts-devel mailing list