Red Hat Bugzilla – Bug 68857
rpm provides files which name is its error message
Last modified: 2008-05-01 11:38:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020528
Description of problem:
rpm commands provides rpm's error message files in
/usr/src/redhat/SPECS. Such like:
tar: This does not look like a tar archive
tar: *.spec: Not found in archive
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -ta /dev/null
2. It provides a file 'tar: *.spec: Not found in archive' in /usr/src/redhat/SPECS/
1. rpm -ta emacs.spec (some ascii file)
2. It provides a file 'tar: This does not look like a tar archive' in
Actual Results: Error messages come to be empty files in /usr/src/redhat/SPECS/
Expected Results: Error message should be go to stderr, not in files.
I wondered why and who makes this crappy files for
a long time, since I started to touch Red Hat Linux.
So many people should wonder too.
*** This bug has been marked as a duplicate of 8527 ***