fix: try to fix error on update on computer switch off
This commit is contained in:
@ -13,7 +13,7 @@ import time
|
||||
from datetime import datetime
|
||||
|
||||
import state as state_mod
|
||||
from package_manager import install_packages, is_pacman_locked
|
||||
from package_manager import upgrade_cached_packages, is_pacman_locked
|
||||
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
@ -209,7 +209,7 @@ def run():
|
||||
|
||||
try:
|
||||
display.update(f"Installation de {len(names)} paquet(s)…")
|
||||
result = install_packages(names)
|
||||
result = upgrade_cached_packages(names)
|
||||
|
||||
except Exception as e:
|
||||
logger.exception(f"Erreur inattendue : {e}")
|
||||
|
||||
Reference in New Issue
Block a user