[buildd-tools-devel] Bug#521096: sbuild: possible patch for my problem
Gustavo Noronha Silva
kov at debian.org
Thu May 21 13:25:23 UTC 2009
Package: sbuild
Version: 0.58.3-1
Severity: normal
I have not had the possibility of testing it correctly yet, but I'm
hoping this will fix the problem for me:
--- /usr/share/perl5/Sbuild/Build.pm~ 2009-05-17 21:49:23.000000000 +0100
+++ /usr/share/perl5/Sbuild/Build.pm 2009-05-21 14:23:10.000000000 +0100
@@ -251,7 +251,7 @@
# Update APT cache.
if ($self->get_conf('APT_UPDATE')) {
- if (upgrade($session, $self->get('Config'))) {
+ if (update($session, $self->get('Config')) || upgrade($session, $self->get('Config'))) {
# Since apt-update was requested specifically, fail on
# error when not in buildd mode.
$self->log("apt-get update failed\n");
It seems like only apt-get upgrade is getting called. This matches the
output of my log file, indeed.
Thanks,
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-rc5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sbuild depends on:
ii adduser 3.110 add and remove users and groups
ii libsbuild-perl 0.58.3-1 Tool for building Debian binary pa
ii perl 5.10.0-22 Larry Wall's Practical Extraction
ii perl-modules 5.10.0-22 Core Perl modules
Versions of packages sbuild recommends:
ii debootstrap 1.0.13 Bootstrap a basic Debian system
ii fakeroot 1.12.2 Gives a fake root environment
Versions of packages sbuild suggests:
pn deborphan <none> (no description available)
ii wget 1.11.4-2 retrieves files from the web
-- no debconf information
More information about the Buildd-tools-devel
mailing list