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

Re: problem with the FTP archive



On Tue, 28 Oct 1997, Bruce Perens wrote:

> Is this a case of the user needing to type something different, or is there
> a problem with the archive?

This looks familiar to me.

At work I am behind a firewall and I have to login to the firewall's ftp
server as anonymous@ftp.debian.org to get connected to ftp.debian.org.

I can set dselect up to work with that too, but then I also have to tell
dselect to not use passive mode ftp, because of the firewall that is
inbetween dselect and ftp.debian.org.

Before I figured that out, I saw exactly the same errors as Konst reports.

Maybe the question about the use of passive mode should be accompanied by
a short blurb of text hinting at firewalls disrupting normal ( active )
ftp sessions.

Here's what I configured dselect to do:

( Of course, you'll need dpkg from hamm to be able to specify
"dists/unstable/main" etc. as distributions to get. )

---start of transcript---
You must supply an ftp site, use of passive mode, username, password,
path to the debian directory,list of distributions you are interested
in and place to download the binary package files to (relative to
/var/lib/dpkg/methods/ftp).

Eg:      ftp site: ftp.debian.org
          passive: y
         username: anonymous
         password: kooij@host-64-47.mpn.cp.philips.com
          ftp dir: /debian
    distributions: stable non-free contrib
     download dir: debian

Enter ftp site [ftp-proxy.nl.cis.philips.com]: 

Use passive mode [n]: 

Enter username [anonymous@ftp.debian.org]: 

If you are using anonymous ftp to retrieve files, enter your email
address for use as a password.  Otherwise enter "?" and dpkg-ftp will
prompt you each time.

Enter password [kooij@mpn.cp.philips.com]: 

Enter debian directory [/debian]: 

Note: order here is important.  Package files are scanned in order so
later distributions will override earlier ones.

So put stable before unstable.

Enter space seperated list of distributions to get
[dists/unstable/main dists/unstable/non-free dists/unstable/contrib]: 

Enter directory to download binary package files to
(relative to /var/lib/dpkg/methods/ftp/)
[debian]: 

Using FTP to check directories...(stop with ^C)

Connecting to ftp-proxy.nl.cis.philips.com...
Login as anonymous@ftp.debian.org...
Setting transfer mode to binary...
Cd to /debian...
Checking dists/unstable/main/binary-i386...
Checking dists/unstable/non-free/binary-i386...
Checking dists/unstable/contrib/binary-i386...
Closing ftp connection...

---end of transcript---

Cheers,


Joost 

> From: gregh@cc.gatech.edu (Greg Hankins)
> Bruce, this doesn't sound like something I can fix...?
> 
> Greg
> 
> Konstantin Kivi writes:
> >From konst@kivi Sun Oct 26 05:23:16 1997
> Message-Id: <m0xPQlp-0001xzC@kivi>
> Date: Sun, 26 Oct 1997 14:22:13 +0300 (MSK)
> To: ftpmaster@cc.gatech.edu
> From: Konstantin Kivi <konst@sirena.rinet.ru>
> 
>  
> Hi !
> 
> This is a message for those who is responsible
> for keeping Debian ftp-able distribution at ftp.debian.org
> 
> I have found that it's impossible to fetch Packages.gz
> using dselect. I tried /debian, debian, /debian/bo, bo, /bo
> /as121/linux/distributions/debian/bo. The best result 
> was a warning (about symbolics links ) 
> during access phase
> 
> -----------------------------------------------------------------   
> Cd to /debian/bo...
> Checking stable/binary-i386...
> Warning: Couldn't find a Packages file in stable/binary-i386
> This may not be a problem if the directory is a symbolic link
> Checking non-free/binary-i386...
> Warning: Couldn't find a Packages file in non-free/binary-i386
> This may not be a problem if the directory is a symbolic link
> Checking contrib/binary-i386...
> Warning: Couldn't find a Packages file in contrib/binary-i386
> This may not be a problem if the directory is a symbolic link
> Closing ftp connection...
> -----------------------------------------------------------------
> 
> and an error during Update stating  
> -------------------------------------------------------------
> Cd to /debian/bo...
> Getting Packages file from stable/binary-i386...
> Couldn't find Packages[.gz] in stable/binary-i386, stoppedFTP ERROR
> 
> update available list script returned error exit status 1.
> Press RETURN to continue.
>  
> ------------------------------------------------------
> 
> I've also tried ftp.funet.fi with the same result.
> 
> I think there is a problem that can prevent many
> people from upgrading and thus make Debian less popular
> 
> 
> my config is debian 1.2.4 partially upgraded to 1.3
> This is version of the involved packages 
> ------------------------------------------------------------------------------
> Desired=Unknown/Install/Remove/Purge
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name            Version        Description
> +++-===============-==============-============================================
> hi  dpkg-ftp        1.4.8          Ftp method for dselect.
> hi  dpkg            1.4.0.8        Package maintenance system for Debian Linux
> ----------------------------------------------------------------------------
> 
> Sincerely yours, Konstantin Kivi.
> 
> Please answer me to konst@sirena.rinet.ru
> 
> 
> -- 
> Greg Hankins (greg.hankins@cc.gatech.edu)     | Georgia Institute of Technology
> Computing and Networking Services             | College of Computing, room 213
> http://www.cc.gatech.edu/staff/h/Greg.Hankins | Atlanta, GA 30332-0280 
> finger gregh@cc.gatech.edu for PGP key        | +1 404 894 6609
> 
> -- 
> Can you get your operating system fixed when you need it?
> Linux - the supportable operating system. http://www.debian.org/support.html
> Bruce Perens K6BP   bruce@debian.org   NEW PHONE NUMBER: 510-620-3502
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-devel-request@lists.debian.org . 
> Trouble?  e-mail to templin@bucknell.edu .
> 
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: