Your message dated Sat, 3 Oct 2015 13:47:53 +0000
with message-id <[email protected]>
and subject line Re: Bug#234859: pbuilder won't create base.tgz if behind proxy
has caused the Debian Bug report #234859,
regarding [WAITING FOR RESPONSE] document usage of ftp proxy
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 [email protected]
immediately.)
--
234859: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=234859
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: pbuilder
Version: 0.99
Severity: important
Tags: patch
If host is behind a Proxy, and I have to use passive FTP (specified in the
/etc/apt/apt.conf file), pbuilder fails to UPDATE (not create!) the chroot
tarball.
- ----- s n i p -----
I: Base system installed successfully.
umount: /var/cache/pbuilder/build/27030/./dev/pts: not mounted
umount: /var/cache/pbuilder/build/27030/./dev/shm: not found
umount: /var/cache/pbuilder/build/27030/./proc/bus/usb: not mounted
-> debootstrap finished
-> copying local configuration
-> Installing apt-lines
Refreshing the base.tgz
-> upgrading packages
-> mounting /proc filesystem
-> mounting /dev/pts filesystem
-> installing dummy policy-rc.d
Get:1 ftp://non-us.debian.org woody/non-US/main Packages [44.5kB]
Err ftp://non-us.debian.org woody/non-US/main Packages
Could not connect passive socket.
[etc]
Failed to fetch
ftp://ftp.debian.org/debian/dists/woody/main/binary-i386/Packages Could not
connect passive socket. [IP: 208.185.25.38 21]
[etc]
Reading Package Lists... Done
Building Dependency Tree... Done
E: Some index files failed to download, they have been ignored, or old ones
used instead.
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//27030 and its
subdirectories
- ----- s n i p -----
SOLUTION: Copy the apt.conf file as well as hosts, resolv.conf etc (see patch).
--- pbuilder-modules.orig 2004-02-26 08:19:53.000000000 +0100
+++ pbuilder-modules 2004-02-26 08:20:09.000000000 +0100
@@ -229,7 +229,7 @@
function copy_local_configuration () {
echo " -> copying local configuration"
- for a in hosts hostname resolv.conf; do
+ for a in hosts hostname resolv.conf apt/apt.conf; do
rm -f "$BUILDPLACE/etc/$a"
if [ ! -f "/etc/$a" ]; then
echo "E: /etc/$a does not exist, your setup is insane. fix it" >&2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>
iD8DBQFAPaD1mlWzPKccHgARAieLAJ0T1G9wYsWYbfDY1nXYO7YE9Q8WnQCdGzAW
Pp6kM9hUd7LGv7PKIr7NqQs=
=G5uF
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
On Sat, Mar 13, 2004 at 01:20:58AM +0900, Junichi Uekawa wrote:
> > > > tarball.
> > >
> > > pbuilder has never really supported ftp, but only http.
> > > Is there a specific reason why you are using ftp instead of http?
> >
> > No reason other than 'I felt like it' :)
> >
> > But with my fix, pbuilder can officially support FTP as well as HTTP... ?
>
> By the way, won't setting
>
> export ftp_proxy="http://xxxx"
>
> allow use of FTP-over-HTTP proxies to be used?
Didn't really tried, but I can't think why this wouldn't work.
Since there has been no replies from the OP in 11 years, let me close
this bug.
If using ftp with a proxy within pbuilder is still a issue please reopen
this bug (or open a new one...).
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
--- End Message ---