mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[arch] fix: missing error handling when hard requirements for optional dependencies cannot be found by pacman
This commit is contained in:
@@ -9,7 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- Arch
|
- Arch
|
||||||
- allowing AUR packages to be installed when bauh is launched by the root user [#196](https://github.com/vinifmor/bauh/issues/196)
|
- allowing AUR packages to be installed when bauh is launched by the root user [#196](https://github.com/vinifmor/bauh/issues/196)
|
||||||
- it creates a non-root user called **bauh-aur** for building the packages (`useradd` and `runuser` commands must be installed)
|
- it creates a non-root user called **bauh-aur** for building the packages (`useradd` and `runuser` commands must be installed)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Arch
|
||||||
|
- missing error handling when hard requirements for optional dependencies cannot be found by pacman
|
||||||
|
|
||||||
## [0.9.22] 2021-11-30
|
## [0.9.22] 2021-11-30
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|||||||
@@ -3474,6 +3474,8 @@ class ArchManager(SoftwareManager):
|
|||||||
except PackageInHoldException:
|
except PackageInHoldException:
|
||||||
self.logger.warning("There is a requirement in hold for opt dep '{}'".format(p))
|
self.logger.warning("There is a requirement in hold for opt dep '{}'".format(p))
|
||||||
continue
|
continue
|
||||||
|
except PackageNotFoundException:
|
||||||
|
self.logger.warning(f"No hard requirements found for optional {p}. Reason: package not found")
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user