package: sbuild version: 0.91.6 severity: normal hi, the recent changes to apt-update prevents lintian starting, I set $apt_update = 0; but now --run-lintian fails with Install lintian build dependencies (apt-based resolver) ------------------------------------------------------------------------ Installing build dependencies Reading package lists... E:Building dependency tree... Reading state information... Unable to locate package sbuild-build-depends-lintian-dummy:amd64 apt-get failed. E: Package installation failed Not removing build depends: cloned chroot in use ---------------------------------------------------------------- sbuild commit 0a66217d works fine sbuild commit f0a66217d fails both are part of sbuild 0.91.6 (I expect running "sbuild hello --no-apt-update --run-lintian" would reproduce this, unless i am doing something else wrong, which is very possible!)
oops, apparently i failed to paste the commit ids: sbuild commit 0a66217d works fine sbuild commit 1652a2e019b5cd50537f0d77425637ce44c9be44 is the first that fails This commit does the following--- a/lib/Sbuild/ResolverBase.pm +++ b/lib/Sbuild/ResolverBase.pm @@ -692,6 +692,11 @@ sub update_archive { my $apt_update = shift; if ($apt_update) { + if (!$self->get_conf('APT_UPDATE')) { + print STDERR "I: skipping apt update as requested\n"; + return 1; + } +