[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#712710: marked as done (wget in bootstrap_archive-keys doesn't work with proxies)



Your message dated Wed, 19 Jun 2013 08:02:02 +0200
with message-id <51C1495A.2070707@progress-technologies.net>
and subject line Re: wget in bootstrap_archive-keys doesn't work with proxies
has caused the Debian Bug report #712710,
regarding wget in bootstrap_archive-keys doesn't work with proxies
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
712710: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712710
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 3.0.5-1
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

"lb build" when behind a web proxy

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

The first steps are correct (including fetching the packages).
The build stops at "lb bootstrap_archive-keys" step.

[2013-06-17 10:22:21] lb bootstrap_archive-keys 
Err http://ftp.ec-m.fr wheezy Release.gpg
  Cannot initiate the connection to ftp.ec-m.fr:80 (2001:660:5404:693::20). - connect (101: Network is unreachable) [IP: 2001:660:5404:693::20 80]
Ign http://ftp.ec-m.fr wheezy Release
[...]

   * What was the outcome of this action?

lb tries to contact the server directly without using the proxy. Of
course that fails since I have no direct internet access.

   * What outcome did you expect instead?

Use of the proxy.

*** End of the template - remove these lines ***


I tried to configure the proxy in many different places.
The problem is that "lb bootstrap_archive-keys" is called _before_ the
files from config/includes.chroot are copied to the chroot.

I have a file config/includes.chroot/etc/apt/apt.conf with my proxy
configuration but the file is not yet copied in chroot/etc/apt/apt.conf
at this step. The copy is done later on the build.

If I copy the file by hand and restart "lb build" it works

>From my build.log file after the manual fix I have:

[2013-06-17 10:24:54] lb build noauto
[2013-06-17 10:24:54] lb bootstrap 
P: Setting up cleanup function
[2013-06-17 10:24:54] lb bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2013-06-17 10:24:54] lb bootstrap_cdebootstrap 
[2013-06-17 10:24:54] lb bootstrap_debootstrap 
P: Begin bootstrapping system...
[2013-06-17 10:24:55] lb testroot 
W: skipping bootstrap, already done
[2013-06-17 10:24:55] lb bootstrap_archive-keys 
Get:1 http://ftp.ec-m.fr wheezy Release.gpg [1672 B]
Hit http://ftp.ec-m.fr wheezy Release
Hit http://ftp.ec-m.fr wheezy/main i386 Packages
Get:2 http://ftp.ec-m.fr wheezy/main Translation-en [3852 kB]
Fetched 3854 kB in 9s (410 kB/s)
Reading package lists...

*** lb bootstrap_archive-keys now works ***

[2013-06-17 10:25:06] lb bootstrap_cache save
P: Saving bootstrap stage to cache...
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
[2013-06-17 10:25:08] lb chroot 
P: Setting up cleanup function
[2013-06-17 10:25:08] lb chroot_cache restore
[2013-06-17 10:25:08] lb chroot_devpts install
[2013-06-17 10:25:08] lb testroot 
P: Begin mounting /dev/pts...
[2013-06-17 10:25:09] lb chroot_proc install
[2013-06-17 10:25:09] lb testroot 
P: Begin mounting /proc...
[2013-06-17 10:25:09] lb chroot_selinuxfs install
[2013-06-17 10:25:09] lb testroot 
[2013-06-17 10:25:09] lb chroot_sysfs install
[2013-06-17 10:25:09] lb testroot 
P: Begin mounting /sys...
[2013-06-17 10:25:09] lb chroot_debianchroot install
P: Configuring file /etc/debian_chroot
[2013-06-17 10:25:09] lb chroot_dpkg install
P: Configuring file /sbin/start-stop-daemon
[2013-06-17 10:25:10] lb chroot_tmpfs install
[2013-06-17 10:25:10] lb chroot_sysv-rc install
P: Configuring file /usr/sbin/policy-rc.d
[2013-06-17 10:25:10] lb chroot_upstart install
[2013-06-17 10:25:10] lb chroot_hosts install
P: Configuring file /etc/hosts
[2013-06-17 10:25:10] lb chroot_resolv install
P: Configuring file /etc/resolv.conf
[2013-06-17 10:25:10] lb chroot_hostname install
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
[2013-06-17 10:25:11] lb chroot_apt install
P: Configuring file /etc/apt/apt.conf

*** my chroot /etc/apt/apt.conf file is configured here, much too late  ***

[2013-06-17 10:25:11] lb chroot_archives chroot install
P: Configuring file /etc/apt/sources.list
Hit http://ftp.ec-m.fr wheezy Release.gpg
[...]


-- Package-specific info:

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.48

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-0.1
ii  gnu-fdisk                       1.2.4-3.1
ii  live-boot-doc                   3.0.1-1
ii  live-config-doc                 3.0.23-1
ii  live-manual-html [live-manual]  1:3.0.2-1

Versions of packages live-build suggests:
ii  debian-keyring              2013.04.21
ii  dosfstools                  3.0.13-1
ii  fakeroot                    1.18.4-2
ii  git                         1:1.7.10.4-1+wheezy1
ii  gpgv                        1.4.12-7
pn  loadlin                     <none>
pn  memtest86+ | memtest86      <none>
pn  mtools                      <none>
pn  parted                      <none>
pn  squashfs-tools | mtd-tools  <none>
ii  sudo                        1.8.5p2-1+nmu1
pn  syslinux | grub             <none>
pn  uuid-runtime                <none>
pn  win32-loader                <none>
pn  xorriso                     <none>

-- no debconf information

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Version: 4.0~a20-1

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/

--- End Message ---

Reply to: