Bug 462797
| Summary: | yum-downloadonly doesn't show errors for downloaded packages | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | James Antill <james.antill> |
| Component: | yum-utils | Assignee: | James Antill <james.antill> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.3 | CC: | dkovalsk, jhutar |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-01-20 22:05:40 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
James Antill
2008-09-18 22:10:48 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Gah, this is a problem in the downloadonly plugin. Always has been, so I'll move it to 5.4.z. Fix is upstream in 431f22085e91fd030b5c9e9dfe219ad10af45cfc and is just:
diff --git a/plugins/downloadonly/downloadonly.py b/plugins/downloadonly/downloa
index a0541eb..8bbf7bb 100644
--- a/plugins/downloadonly/downloadonly.py
+++ b/plugins/downloadonly/downloadonly.py
@@ -40,5 +40,6 @@ def postreposetup_hook(conduit):
def postdownload_hook(conduit):
opts, commands = conduit.getCmdLine()
- if opts.dlonly:
+ # Don't die on errors, or we'll never see them.
+ if not conduit.getErrors() and opts.dlonly:
raise PluginYumExit('exiting because --downloadonly specified ')
...so we can still fix it for 5.3 if we want to?
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. 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-0227.html |