Martin Michlmayr <[EMAIL PROTECTED]> writes:

> A current example is arpack++_2.2-9 which will give you:
>
> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>> 4.1.0 ), g++ (>> 2.95), libg2c0-dev, 
> refblas3-dev | libblas-3.so, lapack3-dev | lapack-3.so, libarpack2-dev, 
> chrpath
> Checking for already installed source dependencies...
> W: Unable to locate package lapack-3.so

This is from apt-cache:

% apt-cache show lapack-3.so
W: Unable to locate package lapack-3.so
E: No packages found

I can't find a warning suppression option on the command-line or in
the APT configuration options.

While it would be possible to send all stderr output to /dev/null, I
don't feel that this is appropriate, because it will discard all error
reporting when running apt-cache.  One solution I am now looking at is
sending stderr to the package log (rather than the main log) for just
apt-cache invokations.  Errors and warnings will still be logged, but
they will then not get mailed to you separately.  Does that sound OK.

Note to self: Use Perl IPC::Open3 to do the stream redirects.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpeWi0a374SX.pgp
Description: PGP signature

Reply via email to