Bug 56366
Summary: | rpm -ihv wrong_pkg_name* (note wildcard) reports no error | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ralph Rodriguez <ralphr> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-11-16 06:20:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ralph Rodriguez
2001-11-16 06:20:18 UTC
rpm-4.0.3 includes support for manifests, i.e. files with lists of glob expressions, so non-package files are now permitted on the command line. So a non-package file, even one that cannot be interpreted a a list of glob expressions, is no longer an error. And, since a manifest file can contain multiple package instances, the traditional rpm return code of Number of failed packages really doesn't apply anymore. Should the exit code be 1 or 10 if a manifest includes 10 packages? And, if the object doesn't exist at all (this case), shouldn't the return code be 0 == the number of failing objects? The bottom line is that your script is gonna have to do more than check the return code for pathological input. |