[arch] improvements -> upgrading firstly the keyring packages declared in 'SyncFirst' (/etc/pacman.conf) to avoid pacman downloading issues | only removing packages after downloading the required ones

This commit is contained in:
Vinicius Moreira
2020-08-11 11:24:41 -03:00
parent b68a21894e
commit 31b67a32b7
5 changed files with 149 additions and 69 deletions

View File

@@ -58,6 +58,7 @@ class UpgradeRequirements:
self.to_remove = to_remove # when an upgrading package conflicts with a not upgrading package ( check all the non-upgrading packages deps an add here [including those selected to upgrade as well]
self.to_upgrade = to_upgrade
self.cannot_upgrade = cannot_upgrade
self.context = {} # caches relevant data to actually perform the upgrade
class TransactionResult: