On Thu, Dec 24, 2015 at 09:17:29AM +0100, Johannes Schauer wrote: > the following patch should fix this: > > diff --git a/lib/Sbuild/ResolverBase.pm b/lib/Sbuild/ResolverBase.pm > index db54289..1e71abf 100644 > --- a/lib/Sbuild/ResolverBase.pm > +++ b/lib/Sbuild/ResolverBase.pm > @@ -1368,6 +1368,8 @@ sub get_aptitude_command_internal { > debug2("APT Command: ", join(" ", @aptcommand), "\n"); > > $options->{'INTCOMMAND'} = \@aptcommand; > + > + $options->{'ENV'}{'XDG_CACHE_HOME'} = '/tmp'; > } > > sub run_aptitude_command { > > > Though I'm not sure how wise it is to use /tmp as aptitude's location for its > cache...
So nice in pbuilder we had another problem with aptitude, and the fix was the same. BTW, I used '/root' as XDG_CACHE_HOME. On second though '/root/.cache' would have been better, but *shrugs*, I don't think people are going to do so much stuff in buildd chroots (even if I'll probably switch it in a later release). -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: http://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature