I'm using the equery command from app-portage/gentoolkit-0.3.0.7. I periodically run the following command for checking system integrity: > equery check -o "*" But it's slightly difficult to immediately understand the results because packages are not separated by a blank line, as equery does when you pass it multiple packages explicitely on the command line. The problem happens even without using the -o option. This should be easy to fix. Reproducible: Always
Ok, The difference is that "*" is just one query. It will separate queries with a blank line. Each sub package from the * query is not normally separated. big_daddy gentoolkit # equery check -o "*" * Checking app-admin/sudo-1.8.6_p3 ... !!! /etc/sudoers has incorrect MD5sum 54 out of 55 files passed * Checking app-admin/syslog-ng-3.3.5-r1 ... !!! /etc/conf.d/syslog-ng has wrong mtime (is 1347946597, should be 1342312810) 156 out of 157 files passed <snip>... ^C big_daddy gentoolkit # equery check "*" <snip>... * Checking app-admin/sabayon-2.30.1 ... 346 out of 346 files passed * Checking app-admin/sudo-1.8.6_p3 ... !!! /etc/sudoers has incorrect MD5sum 54 out of 55 files passed * Checking app-admin/superadduser-1.0.9 ... 7 out of 7 files passed * Checking app-admin/syslog-ng-3.3.5-r1 ... !!! /etc/conf.d/syslog-ng has wrong mtime (is 1347946597, should be 1342312810) 156 out of 157 files passed * Checking app-admin/system-config-printer-common-1.3.12 ... 54 out of 54 files passed ^C big_daddy gentoolkit # equery -q check "*" app-accessibility/at-spi2-core-2.4.2: failed(0) app-accessibility/caribou-0.4.5: failed(0) app-admin/apg-2.3.0b-r5: failed(0) app-admin/eclean-kernel-0.3.1: failed(0) app-admin/eselect-1.3.3-r100: failed(0) app-admin/eselect-ctags-1.14: failed(0) ... What you want is: big_daddy gentoolkit # equery check -o "*" * Checking app-admin/sudo-1.8.6_p3 ... !!! /etc/sudoers has incorrect MD5sum 54 out of 55 files passed * Checking app-admin/syslog-ng-3.3.5-r1 ... !!! /etc/conf.d/syslog-ng has wrong mtime (is 1347946597, should be 1342312810) 156 out of 157 files passed * Checking app-editors/gvim-7.3.646 ... !!! /usr/share/man/man1/gvim.1.gz does not exist !!! /usr/share/man/man1/gview.1.gz does not exist !!! /usr/share/man/man1/gvimdiff.1.gz does not exist 21 out of 24 files passed * Checking app-editors/vim-core-7.3.646 ... !!! /usr/share/vim/vim73/doc/tags has incorrect MD5sum 1695 out of 1696 files passed ^C meh, I don't see the current behavior as hard to read, but... but if you want to fix your current install, edit gentoolkit/equery/check.py, in the "def checks_printer(cpv, data, verbose=True, only_failures=False):" code block add line: " print()" just before the "else:" The correct indent is important!!! use tabs if verbose: n_passed = pp.number(str(n_passed)) n_checked = pp.number(str(n_checked)) info = " %(n_passed)s out of %(n_checked)s files passed" print(info % locals()) print() else: print("failed(%s)" % n_failed)
Done in commit: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=35132cb5822d4209cec0272ccc875a45bf830cf8 It is available now in gentoolkit-9999.
Released in gentoolkit-0.3.0.8