Build failure due to dependency issue
Images started failing to build on 2023-03-04 due to a dependency issue when trying to install
apt-get install --no-install-recommends ubuntu-touch-android9plus ubuntu-minimal libqt5gui5-gles libqt5quick5-gles lomiri-system-settings ofono-sailfish
in https://gitlab.com/ubports/development/core/rootfs-builder-debos/-/blob/7e444123697c7c4993058af605910978d5011021/focal/ubuntu-touch-common.yaml#L17 (see https://ci.ubports.com/blue/organizations/jenkins/focal-hybris-rootfs-arm64/detail/master/617/pipeline/44#step-69-log-213):
2023/03/06 02:03:08 apt-install.sh | The following packages have unmet dependencies:
2023/03/06 02:03:08 apt-install.sh | ubuntu-touch-android9plus : Depends: ubuntu-touch but it is not going to be installed
2023/03/06 02:03:08 apt-install.sh | E: Unable to correct problems, you have held broken packages.
Debugging with aptitude reveals the following issue:
The following packages have unmet dependencies:
ofono-sailfish-scripts : Conflicts: ofono-scripts but 1.33-2ubports4+0~20221209085146.1+ubports20.04~1.gbp4f93fe is to be installed
ofono-sailfish : Conflicts: ofono but 1.33-2ubports4+0~20221209085146.1+ubports20.04~1.gbp4f93fe is to be installed
ofono-scripts : Conflicts: ofono-sailfish-scripts but 1.29+git7-0ubports1~20230217214644.4~8d47699+ubports20.04 is to be installed
ofono : Conflicts: ofono-sailfish but 1.29+git7-0ubports1~20230217214644.4~8d47699+ubports20.04 is to be installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) ofono [Not Installed]
2) ofono-scripts [Not Installed]
3) ubuntu-touch-core-mainline [Not Installed]