Description of problem: When executing 'foomatic-configure -r -P -q', which should produce a perl hash of printer information, I receive the following error message: WARNING: No tool for downloading web content found, please install either "wget" or "curl"! The result you got may be incorrect! Cannot read /etc/foomatic/direct directory! The same message appears when trying 'foomatic-configure -r -Q -q' (XML output). No perl hash or xml data is returned after receiving the warning message. To fix this functionality, I created /etc/foomatic/defaultspooler with 'cups' on the first line. After creating the defaultspooler file I was able to view both the perl hash (-P) and xml data (-Q). This default file should probably be created when foomatic-3.0.2-38.1.el5 is installed. rpms installed on the system: foomatic-3.0.2-38.1.el5 wget-1.10.2-7.el5 curl-7.15.5-2.el5 curl-devel-7.15.5-2.el5 Version-Release number of selected component (if applicable): foomatic-3.0.2-38.1.el5 How reproducible: Very.. Steps to Reproduce: 1. Make sure that file /etc/foomatic/defaultspooler DOESN'T exist. It shouldn't exist after foomatic-3.0.2-38.1.el5 is installed. 2. Execute 'foomatic-configure -r -Q -q' or 'foomatic-configure -r -P -q' and observe the warning message: WARNING: No tool for downloading web content found, please install either "wget" or "curl"! The result you got may be incorrect! Cannot read /etc/foomatic/direct directory! No XML or Perl hash returned 3. Create /etc/foomatic/defaultspooler with 'cups' on the first line and the warning message will NOT appear and you should recieve XML or Perl hash. Actual results: Expected results: Additional info: This problem was also reported here: http://bugs.centos.org/view.php?id=2970
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1240.html