Greetings,
On Tuesday, 2025-10-18 00:18:28 GMT Nuno Silva wrote:
> For that (missing or corrupt files), there's also equery's "check"
> module:
>
> equery k --only-failures PKG
Thanks for this pointer. But I'm having major problems with this Python
script:
$ equery --no-color check --full-regex cups
!!! /etc/cups/cups-files.conf has incorrect MD5sum
!!! /etc/cups/cupsd.conf has incorrect MD5sum
* Checking net-print/cups-2.4.14 ...
959 out of 961 files passed
* Checking net-print/cups-bjnp-2.0.3-r1 ...
14 out of 14 files passed
* Checking net-print/cups-filters-2.0.1 ...
79 out of 79 files passed
* Checking net-print/cups-meta-1 ...
0 out of 0 files passed
* Checking net-print/libcupsfilters-2.1.1 ...
62 out of 62 files passed
$
That's usable output (the first two lines on standard error, the rest on
standard output). But when this script produces considerably more out-
put which you want to save to a file for thorough inspection, you'll get
this:
$ equery --no-color check --full-regex cups > /tmp/out
!!! /etc/cups/cups-files.conf has incorrect MD5sum
!!! /etc/cups/cupsd.conf has incorrect MD5sum
$ cat /tmp/out
* Checking net-print/cups-2.4.14 ...
* Checking net-print/cups-bjnp-2.0.3-r1 ...
* Checking net-print/cups-filters-2.0.1 ...
* Checking net-print/cups-meta-1 ...
* Checking net-print/libcupsfilters-2.1.1 ...
959 out of 961 files passed
14 out of 14 files passed
79 out of 79 files passed
0 out of 0 files passed
62 out of 62 files passed
$
Adding option "--no-pipe" to the two commands does not change anything.
Did anybody else run into this problem and found a solution? Or is this
a bug?
Sincerely,
Rainer