On Tue, 13 Oct 1998, Jason Gunthorpe wrote:

> On Tue, 13 Oct 1998, Tomas Bautista wrote:
> 
> > Dear Sirs,
> > 
> > I've been using apt-get behind a firewall without problems with 0.1.1X
> > versions with the ftp method, but as far as I have changed it for the
> > 0.1.2 it does not work any more.
> 
> What sort of firewall and can you be more specific about the "doesn't
> work" bit?

We have a firewall in which for connecting to a machine outside we have to
connect first to this machine with the ftp program and from there it asks
for the username. At this point we then have to type
[EMAIL PROTECTED]

Where I typed 0.1.1X it was wrong -- it was 0.0.1X. Apt worked on this
environment up to version 0.0.17-1 without problems, but as I have
upgraded to 0.1.2 it has stopped working. In fact, I have tried to verify
if the libnet-perl was correctly configured and it is so. For instance,
this perl script works pretty fine:

  #!/usr/bin/perl

  use Net::FTP;

  $ftp = Net::FTP->new("non-US.debian.org");
  $ftp->login("anonymous","[EMAIL PROTECTED]");
  $ftp->cwd("/pub/debian/dists/stable/contrib/binary-i386");
  $ftp->get("Packages.gz");
  $ftp->quit;

But for the apt with the /etc/apt/sources.list saying:

  deb ftp://non-US.debian.org/pub/debian stable main

the `apt-get update' command complains with

[EMAIL PROTECTED]:~/tmp# apt-get update
Get ftp://non-US.debian.org stable/main Packages
Error ftp://non-US.debian.org stable/main Packages
 ftp_connect: Could not connect
ERROR
ftp://non-US.debian.org/pub/debian/dists/stable/main/binary-i386/Packages.gz
  ftp_connect: Could not connect

Thank you very much in advance,

   Tomás.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  _____     Tomas Bautista.  Phone: +34 928 451275 -- Fax: +34 928 451243 
 /  ___)_   E-mail address:  [EMAIL PROTECTED]
|  (___  \  Home page URL:   <http://www.cma.ulpgc.es/users/bautista>
 \_____)  |        Centre for Applied Microelectronics, CAD Division.
   (_____/                  University of Las Palmas de G.C.
                Campus de Tafira, pab. A. E-35017 Las Palmas, Canary Is.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Reply via email to