
UNSOLVED
dell-system-update rpm script errors
Installing the dell-system-update rpm results in the following error:
2026-09-22T05:12:04-0600 SUBDEBUG Upgrade: dell-system-update-2.3.0.1-26.08.00.x86_64
2026-09-22T05:12:05-0600 INFO /var/tmp/rpm-tmp.LITNrW: line 32: syntax error: unexpected end of file
warning: %post(dell-system-update-2.3.0.1-26.08.00.x86_64) scriptlet failed, exit status 2
2026-09-22T05:12:05-0600 ERROR Error in POSTIN scriptlet in rpm package dell-system-update
This is because the postinstall scriptlet is missing a final "fi":
rm -f /etc/ld.so.conf.d/dsulib.conf
/sbin/ldconfig
chmod +x $RPM_BUILD_ROOT/opt/dell/dsu/getOEMSystemId
var=$(awk -F= '/^VERSION_ID/{print $2}' /etc/os-release)
if [[ $var == *8.1* ]]
then
rm -f $RPM_BUILD_ROOT//usr/lib64/dsulib/libssh2.so.1
fi
if [ -d "/run/overlay/live" ]; then
echo "Running from ISO, skipping bootstrap fetch"
else
BOOTSTRAP_URL="https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi"
DEST="/opt/dell/dsu/bootstrap.cgi"
mkdir -p "$(dirname "$DEST")"
CURL_BIN=$(command -v curl)
if [ -n "$CURL_BIN" ]; then
if "$CURL_BIN" -fSL --connect-timeout 10 --max-time 60 --retry 3 --retry-all-errors -o "$DEST.tmp" "$BOOTSTRAP_URL"; then
mv -f "$DEST.tmp" "$DEST"
yes y | bash "$DEST"
else
echo "Unable to download $BOOTSTRAP_URL" >&2
fi
else
echo "curl not found; skipping bootstrap.cgi fetch" >&2
fi
Also, when I run the scriptlet with the addition "fi" added, I get:
curl: option --retry-all-errors: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
Unable to download https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi
This is on an EL8 machine.
Responses (0)
Solutions (0)
