Comment 0 for bug 1926949

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hello,

[Problem]
=========

It looks like apt isn't able to resolve `dh-systemd | debhelper (>= 13.3)`. Whilst the line in logical and makes sense, that is, use dh-systemd for Groovy and older releases (since it's not present in Hirsute and thereafter) and use debhelper (...) for newer releases, et al.

However, apt is failing to resolve that for some reasons and it's thus results in FTBFS.

[Logs]
======

Install main build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sbuild-build-depends-main-dummy : Depends: dh-systemd but it is not installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use

[Reproducer]
============

$ git ubuntu clone ubuntu-advantage-tools
$ cd ubuntu-advantage-tools
$ sbuild -s --source-only-changes

and that should yield a failed build.