You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DEBUG] keeps_state set [VERB] Executing command: yum -c /etc/yum.conf -y shell with options: stderr=SCALAR(0x38cf5e8) stdin=remove
install libstdc++.i686 kernel-firmware procps sssd-client.i686 compat-libstdc++-33.i686 python-argparse module-init-tools
transaction solve
transaction run
stdout=SCALAR(0x38d5b00) [WARN] running transaction produced warnings: Error: Need to pass a list of pkgs to remove
Mini usage:
This system is not registered with an entitlement server. You can use subscription-manager to register.
Excluding 38 updates due to versionlock (use "yum versionlock status" to show them)
Package libstdc++-4.8.5-44.el7.i686 already installed and latest version
Package linux-firmware-20200421-80.git78c0348.el7_9.noarch already installed and latest version
Package procps-ng-3.3.10-28.el7.x86_64 already installed and latest version
Package sssd-client-1.16.5-10.el7_9.13.i686 already installed and latest version
Package compat-libstdc++-33-3.2.3-72.el7.i686 already installed and latest version
Package python-2.7.5-92.el7_9.x86_64 already installed and latest version
Package kmod-20-28.el7.x86_64 already installed and latest version
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Success resolving dependencies
Leaving Shell
This system is not registered with an entitlement server. You can use subscription-manager to register.
Excluding 38 updates due to versionlock (use "yum versionlock status" to show them)
Package libstdc++-4.8.5-44.el7.i686 already installed and latest version
Package linux-firmware-20200421-80.git78c0348.el7_9.noarch already installed and latest version
Package procps-ng-3.3.10-28.el7.x86_64 already installed and latest version
Package sssd-client-1.16.5-10.el7_9.13.i686 already installed and latest version
Package compat-libstdc++-33-3.2.3-72.el7.i686 already installed and latest version
Package python-2.7.5-92.el7_9.x86_64 already installed and latest version
Package kmod-20-28.el7.x86_64 already installed and latest version
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Success resolving dependencies
Leaving Shell
[ERROR] Failed running transaction: Error: Need to pass a list of pkgs to remove
In the affected system, packages_to_remove() returns an empty $to_rm list. This is the result of spare_deps_required(), which generates the following list of leaves:
All of the packages are subsequently deleted from the list as false positives, which is reasonable, and $to_rm stays empty. However, defined($to_rm) still evaluates to true and the execution continues with the empty list.
The text was updated successfully, but these errors were encountered:
SPMA is failing to complete in one of our systems because it tries to execute
yum remove
without any packagesI tracked down this issue to
update_pkgs()
:configuration-modules-core/ncm-spma/src/main/perl/spma/yum.pm
Lines 907 to 910 in bdb85e6
In the affected system,
packages_to_remove()
returns an empty$to_rm
list. This is the result of spare_deps_required(), which generates the following list of leaves:All of the packages are subsequently deleted from the list as false positives, which is reasonable, and
$to_rm
stays empty. However,defined($to_rm)
still evaluates to true and the execution continues with the empty list.The text was updated successfully, but these errors were encountered: