Red Hat Bugzilla – Bug 463944
rpm writes error : File not found by glob: and return code = 0
Last modified: 2009-01-20 15:49:10 EST
Description of problem:
rpm writes error but return code is zero
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. i didnt mounted any folder, so file wasnt on that path
#rpm -Uv /mnt/redhat/brewroot/packages/openssl/0.9.8b/8.3.el5/x86_64/openssl-0.9.8b-8.3.el5.*.rpm
error: File not found by glob: /mnt/redhat/brewroot/packages/openssl/0.9.8b/8.3.el5/x86_64/openssl-0.9.8b-8.3.el5.*.rpm
3. echo $?
4. in folder /usr/src/redhat/RPMS/x86_64/ is nothing:
#rpm -Uvh /usr/src/redhat/RPMS/`uname -i`/*
error: File not found by glob: /usr/src/redhat/RPMS/x86_64/*
# echo $?
it writes echo $?=0 during error
return code should be nonzero
*** Bug 446202 has been marked as a duplicate of this bug. ***
Fixed upstream so patch already exists, easy fix.
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.