mirror of
https://git.launchpad.net/~ubuntu-qt-code/+git/calamares-settings-ubuntu
synced 2025-04-15 21:21:09 +00:00
When we are creating the final list of packages to feed to "apt install," virtual packages which do not have a valid candidate are included in this list, causing the installation to fail. When creating this list, use FindGrp instead of FindPkg, and only add it to the list if there is a valid candidate. Additionally, add these items to an unordered set, to eliminate deduplication (LP: #2106773). A reliable testcase for this is the libreoffice-help-is package, at least in Plucky.