correct log message for system upgrades

This commit is contained in:
Fredrik Eriksson 2024-07-26 12:30:47 +02:00
parent ae560e96c0
commit a4a28a1fb3
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -236,7 +236,7 @@ def pkg_upgrade():
if do_system_upgrade: if do_system_upgrade:
do_grub = True do_grub = True
else: else:
raise sau.errors.UpgradeError(f"System package {name} has an update, but system upgrade is disabled") raise sau.errors.UpgradeError(f"System package {package} has an update, but system upgrade is disabled")
if not do_rebuild: if not do_rebuild:
raise sau.errors.UpgradeError('Some packages require manual attention, did not upgrade') raise sau.errors.UpgradeError('Some packages require manual attention, did not upgrade')