Re: dselect ftp problem - the solution

1998-06-11 Thread Norbert Veber
On Fri, Jun 12, 1998 at 12:03:17AM +0800, Ivan wrote:
> Many thanks - Norbert in particular
> 
> Changing the options file to initiate ppp on the ISP machine - I just
> inserted the line
> $  ppp

that line was in the scripts provided by your isp, was it not?  That is why
I didnt understand why it didnt work, but I guess it doesnt matter now, glad
you got it working.

> to the options file and it worked perfectly.
> 
> As an experiment and to ensure that all my "playing" didn't upset anything
> else I restarted the installation using the recovery disc except that
> immediately prior to selecting the access method when prompted by dselect I
> started another shell, logged as root and edited the ppp files.  I then
> initiated the connection using pon and staying logged on in the second
> shell ( is this necessary ??? ) reverted to the shell running dselect and
> selected ftp etc...

I remember reading on one of the lists that pppsetup is supposed to be
started before dselect (in hamm=Debian 2.0).  Maybe this is still on
someone's todo list..  but that is the way its supposed to be for the final
release of hamm.

> 
> My, my, my ... ain't this world wonderful - a long, long time later the
> entire default Debian default selection of files was downloaded and my
> Debian GNU Linux system is now reasonably functional - now to download some
> software to make it do things !!

good to hear
> 
> Many thanks once more to those people who replied - the problem was easily
> solved once given some experienced guidance !!!

Wow, you are the first person to write me such an elaborate thank you
message, its nice to know that my input was usefull..


pgpbDnWPhjsGd.pgp
Description: PGP signature


Re: dselect-ftp Question

1998-04-07 Thread Fabien Ninoles
On Mon, Apr 06, 1998 at 11:20:05AM -0600, Fulgham, Brent/SCO wrote:
>   Is there a way to configure dselect-ftp to automatically retry
> downloading packages during an FTP error?
> 
>   For example, this weekend I did an install of hamm(frozen) using
> dselect-ftp.  Before bed I started things rolling, then went to sleep hoping
> I would have a whole distribution when I woke in the morning.
> Unfortunately, it had hung about half way through on a single file, asking
> if it should retry.  Well, of course I want it to retry.  I hit it manually,
> and it finished (with a few more hangs), but I lost several hours of time
> waiting (when I could have been sleeping!)
> 
>   Any way to configure this?
> 
>   Thanks,
>   -Brent
> 

In place of editing yourself the ftp method, not really ;) Take a look
around line 300 of /usr/lib/dpkg/ftp/install (but take care to make a
backup first and change only thing that you understand!)

BTW, apt will have a more easy of doing this... wait a little and
remember that when a program ask you something, it's because the
programmer think they are no Always Good Answer [TM] (Like why xv over
libmagick? libmagick rules! ;)

Good Hacking!
Fab (who begin to write before thinking...)

-- 

Fabien Ninoles
E-mail: [EMAIL PROTECTED]
WebPage: http://www.callisto.si.usherb.ca/~94246757
You can get my public key from your nearest public keys server!
RSA PGP KEY [E3723845]: 1C C1 4F A6 EE E5 4D 99  4F 80 2D 2D 1F 85 C1 70



pgpFTTWxlBwp9.pgp
Description: PGP signature


Re: dselect ftp

1997-12-29 Thread Daniel Martin at cush
Rob <[EMAIL PROTECTED]> writes:

> Hi all.
> 
> A brief question, which I suspect may require a verbose answer...  Is there
> a way to install debain using ftp on a dial-up connection? 
> 
> I suspect one may have to install ppp support from an alternate console
> before dselect will work, but is there a recognised way of doing this?
> 
> Thanks in advance,
> 
> Rob.

Yes, but I will put in a warning about the incredible SLOWNESS of this
procedure.  A basic ppp is installed with the current bo disks - just
do the disk-based install to the point where you've set the root
password, etc., and are about to be dumped into dselect.  Then switch
to another console (alt-F2), log in as root, and get your ppp setup
working - often, this is just a matter of editing /etc/ppp.chatscript
to suit your ISP and typing 'pon'.  (You may need to edit
/etc/ppp.options_out as well)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect ftp upgrade

1997-12-25 Thread Scott K. Ellis
On Wed, 24 Dec 1997, PATRICK DAHIROC wrote:

> I would like to upgrade to libc6 and I tried to do so via dselect ftp, but
> I can not find the unstable or hamm directory at ftp.debian and dselect
> just quits on me.  Can someone tell me how to upgrade packages via ftp.
> 
> I am also insearch of an efficient web browser, and I am considering the
> latest version of Amaya.  Is there a .deb binary yet?  Any comments on
> this particular browser is welcomed.

