Hi, Quoting Luca Falavigna (2015-10-30 20:43:05) > sometimes my builds fail because of issues during apt-get-update phase. To > handle these cases, I would like to use --build-deps-failed-commands (or > alternatively --anything-failed-commands), but it seems neither of them are > triggered on apt-get-update failed stage. > > Would it be possible to extend the scope of build-deps-failed-commands to > address this scenario too? After all, "Run these commands we tried to > install the dependencies but failed for whatever reason" is somewhat included, > as build-deps won't be processed at all if update is not completed > successfully... > > Alternatively, having another command type like --apt-get-update-failed- > commands would be fine too!
The "apt-get update" step is not part of installing build dependencies. In fact build-deps can be installed even without the "apt-get update" step. Just run sbuild with --no-apt-update. What would the benefit be to have a --apt-get-update-failed-commands hook? Which hook would one like to run when "apt-get update" failed? Thanks! cheers, josch
signature.asc
Description: signature