From: "Brian C. Lane" <bcl@xxxxxxxxxx> Report whether the failure was due to cpio, unpack or script error. --- pyanaconda/yuminstall.py | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py index 3d334e2..cdf32ec 100644 --- a/pyanaconda/yuminstall.py +++ b/pyanaconda/yuminstall.py @@ -244,11 +244,17 @@ class AnacondaCallback: # we should only error out for fatal script errors or the cpio and # unpack problems. if what != rpm.RPMCALLBACK_SCRIPT_ERROR or total: + if what == rpm.RPMCALLBACK_CPIO_ERROR: + error_type = _("cpio") + elif what == rpm.RPMCALLBACK_UNPACK_ERROR: + error_type = _("unpack") + else: + error_type = _("script") self.messageWindow(_("Error Installing Package"), - _("A fatal error occurred when installing the %s " + _("A %s error occurred when installing the %s " "package. This could indicate errors when reading " "the installation media. Installation cannot " - "continue.") % name, + "continue.") % (error_type, name), type="custom", custom_icon="error", custom_buttons=[_("_Exit installer")]) sys.exit(1) -- 1.7.6.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list