diff --git a/src/core/src/package_managers/YumPackageManager.py b/src/core/src/package_managers/YumPackageManager.py index 59e14973..a6ccceae 100644 --- a/src/core/src/package_managers/YumPackageManager.py +++ b/src/core/src/package_managers/YumPackageManager.py @@ -203,7 +203,7 @@ def is_package(chunk): for line_index in range(0, len(lines)): # Do not install Obsoleting Packages. The obsoleting packages list comes towards end in the output. - if lines[line_index].startswith("Obsoleting Packages"): + if lines[line_index].strip().startswith("Obsoleting Packages"): break line = re.split(r'\s+', lines[line_index].strip())