Public bug reported:

When running debootstrap with `Acquire::http::ProxyAutoDetect` the
result of the command used by debootstrap is incorrect.

According to `apt` the result of "no proxy" is to return the string
"DIRECT". However debootstrap simply stores the result of the command
into http_proxy verbatim, which breaks subsequent curl requests as it is
an invalid proxy string.

The attached patch shows the basic change necessary to fix this.

** Affects: debootstrap (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "debootstrap.patch"
   
https://bugs.launchpad.net/bugs/2103880/+attachment/5866558/+files/debootstrap.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103880

Title:
  debootstrap incorrectly uses ProxyAutoDetect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/2103880/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to