* picca <[email protected]> [2025-06-23 15:59]:
for now my issue is the --no-apt-update command line which make the build fail with something like this

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
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: debhelper-compat (= 13) but it is not installable Depends: dh-python but it is not installable Depends: dh-sequence-gir but it is not installable Depends: dh-sequence-python3 but it is not installable Depends: dh-sequence-sphinxdoc but it is not installable Depends: asciidoc but it is not installable Depends: bash-completion but it is not installable Depends: cmake but it is not installable Depends: gobject-introspection but it is not installable Depends: gtk-doc-tools but it is not installable Depends: libgirepository1.0-dev but it is not installable Depends: libglib2.0-dev but it is not installable Depends: libjson-glib-dev but it is not installable Depends: libzmq3-dev but it is not installable Depends: ocl-icd-opencl-dev but it is not installable Depends: python3-dev but it is not installable Depends: python3-sphinx but it is not installable Depends: python3-sphinx-rtd-theme but it is not installable Depends: python3-sphinxcontrib.bibtex but it is not installable
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional context:
  Unable to satisfy dependencies. Reached two conflicting decisions:
1. sbuild-build-depends-main-dummy:amd64=0.invalid.0 is selected for install 2. sbuild-build-depends-main-dummy:amd64 Depends debhelper-compat (= 13)
     but none of the choices are installable:
     [no choices]
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use


It is like no apt repository is configured when using --no-apt-update

You could try debugging that with sbuild --build-deps-failed-commands %s (or some of the other hooks).

* picca <[email protected]> [2025-06-23 17:06]:
Do you know if it possible to configure the extra repository and set a higher priority over other repository with only ?

--extra-repository

Right, pinning is also an option. There is not yet a way to do it automatically but you can do

--chroot-setup-commands "echo ...

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to