[arch] improvement: not rechecking sub-dependencies of an AUR dependency to be installed

This commit is contained in:
Vinicius Moreira
2022-01-27 12:27:13 -03:00
parent d205281b3a
commit 644cf43511
2 changed files with 8 additions and 3 deletions

View File

@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.9.26]
### Improvements
- Arch
- not rechecking sub-dependencies of an AUR dependency to be installed
### Fixes
- Arch
- not upgrading a package when a dependent package relies on a specific version with epoch (e.g: alsa-plugins 1:1.2.6-1 would not be upgraded to 1:1.2.6-2 because lib32-alsa-plugins relies on 1:1.2.6)

View File

@@ -2108,6 +2108,7 @@ class ArchManager(SoftwareManager):
return True
def _handle_aur_package_deps_and_keys(self, context: TransactionContext) -> bool:
if not context.dependency:
handled_deps = self._handle_missing_deps(context)
if not handled_deps:
return False