correct log message for system upgrades
This commit is contained in:
parent
ae560e96c0
commit
a4a28a1fb3
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user