mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[arch] fix: missing error handling when hard requirements for optional dependencies cannot be found by pacman
This commit is contained in:
@@ -3474,6 +3474,8 @@ class ArchManager(SoftwareManager):
|
||||
except PackageInHoldException:
|
||||
self.logger.warning("There is a requirement in hold for opt dep '{}'".format(p))
|
||||
continue
|
||||
except PackageNotFoundException:
|
||||
self.logger.warning(f"No hard requirements found for optional {p}. Reason: package not found")
|
||||
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user