Skip to content

Display wiki link on dependency error

postmarketOS Bot requested to merge feature/better-depends-error into master

Created by: ollieparanoid

Turns out the reasons why a dependency could not be found are not that simple, and the message we had was not that helpful (e.g. in #1408 (closed), but there are more examples). Here's a new wiki page, that explains the issue in depth and how to fix it for each scenario: https://wiki.postmarketos.org/wiki/Troubleshooting:dependencies

Current:

NOTE: Run 'pmbootstrap pkgrel_bump --auto' to mark packages with outdated dependencies for rebuild. This will most likely fix this issue (soname bump?) ERROR: Could not find package 'so:libcrypto.so.42' in any aports folder or APKINDEX.

New:

ERROR: Could not find dependency 'so:libcrypto.so.42' in any aports folder or APKINDEX. See: <https://postmarketos.org/depends>

Merge request reports