Hi Guilhem,

* Guilhem Moulin <[email protected]> [2026-04-07 11:32]:
`sbuild-update -u` no longer works as before on my system ("skipping apt
update as requested").

   ~$ sudo sbuild-update -u bullseye-amd64-sbuild
   I: Setting up the chroot...
   bullseye-amd64-sbuild: Performing update.
   I: skipping apt update as requested

I assume you have

$apt_update = 0 in your sbuild config.

It seems it's caused by this commit:
https://salsa.debian.org/debian/sbuild/-/commit/1652a2e019b5cd50537f0d77425637ce44c9be44

Setting `$apt_update = 1` fixes this, but I precisely don't want to run
`apt-get update` at the start of each build.  Instead I want to control
the update process via explicit `sbuild-update -u` calls.  Shouldn't the
`-u` flag override $apt_update?

Somehow I can't reproduce this but can you check if this fixes your problem?

https://salsa.debian.org/debian/sbuild/-/merge_requests/229

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to