Someone else already mentioned my upgrade howto, but seems to have
forgotten to tell you where to find it :)

http://www.gate.net/~storm/FAQ/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect/ftp segmentation faults!

1997-08-21 Thread Paul Miller
never mind about this message.  I figured it out; what I needed was a
never version of ldso (or something else I installed)...

-Paul

On Thu, 21 Aug 1997, Paul Miller wrote:

> ---
> Using FTP to check directories...(stop with ^C)
> 
> Connecting to ftp.debian.org...
> 
> query/setup script was terminated by a signal: Segmentation fault.
> (It left a coredump.)
> Press RETURN to continue.
> ---
> 
> I'm using the dpkg-ftp_1.4.9.deb and dpkg_1.4.0.19.deb packages from the
> hamm distribution.  Anyone know want could be wrong?
> 
> -Paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect ftp hamm

1997-07-04 Thread Victor Torrico
Igor Grobman wrote:

> > I have had no problems using dselect ftp to install files from all
> > directories but hamm.  I answer the ftp prompts in an obvious fashion
> > and voila everything works OK.
> >
> > What do I do to install files from /debian/hamm/hamm
> > /debian/hamm/contrib and /debian/hamm/non-free?  That is, how do I
> > answer the ftp prompts from dselect so that I can install the files from
> > the above directories?  I've tried various answers to the prompts with
> > no success.  It's driving me bananas.  Another of life's little
> > mysteries.
> >
>
> Below is the patch you need to apply to /usr/lib/dpkg/methods/ftp/install
> Then, in access step of dselect, you have to choose debian/ as the top
> directory,  and  hamm/hamm hamm/contrib hamm/non-free as the distributions.
>
> --- /usr/lib/dpkg/methods/ftp/install.orig Thu Dec  5 07:37:13 1996
> +++ /usr/lib/dpkg/methods/ftp/install Wed Apr 16 01:47:34 1997
> @@ -139,6 +139,7 @@
>  print "\nProcessing Package files...\n";
>  my $dist;
>  foreach $dist (@dists) {
> +$dist =~ tr/\//_/;
>  my $fn = "Packages.$dist";
>  if (-f $fn) {
> print " $dist...\n";
>
> --
> Proudly running Debian Linux! Linux vs. Windows is a no-Win situation
> Igor Grobman   [EMAIL PROTECTED] [EMAIL PROTECTED]


Thanks so much for your help.  Everything worked perfectly as you described.

Victor


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect ftp hamm

1997-07-04 Thread Igor Grobman
> hello,
> 
> Igor Grobman wrote:
> > 
> > > I have had no problems using dselect ftp to install files from all
> > > directories but hamm.  I answer the ftp prompts in an obvious fashion
> > > and voila everything works OK.
> > >
> > > What do I do to install files from /debian/hamm/hamm
> > > /debian/hamm/contrib and /debian/hamm/non-free?  That is, how do I
> > > answer the ftp prompts from dselect so that I can install the files from
> > > the above directories?  I've tried various answers to the prompts with
> > > no success.  It's driving me bananas.  Another of life's little
> > > mysteries.
> > >
> > 
> > Below is the patch you need to apply to 
> 
> are all install problems patched in 1.3.1?

I don't believe this particular problem is fixed in 1.3.1  There weren't any 
new
releases of dpkg-ftp other than those in experimental.  This particular 
problem only affects downloading from unstable, however, and shouldn't ever 
cause any problems with stable.


-- 
Proudly running Debian Linux! Linux vs. Windows is a no-Win situation
Igor Grobman   [EMAIL PROTECTED] [EMAIL PROTECTED] 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect ftp hamm

1997-07-04 Thread Pavel Galynin
hello,

Igor Grobman wrote:
> 
> > I have had no problems using dselect ftp to install files from all
> > directories but hamm.  I answer the ftp prompts in an obvious fashion
> > and voila everything works OK.
> >
> > What do I do to install files from /debian/hamm/hamm
> > /debian/hamm/contrib and /debian/hamm/non-free?  That is, how do I
> > answer the ftp prompts from dselect so that I can install the files from
> > the above directories?  I've tried various answers to the prompts with
> > no success.  It's driving me bananas.  Another of life's little
> > mysteries.
> >
> 
> Below is the patch you need to apply to 

are all install problems patched in 1.3.1?

paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect ftp hamm

1997-07-04 Thread Igor Grobman
> I have had no problems using dselect ftp to install files from all
> directories but hamm.  I answer the ftp prompts in an obvious fashion
> and voila everything works OK.
> 
> What do I do to install files from /debian/hamm/hamm
> /debian/hamm/contrib and /debian/hamm/non-free?  That is, how do I
> answer the ftp prompts from dselect so that I can install the files from
> the above directories?  I've tried various answers to the prompts with
> no success.  It's driving me bananas.  Another of life's little
> mysteries.
> 

Below is the patch you need to apply to /usr/lib/dpkg/methods/ftp/install
Then, in access step of dselect, you have to choose debian/ as the top 
directory,  and  hamm/hamm hamm/contrib hamm/non-free as the distributions.



--- /usr/lib/dpkg/methods/ftp/install.orig Thu Dec  5 07:37:13 1996
+++ /usr/lib/dpkg/methods/ftp/install Wed Apr 16 01:47:34 1997
@@ -139,6 +139,7 @@
 print "\nProcessing Package files...\n";
 my $dist;
 foreach $dist (@dists) {
+$dist =~ tr/\//_/;
 my $fn = "Packages.$dist";
 if (-f $fn) {
print " $dist...\n";



-- 
Proudly running Debian Linux! Linux vs. Windows is a no-Win situation
Igor Grobman   [EMAIL PROTECTED] [EMAIL PROTECTED] 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: dselect ftp from behind a firewall (fwd)

1997-01-17 Thread Jaldhar H. Vyas

[apologies if this is the second time you've seen this.  I had a sendmail
problem.]

Thanks to all the people who replied on the list and by mail.
Unfortunately the problem is that this particular firewall (ANS Interlock)
requires you to login to the firewall first and then access the ftp site.

Luckily I discovered that dselect uses a perl script to actually do the
ftping based on the Net::FTP module.  So I thought I'd just edit it to add
the second login.  Unfortunate, I cannot for the life of me figure out how
to get it to accept the second password.   Oh well, that's a question for
the perl groups.

I think I've found a good alternative.  I noticed lynx has the right kind
of settings to get through the firewall.  It also supports ftp URLs.  So
what I've done is to rewrite dselects script to go through lynx.  It seems
to be working but I'll test and polish it a bit more and if all goes well,
i'll submit as a new access method.

-- Jaldhar




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


RE: dselect ftp from behind a firewall

1997-01-16 Thread Adam Alpern
>The ftp option of dselect doesn't work for the machine I'm configuring at
>work because I am behind a firewall.  With the Windows program WS-FTP I
>
When setting up the FTP option in dselect, make sure you use passive
mode. That will get you around the firewall. I installed Debian 1.2.2 on
my machine 2 days ago and have been using dselect quite happily from
behind a firewall.

-Adam


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: dselect ftp from behind a firewall

1997-01-15 Thread Jaldhar H. Vyas

The ftp option of dselect doesn't work for the machine I'm configuring at
work because I am behind a firewall.  With the Windows program WS-FTP I
can get out by ftping to the firewall and issuing a quote site  command.  Is there a way to configure dselect to do the same?  If
not can it be requested as a future enhancement?

Currently I have to ftp stuff from Windows and then ftp it to the linux
box and I'd like to eliminate this annoying extra step.

-- Jaldhar



-- 
Jaldhar H. Vyas [EMAIL PROTECTED]   And the men .-_|\ who hold 
Consolidated Braincells Inc.  / \ 
http://www.braincells.com/jaldhar/ -)  Perth->*.--._/  o- 
"Witty quote" - Dead Guy   /\/\/\ _ _ ___ _  _ Amboy   v  McQ!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: dselect ftp method broken

1996-11-15 Thread Andy Guy
[EMAIL PROTECTED] (Matt Bartley) writes:

> 
> >From dselect, when I select
> 
>  0. [A]ccess  Choose the access method to use.
> 
> and then
> 
>   ftpInstall using ftp.
> 
> I get the following errors:
> 
> syntax error at /usr/lib/dpkg/methods/ftp/setup line 112, near "print"
> Execution of /usr/lib/dpkg/methods/ftp/setup aborted due to compilation 
> errors.
> 
> query/setup script returned error exit status 2.
> Press RETURN to continue.
> 
> I'm tracking rex, contrib, and non-free from ftp.debian.org, and
> because of this problem I can't change that.
> 
> ii  dpkg1.4.0.3Package maintenance system for Debian Linux
> ii  dpkg-ftp1.4.6  Ftp method for dselect.
> 

Yes, this is serious and already in the bug system.  I plan to release
a 1.4.7 for this reason tonight.

Andy.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: dselect ftp through fire-wall

1996-09-03 Thread Martin Fehlhaber
First of all I'd like to thank you a lot for your advise.

Unfortunately I couldn't get our firewall to let me pass through to
ftp.debian.org using the parameters in dselect's ftp access.

Fortunately control lies in perl scripts. I had to modify those that
call FTP.pm, but then it worked like a charm. I use the original
parameters to log on to our gateway. So I needed to add a 'quote site
some.debian.mirror' and a logon for it.

Thanks a lot to get me going,
-- 
Martin Fehlhaber
[EMAIL PROTECTED]



Re: dselect ftp through fire-wall

1996-08-30 Thread Brian C. White
> I sure hope this is not a FAQ...
> 
> How is it possible to use the ftp access from within dselect to reach
> through a fire-wall system? Alternatives?

I don't know about dpkg-ftp, but 'dftp' can run through a firewall.  The
only firewall I ever tested it with was the "Eagle Secure Gateway", but
I suspect most function similarly.  Note, however, that I haven't run
than piece of the code for many months and may not be as stable as the
rest of 'dftp'.
 
  Brian
 ( [EMAIL PROTECTED] )
 
---
 the difference between theory and practice is less in theory than in practice




Re: dselect ftp through fire-wall

1996-08-30 Thread Richard G. Roberto
On Fri, 30 Aug 1996, Martin Fehlhaber wrote:

> I sure hope this is not a FAQ...
> 
> How is it possible to use the ftp access from within dselect to reach
> through a fire-wall system? Alternatives?

Some firewalls allow you to log in with a coded login/passwd
pair so it can make the proxified connection for you
transparently.  Check with your firewall administrator to
see if yours supports this.  If so, just enter the proper
information when dselect asks you for your login and passwd,
and then tell it the firewall system name as the ftp server.
That should do it.  We don't support that functionality
here, so I can't test it, but let us know if it does work.

> 
> Thanx,
> -- 
> Martin Fehlhaber
> [EMAIL PROTECTED]
> 

Good luck!

Richard G. Roberto
[EMAIL PROTECTED]
201-739-2886 - whippany, nj


--
***
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
***



Re: dselect ftp through fire-wall

1996-08-30 Thread Shaya Potter

It really depends on what firewall you are using.  Where I am we are 
using TIS's (the maker's of the Firewall Toolkit) Gauntlet firewall, it 
allows for transparent access if you make the firewall the default 
gateway of your computer.

However, if your firewall doesn't allow transparent access, then you need 
to do a little experiment.  When we ran the Firewall Toolkit, it required 
you to do a three step process.  
1.  Ftp to the firewall
2.  connect to ftp sight by typing [EMAIL PROTECTED]
3.  type in the needed password.

This matches up well with the normal ftp method.
1.  Ftp to what.sight.you.want
2.  type in username
3.  type in password

So what might work for you is to set the ftp sight to your firewall, set 
the username to "[EMAIL PROTECTED]" (or whatever ftp sight you use) 
and set your password as your "[EMAIL PROTECTED]".  
It might be a little different for your firewall, but if it would take 
you manually three steps to get out, you should be able to automate for 
dselect.

Hope this helps,

Shaya
--
Shaya Potter
[EMAIL PROTECTED]


On Fri, 30 Aug 1996, Martin Fehlhaber wrote:

> I sure hope this is not a FAQ...
> 
> How is it possible to use the ftp access from within dselect to reach
> through a fire-wall system? Alternatives?
> 
> Thanx,
> -- 
> Martin Fehlhaber
> [EMAIL PROTECTED]
> 
> 



Re: dselect ftp went bye bye

1996-08-13 Thread Erick Branderhorst

> This is becoming a FAQ - why is this happening?

I presume that a lot of people are installing some cdrom version or the 
released version of Debian.  The changes were in the unstable version.
How many weeks to go for the next release?

Erick



Re: dselect ftp went bye bye

1996-08-13 Thread Andy Guy
Joel Zimba <[EMAIL PROTECTED]> writes:

This is becoming a FAQ - why is this happening?

> after running dselect and installing a bunch of stuff.
> I finished install.
> Now I can't find the ftp option when I go back into dselect.
> 
> why?

Not sure (it is included in the base set but seems to get uninstalled
rather easily).

> how do I get it back.

Go to your favourite debian ftp site and look for it in
project/experimental.  Download it and install it with dpkg -i
dpkg-ftp-1.4.2.deb.

> how do I ftp with dpkg, is it possible?

You can only do it with dselect.

Andy.