You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Ubuntu 14.04 LTS as the host, debootstrap doesn't support the --allow-unauthenticated option (looks like that's available in later versions).
the create stage results in:
Exec[create_pbuilder_trusty]/returns: E: unrecognized or invalid option --allow-unauthenticated
this is a direct result of the DEBOOTSTRAPOPTS[3]="--allow-unauthenticated" at the end of the pbuilderrc.erb template.
Unfortunately there is no way to override either the option or the template due as its the last file in the configuration processing order (according to pbuilder documentation)
Can I suggest an improvement in the following way:
Change DEBOOTSTRAPOPTS[0..3] to be something like:
DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--variant=buildd" "--arch=$ARCH")
This way --allow-unauthenticated can be supplied from /etc/pbuilderrc
Alternatively provide a mechanism for replacing the template.
I'm happy to produce a pull request for this - in fact, I may do this anyway.
The text was updated successfully, but these errors were encountered:
Hi,
When using Ubuntu 14.04 LTS as the host, debootstrap doesn't support the --allow-unauthenticated option (looks like that's available in later versions).
the create stage results in:
Exec[create_pbuilder_trusty]/returns: E: unrecognized or invalid option --allow-unauthenticated
this is a direct result of the DEBOOTSTRAPOPTS[3]="--allow-unauthenticated" at the end of the pbuilderrc.erb template.
Unfortunately there is no way to override either the option or the template due as its the last file in the configuration processing order (according to pbuilder documentation)
Can I suggest an improvement in the following way:
Change DEBOOTSTRAPOPTS[0..3] to be something like:
DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--variant=buildd" "--arch=$ARCH")
This way --allow-unauthenticated can be supplied from /etc/pbuilderrc
Alternatively provide a mechanism for replacing the template.
I'm happy to produce a pull request for this - in fact, I may do this anyway.
The text was updated successfully, but these errors were encountered: