[Piuparts-devel] Bug#632046: piuparts: Use HTTP_PROXY

Scott Schaefer saschaefer at neurodiverse.org
Wed Jun 29 10:28:24 UTC 2011


Package: piuparts
Version: 0.40
Severity: wishlist
Tags: patch


Attached patch causes piuparts to add appropriate line to apt.conf in chroot
to cause apt to use current HTTP_PROXY variable from OS environment.

It PROBABLY should also read current apt config and duplicate any 
Acquire::http::proxy
value from there.  However, there are at least three issues with that:

1) should it copy other Acquire config elements ?  Note users may be
rate-limiting their downloads with use of 'unattended-upgrades.conf'

2) requires research to determine priority/interaction of various
locations/files from which apt reads its config (e.g. ~/apt.conf),

3) substantially more difficult to parse :-)


-- System Information:
Debian Release: 6.0.1
   APT prefers stable
   APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages piuparts depends on:
ii  apt                     0.8.10.3         Advanced front-end for dpkg
ii  debootstrap             1.0.26+squeeze1  Bootstrap a basic Debian 
system
ii  lsb-release             3.2-23.2squeeze1 Linux Standard Base version 
report
ii  lsof                    4.81.dfsg.1-1    List open files
ii  python                  2.6.6-3+squeeze6 interactive high-level 
object-orie
ii  python-debian           0.1.18           Python modules to work with 
Debian

piuparts recommends no packages.

Versions of packages piuparts suggests:
ii  ghostscript                 8.71~dfsg2-9 The GPL Ghostscript 
PostScript/PDF
pn  python-rpy <none>       (no description available)

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apt_proxy.patch
Type: text/x-patch
Size: 1313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20110629/2175ccf9/attachment.bin>


More information about the Piuparts-devel mailing list