repo: error for packages with broken dependencies
Metadata
Current evaluation
Merged as 9e588f51e: Snapcraft now reports an explicit unmet-dependencies error instead of silently failing for packages with broken dependencies.
Resolution: closed resolved
Reason: PR #1788 was merged as commit 9e588f51e, adding an error that identifies packages and their unmet dependencies. The change resolves Launchpad bug 1686481.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
This change introduces a new error message instead of silently failing when a package has broken dependencies:
`The package ceph-common:armhf has unmet dependencies: python-requests`
Fixes: [bug 1686481](https://bugs.launchpad.net/snapcraft/+bug/1686481)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as 9e588f51e: Snapcraft now reports an explicit unmet-dependencies error instead of silently failing for packages with broken dependencies. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #1788 (commit 9e588f51e), replacing silent failures with an explicit unmet-dependencies error for packages and fixing bug 1686481. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes replace silent failures with a clear error message for packages containing broken dependencies, resolving bug 1686481. Approved after minor test adjustments. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Successfully merged. Replaces silent failures with explicit error messages for packages with broken dependencies, resolving bug 1686481. Initial test and CLA checks required follow-up before final merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6392 build(deps): update deps | snapcraft | merged | Merged the Snapcraft 9.1 dependency refresh, re-resolving 181 packages across seven files; the change landed in commit 3d6f104c7. | |
| #1499 repo: make errors based on SnapcraftError | snapcraft | merged | Merged PR #1499 in commit 827d7fd82, making repo errors inherit SnapcraftError so non-debug runs report handled errors instead of tracebacks. | |
| #5969 build: update deps | snapcraft | merged | Merged PR #5969 updated the dependency lock file in preparation for Snapcraft 8.14. |