From b83d3379e6c7cfd0b6ec218ad7d912ab7e78cac6 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Fri, 4 Sep 2026 19:18:04 -0300 Subject: [PATCH] fix(xcat-core): go-xcat names a genesis package no apt repository has On ppc64el "go-xcat install" and "go-xcat uninstall" stop with E: Unable to locate package xcat-genesis-scripts-ppc64 apt refuses the whole transaction, so no package of the list is installed or removed. The dpkg branch of GO_XCAT_INSTALL_LIST in xCAT-server/share/xcat/tools/go-xcat names xcat-genesis-scripts-ppc64 and xcat-genesis-base-ppc64. Those are rpm architecture names. GO_XCAT_UNINSTALL_LIST is derived from the same array, so both actions carry the wrong names. The Debian architecture is ppc64el. This change renames the two entries of the dpkg branch. The rpm branch keeps ppc64, which is the Genesis target architecture of the spec. go_xcat_genesis_package_names.t fails the four deb assertions without this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-server/share/xcat/tools/go-xcat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index 09aee446d..41c027da7 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -199,9 +199,9 @@ GO_XCAT_INSTALL_LIST=(perl-xCAT xCAT-client xCAT xCAT-buildkit # For Debian/Ubuntu, it will need a slightly different package list type dpkg >/dev/null 2>&1 && GO_XCAT_INSTALL_LIST=(perl-xcat xcat-client xcat xcat-buildkit - xcat-genesis-scripts-amd64 xcat-genesis-scripts-ppc64 xcat-server + xcat-genesis-scripts-amd64 xcat-genesis-scripts-ppc64el xcat-server elilo-xcat grub2-xcat ipmitool-xcat syslinux-xcat - xcat-genesis-base-amd64 xcat-genesis-base-ppc64 xnba-undi) + xcat-genesis-base-amd64 xcat-genesis-base-ppc64el xnba-undi) # The package list of all the packages should be uninstalled GO_XCAT_UNINSTALL_LIST=("${GO_XCAT_INSTALL_LIST[@]}" goconserver xCAT-SoftLayer xCAT-confluent xCAT-csm xCAT-genesis-builder