From: Karel Valek kvalek@redhat.com
NOTE: I am not able to force a error to reproduce error message for check.
My attempt to reproduce any of error messages: 1) Fix the bug (changing INSTALL_PROGRESS to ERROR) 2) Started VM, netinstall from PXE 3) Manually set options in Anaconda 4) Start the installation 5) During installation: - in shell: ip link set <dev> down - return back to GUI 6) Wait for error message to appear --> FAILED, installation crashed after some retries --> No message to confirm bug fix 7) Whole proccess repeated five times --> All of the attempts were unsuccessful.
However, changing some strings should not affect rest of the code in a major way.
Resolves rhbz#1255094
Signed-off-by: Karel Valek kvalek@redhat.com --- scripts/anaconda-yum | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/anaconda-yum b/scripts/anaconda-yum index ebfb88c..78b05ca 100755 --- a/scripts/anaconda-yum +++ b/scripts/anaconda-yum @@ -134,7 +134,7 @@ def run_yum_transaction(release, arch, yum_conf, install_root, ts_file, script_l if retry_count: # retry after waiting a bit time.sleep(next(xdelay)) - print("PROGRESS_INSTALL: error populating transaction, retrying (%d/%d)" + print("ERROR: error populating transaction, retrying (%d/%d)" % (retry_count, MAX_DOWNLOAD_RETRIES)) try: # uses dsCallback.transactionPopulation @@ -298,7 +298,7 @@ class RPMCallback(object): # retry count > 0 -> retry if retry_count and retry_message: time.sleep(next(xdelay)) # wait a bit before retry - print("PROGRESS_INSTALL: %s (%d/%d)" % (retry_message, retry_count, MAX_DOWNLOAD_RETRIES)) + print("%s (%d/%d)" % (retry_message, retry_count, MAX_DOWNLOAD_RETRIES))
try: # checkfunc gets passed to yum's use of URLGrabber which @@ -330,7 +330,7 @@ class RPMCallback(object): # the package file you want to download vanishes, not URLGrabError
if retry_count < MAX_DOWNLOAD_RETRIES: - retry_message = "retrying download of %s" % txmbr.po + retry_message = "Retrying download of %s" % txmbr.po # remove any unfinished downloads of this package if os.path.exists(txmbr.po.localPkg()): os.unlink(txmbr.po.localPkg())