Bug#408297: marked as done (should honor mirror/*/proxy when fetching keys for local repositories)
Your message dated Mon, 29 Jan 2007 20:47:03 +0000
with message-id <E1HBdP5-0003LQ-MQ@ries.debian.org>
and subject line Bug#408297: fixed in apt-setup 1:0.17
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Bug #348509 added support for local repositories, including fetching the
signing key for each repo.
It seems mirror/*/proxy isn't being honored when fetching the key, since the
environment variable http_proxy isn't being set before wget(1) is called.
Some background: we PXE boot d-i with preseeded configuration. For
installation, machines are numbered into a private network that does not
have direct access to our APT repository. Instead, a proxy is used during
installation. IIRC (it's been a couple of weeks), d-i was leaving this
repository commented out because it wouldn't pass verification without the
signing key. Once I renumbered our repository so it was reachable from the
installation network, this local repo was used by d-i.
Maybe this patch will help? I haven't had a chance to rebuild a d-i image
to verify, but unless something else in the install process is setting
http_proxy, it doesn't seem to be available to wget.
--- 60local.orig 2006-07-25 22:49:31.000000000 +0000
+++ 60local 2007-01-24 16:46:50.000002000 +0000
@@ -32,6 +32,12 @@
echo "deb-src $repository" >> $file
if [ -n "$key" ]; then
+ protocol=$(echo "$repository" | sed 's/:.*//')
+ db_get mirror/$protocol/proxy
+ if [ -n "$proxy" ]; then
+ export http_proxy="$proxy"
# fetch the key
wget "$key" -O "$ROOT/tmp/key$i.pub"
# add it to the keyring
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12-10-xeon
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--- End Message ---
--- Begin Message ---
We believe that the bug you reported is fixed in the latest version of
apt-setup, which is due to be installed in the Debian FTP archive:
A summary of the changes between this version and the previous one is
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to email@example.com,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
Frans Pop <firstname.lastname@example.org> (supplier of updated apt-setup package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing email@example.com)
-----BEGIN PGP SIGNED MESSAGE-----
Date: Mon, 29 Jan 2007 21:43:32 +0100
Binary: apt-mirror-setup apt-cdrom-setup apt-setup-udeb
Architecture: source all
Maintainer: Debian Install System Team <firstname.lastname@example.org>
Changed-By: Frans Pop <email@example.com>
apt-cdrom-setup - set up a CD in sources.list (udeb)
apt-mirror-setup - set up a mirror in sources.list (udeb)
apt-setup-udeb - Configure apt (udeb)
Closes: 393033 400715 408297
apt-setup (1:0.17) unstable; urgency=low
[ Christian Perrier ]
* Fix error in French translation. Closes: #400715.
[ Frans Pop ]
* Make wget respect proxy servers defined for local sources. Based on a
patch suggested by John Morrissey, for which thanks. Closes: #408297.
* Use log-output for commands that produce output if run in the installer.
* Consistently use http protocol when setting up security archive (ftp
reguires a different mirror directory and is thus not easy to support).
* Reduce timeout for testing security mirrors to 30 seconds. As security.d.o
currently has 3 IP addresses listed, and these are tried consecutively, the
total timeout will be 1.5 minutes (was 6 minutes). Closes: #393033.
* apt-setup-verify: reset IFS to avoid problems with option processing.
[ Updated translations ]
* Arabic (ar.po) by Ossama M. Khayat
* Belarusian (be.po) by Pavel Piatruk
* Bulgarian (bg.po) by Damyan Ivanov
* Bosnian (bs.po) by Safir Secerovic
* Danish (da.po) by Claus Hindsgaul
* Esperanto (eo.po) by Serge Leblanc
* Spanish (es.po) by Javier FernÃ¡ndez-Sanguino PeÃ±a
* Basque (eu.po) by Piarres Beobide
* Hebrew (he.po) by Lior Kaplan
* Georgian (ka.po) by Aiet Kolkhi
* Kurdish (ku.po) by Amed Ã?eko Jiyan
* Latvian (lv.po) by Aigars Mahinovs
* Malayalam (ml.po) by Praveen A
* Panjabi (pa.po) by A S Alam
* Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
* Slovak (sk.po) by Peter Mann
* Slovenian (sl.po) by Matej KovaÄ?iÄ?
* Swedish (sv.po) by Daniel Nylander
* Thai (th.po) by Theppitak Karoonboonyanan
* Turkish (tr.po) by Recai OktaÅ?
a51aaa20cfa2b8bd83ebdf91b86920cd 677 debian-installer extra apt-setup_0.17.dsc
7bec6a7bfe3b79330ec15c8aaa5e0042 112315 debian-installer extra apt-setup_0.17.tar.gz
b69783f76b86c3ccc62c35fa4cb15b7c 19004 debian-installer standard apt-setup-udeb_0.17_all.udeb
e022d72305aa9a98774e578cc36a14ab 51738 debian-installer extra apt-mirror-setup_0.17_all.udeb
a7b4feabd9ac8c80aa5a1f0cf3ca0266 7042 debian-installer extra apt-cdrom-setup_0.17_all.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
--- End Message ---