Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 146160 Details for
Bug 223229
[PATCH] rhn_check reports success if %pre scriptlet fail with exit 1
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
up2date-4.4.69-scriplet_exception-error-msg.patch
up2date-4.4.69-scriplet_exception-error-msg.patch (text/plain), 1.27 KB, created by
Jose Plans
on 2007-01-22 09:41:06 UTC
(
hide
)
Description:
up2date-4.4.69-scriplet_exception-error-msg.patch
Filename:
MIME Type:
Creator:
Jose Plans
Created:
2007-01-22 09:41:06 UTC
Size:
1.27 KB
patch
obsolete
>--- up2date-4.4.69/actions/packages.py.jmp 2006-07-28 04:38:16.000000000 +0100 >+++ up2date-4.4.69/actions/packages.py 2007-01-17 14:38:34.000000000 +0000 >@@ -187,9 +187,9 @@ def _catchErrors(method, name, args): > > try: > ret = apply(method, args) >-# except up2dateErrors.RpmError, e: >-# return (18, "Failed: packages requested raised "\ >-# "dependency problems", {}) >+ except up2dateErrors.RpmError, e: >+ return (18, "Failed: packages requested raised "\ >+ "dependency or transaction problems", {}) > except up2dateErrors.RpmInstallError, e: > data = {} > data['version'] = "0" >--- up2date-4.4.69/rpmUtils.py.scriplet_exception 2006-07-28 04:07:12.000000000 +0100 >+++ up2date-4.4.69/rpmUtils.py 2007-01-22 09:39:18.000000000 +0000 >@@ -518,6 +518,9 @@ def runTransaction(ts, rpmCallback, tran > errors = errors + str(e) + "\n" > raise up2dateErrors.TransactionError(_( > "Failed running transaction of packages: %s") % errors, deps=rc) >+ elif type(rc) == type([]) and not len(rc): >+ print "Failed running rpm transaction - %pre %pro failure ?." >+ raise up2dateErrors.RpmError(_("Failed running rpm transaction")) > > def readHeader(filename): > if not os.access(filename, os.R_OK):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223229
:
145924
| 146160