Package: sbuild Version: 0.73.0-4 Severity: wishlist Tags: patch It would be nice if sbuild automatically updated the configured schroots. As things stand now, a configured schroot will slowly rot down to a point where new builds will have to download a bunch of base packages at each run, if sbuild is configured to automatically update the schroot at build time. And if it's not, the resulting build will be based on bit-rotten code as well.
I have used the following simple script in /etc/cron.weekly/sbuild: #!/bin/sh -e cd /etc/sbuild/chroot/ for chroot in *; do sbuild-update --update --upgrade --clean --autoclean --autoremove $chroot >/dev/null done I don't like it so much: "> /dev/null" is a crude hack, and it should be possible to silence apt more carefully. But it works and is good enough for my purpose. Could that be considered upstream? Thanks! A. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages sbuild depends on: ii adduser 3.115 ii libsbuild-perl 0.73.0-4 ii perl 5.24.1-3+deb9u1 Versions of packages sbuild recommends: ii autopkgtest 4.4 ii debootstrap 1.0.89 ii schroot 1.6.10-3+b1 Versions of packages sbuild suggests: pn deborphan <none> ii kmod 23-2 ii wget 1.18-5 -- no debconf information