Bug#594481: pbuilder not resolve APTGETOPT variable

Mattia Rizzolo mattia at mapreri.org
Wed Nov 18 18:29:26 UTC 2015


better late than never, somebody would say...

control: tags -1 + moreinfo

On Thu, Aug 26, 2010 at 12:35:05PM +0200, Grzegorz Kolorz wrote:
> I set variable APTGETOPT=('--force-all') in my .pbuilderrc
> but when I build packages not from debian distro
> I get following errors
> 
>   E: There are problems and -y was used without --force-yes
>   E: Unrecoverable error installing build-dependencies.
>   E: pbuilder-satisfydepends failed.

On Tue, 14 Feb 2012 22:57:43 +0100 Roman Müllenschläder wrote:
> No matter what and where I set APTGETOPT to, it doen't get read by
> pbuilder-
> satisfydepends-gdebi?!
> 
> What to do?

Well, APTGETOPT is not used for dep resolving, but only for for `apt-get
install` operation outside the resolver, for the upgrade, and starting
from the next release also for `apt-get update`.

Anyway, your use case is covered in the --allow-untrusted CLI flag
(ALLOWUNTRUSTED=yes conf entry).

Otherwise have a look also at the PBUILDERSATISFYDEPENDSOPT, though
consider it's not passed directly to apt-get, but through the resolver,
which will interprer it on its own.

A possible (= haven't tested it) workaround might be to just export
APTGETOPT.


Please tell me if this is enough to solve your problem.

-- 
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  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151118/3374461e/attachment.sig>


More information about the Pbuilder-maint mailing list