dselect/ftp

2001-09-04 Thread Brad Rhodes
I want to install the latest stable release of pan. I've found that pan 
has a lot of dependencies on things that are not included in my distro. 
Can I use dselect to get pan and all the packages it depends on at once? 
How should I go about it?

Thanks.




Another dselect FTP problem

1998-07-09 Thread Len Cumbow
Hi All,

I'm trying to install packages via dselect and FTP.  First, let me
say I can ftp to ftp.debain.org maunally just fine.  When I use
dselect, however, it falls over with:


In both cases I run through a proxy ftp server on my lan called proxysys.

Here are the responses I provide the perl script:

Enter ftp site [proxysys]
Use passive mode [n]:   BTW, what is passive mode?
Enter username [anonymous#ftp.debian.org]:
Enter password [EMAIL PROTECTED]:
Enter debian directory [debian]:

--
Len Cumbow, VP Engineering, Cardinal Software
phone: 508-393-0515  fax: 508-393-0516


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Another dselect FTP problem

1998-07-09 Thread Len Cumbow
Hi All,

The last message got away from me before I finished it... sorry

I'm trying to install packages via dselect and FTP.  First, let me
say I can ftp to ftp.debain.org maunally just fine.  When I use
dselect, however, it falls over with:

   Net::FTP: Unexpected EOF on command channel at
/usr/lib/dpkg/methods/ftp/setup line 150
Line 150 is:
   if(!$ftp-login($::username, $pass)) { print $ftp-message()) . \n;
die error; }


In both cases I run through a proxy ftp server on my lan called proxysys.
Here are the responses I provide the perl script:

Enter ftp site [proxysys]:
Use passive mode [n]:   BTW, what is passive mode?
Enter username [anonymous#ftp.debian.org]:  proxy ftp server requires
this format
Enter password [EMAIL PROTECTED]:
Enter debian directory [debian]:
Enter space separated list of distributions to get 
[stable]:
Enter directory to download binary package files to
(relative to /var/lib/dpkg/methods/ftp/)
[debian]:

... then I get:

   Connecting to proxysys...
   Login as anonymous#ftp.debian.org...
   Net::FTP: Unexpected EOF on command channel at
/usr/lib/dpkg/methods/ftp/setup line 150

   FTP ERROR 

   query/setup script was terminated by a signal: Broken pipe.
   Press RETURN to continue.


Line 150 is:
if(!$ftp-login($::username, $pass)) { print $ftp-message()) . \n; die
error; }


Any ideas would be appreciated.
Thanks,
Len







--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


dselect FTP thru proxy problem

1998-07-09 Thread Len Cumbow
Hi All,

I'm trying to install packages via dselect and FTP.  First, let me
say I can ftp to ftp.debain.org maunally just fine.  When I use
dselect, however, it falls over with:

   Net::FTP: Unexpected EOF on command channel at
/usr/lib/dpkg/methods/ftp/setup line 150
Line 150 is:
   if(!$ftp-login($::username, $pass)) { print $ftp-message()) . \n;
die error; }


In both cases I run through a proxy ftp server on my lan called proxysys.
Here are the responses I provide the perl script:

Enter ftp site [proxysys]:
Use passive mode [n]:   BTW, what is passive mode?
Enter username [anonymous#ftp.debian.org]:  proxy ftp server requires
this format
Enter password [EMAIL PROTECTED]:
Enter debian directory [debian]:
Enter space separated list of distributions to get 
[stable]:
Enter directory to download binary package files to
(relative to /var/lib/dpkg/methods/ftp/)
[debian]:

... then I get:

   Connecting to proxysys...
   Login as anonymous#ftp.debian.org...
   Net::FTP: Unexpected EOF on command channel at
/usr/lib/dpkg/methods/ftp/setup line 150

   FTP ERROR 

   query/setup script was terminated by a signal: Broken pipe.
   Press RETURN to continue.


Line 150 is:
if(!$ftp-login($::username, $pass)) { print $ftp-message()) . \n; die
error; }


Any ideas would be appreciated.
Thanks,
Len







--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


RE: Another dselect FTP problem

1998-07-09 Thread Jeff Schreiber
Len Cumbow [EMAIL PROTECTED] writes:
Use passive mode [n]:   BTW, what is passive mode?

FTP by default is in non-passive mode.  When a data connection is setup
between the client and server, the client sends a request to the server
to connect to a specific port for the data transfer.  In other words,
the ftp client sends a PORT command to the server, instructing the server
to open a data connection to a specific IP and port that is listening for
the data connection.  The server makes that connection and then the 
transfer begins.

Passive mode is a little different.  The PASV tells the server to setup
a port to start listening for a data transfer on, to which the server
returns the IP and port of that [the response from the server is much
like what the client sends in the PORT command in non-passive mode].  The
client then opens the data connection to the server port specified.

The cool things with passive mode is that you can connect to two 
different servers;  Enter passive mode on the first, which gives you
the ip  port number where the server is listening for the data; send
that IP and port number to the second server via the PORT command,
instructing that second server to make a data connection to the first
server.  The client can then initiate data transfers between the two
servers.

The drawback to passive mode is firewalls.  Since you don't know what
port number the servers data connection is going to be listening on, you 
have no way of configuring that port number into your firewall.  With
Non-PASV mode, the server's data connections will come from port 20,
which you can configure to be allowed through your firewall.  (We played
a little joke on one of our QA guys when we set it up to reject packets
from port 20... you could open an FTP connection, but you just couldn't
transfer any data! :)

Anyway... The firewall problem is the reason your Proxy Server needs
non-PASV mode.  It needs to know what port the data connection is coming
from beforehand, so that it can proxy it correctly, and a dynamic server
data port won't work.

If you want more details, give RFC 959 a read.

ftp://venera.isi.edu/in-notes/rfc959.txt

-Jeff

*
| Jeff Schreiber   | There is freedom and there is responsibility.  |
| aka - Spectre  | You have obviously figured out the first   |
| [EMAIL PROTECTED] | but not the latter.|
|  | (Rob Schmunk - [EMAIL PROTECTED])  
|
*


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: dselect ftp problem - the solution

1998-06-12 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: [Hamm Install] Dselect/ftp, what is this error message ?

1998-06-11 Thread Ralph Winslow
=?us-ascii?Q?Francois_Gouget?= wrote:
 
 I'm installing a new Debian 2.0 on my PC using the ftp method to
 download it from ftp.mi.us.debian.org. During the download I got the
 following error message:
 
  getting:
 dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb
 (3125884)
  FTP ERROR
 
  Do you want to retry downloading at once [y]:
  continue file:
 dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb (at
 1484820) [y]:
 [...]
  getting:
 dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb
 (1641064/3125884)
 
 As I understand it the first line tells me that I only got 1484820
 bytes out of the 3125884. So why does the download restarts at byte
 1641064 as the second line seems to indicate ?

1484820 + 1641064 = 3125884 so the second message is that 1641064 remain 
of the  3125884 total.
 
 Then it failed again and I had:
  FTP ERROR
 
  Do you want to retry downloading at once [y]:
  continue file:
 dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb (at
 2242560) [y]:
 [...]
  getting:
 dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb
 (883324/3125884)
 Did it restart from scratch ?
No - see above
 
 I finally managed to download the entire file but it is only 262680
 bytes long. So what are the numbers displayed above ?

It looks like you had some kind of silent failure or bug.  So remove 
and then get perl again.  Even better, dpkg --remove perl_5.004.04-6.deb
and then deselect + the package.

 Does the ftp method support reget ?
 
 --
 Francois Gouget
 [EMAIL PROTECTED] -- http://www.mygale.org/~fgouget/
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
-
Ralph Winslow [EMAIL PROTECTED]
Insert sardonic phrase here


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


dselect ftp problem - the solution

1998-06-11 Thread Ivan
Many thanks - Norbert in particular

Changing the options file to initiate ppp on the ISP machine - I just
inserted the line
$  ppp
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...

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 !!

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

I look forward to learning much, much more and repaying your effort by,
sometime in the future, assisting another newbie

Ivan.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


[Hamm Install] Dselect/ftp, what is this error message ?

1998-06-10 Thread Francois Gouget

I'm installing a new Debian 2.0 on my PC using the ftp method to 
download it from ftp.mi.us.debian.org. During the download I got the 
following error message:

 getting: 
dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb 
(3125884)
 FTP ERROR

 Do you want to retry downloading at once [y]:
 continue file: 
dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb (at 
1484820) [y]:
[...]
 getting: 
dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb 
(1641064/3125884)

As I understand it the first line tells me that I only got 1484820 
bytes out of the 3125884. So why does the download restarts at byte 
1641064 as the second line seems to indicate ?

Then it failed again and I had:
 FTP ERROR

 Do you want to retry downloading at once [y]:
 continue file: 
dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb (at 
2242560) [y]:
[...]
 getting: 
dists/frozen/main/binary-i386/interpreters/perl_5.004.04-6.deb 
(883324/3125884)
Did it restart from scratch ?

I finally managed to download the entire file but it is only 262680 
bytes long. So what are the numbers displayed above ?
Does the ftp method support reget ?

--
Francois Gouget
[EMAIL PROTECTED] -- http://www.mygale.org/~fgouget/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


[ivan@vianet.net.au: dselect/ftp problem]

1998-06-08 Thread Martin Schulze
- Forwarded message from Ivan [EMAIL PROTECTED] -

I am trying to install Debian on my Pentium 166.  System specs are :
- 32Mb memory
- 2.5Gb hdd (partitioned for Linux / Linux Swap / Win95)
- Sound Blaster 16
- Diamond Data CD-ROM
- AusLinx Tasmanian Devil 336E modem

During the installation I installed the following modules :
- rarp
- slhc
- slip
- ppp
- hpfs, smbfs, umsdos, vfat
- serial ports
- parallel printer

I now have the basic Linux OS but cannot use ftp to access the Debian site
to carry on.  A huge pile of floppies is not very attractive as an
alternative ... but if that is the only way then I will have Debian that
way !!!

BTW, I also notice that the man command does not work on my system.  Do I
need to manually unzip some packages/programmes?

My main problem is the use of ftp.  Have I missed something obvious/obscure
in the setup procedure or is there some manual configuration required ?

After selecting update by ftp through dselect, the dialog is :

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

   Connectingto ftp.debian.org...
   Net::FTP:Bad hostname 'ftp.debian.org' at /usr/lib/perl5/Net/FTP.pm line
405
   FTP ERROR

   query/setupscript returned error exit status 1
   Press RETURN to continue

I have desperately searched FAQ's (Linux  Unix) and poked around the
installed files and documentation.  The guide to installation has not
helped either.

As the modem is specifically marked Linux compatible I have written to
the manufacturers in case some special installation software is required
(as with Windows) but AusLinx haven't yet deigned to reply.

As you can tell, in line with all of the instructions I have read, I have
tried every possible line of self-help I can think of !!!

I eagerly await whatever advice can be given.

Ivan

- End forwarded message -

-- 
  / Martin Schulze  *  [EMAIL PROTECTED]  *  26129 Oldenburg /
 / http://home.pages.de/~joey/
/There are lies, statistics and benchmarks. /


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: [ivan@vianet.net.au: dselect/ftp problem]

1998-06-08 Thread Norbert Veber
 I now have the basic Linux OS but cannot use ftp to access the Debian site
 to carry on.  A huge pile of floppies is not very attractive as an
 alternative ... but if that is the only way then I will have Debian that
 way !!!
 
 BTW, I also notice that the man command does not work on my system.  Do I
 need to manually unzip some packages/programmes?

you have to install the manpages and groff packages..

 
 My main problem is the use of ftp.  Have I missed something obvious/obscure
 in the setup procedure or is there some manual configuration required ?
 
 After selecting update by ftp through dselect, the dialog is :
 
Using FTP to check directories ... (stop with ^C)
 
Connectingto ftp.debian.org...
Net::FTP:Bad hostname 'ftp.debian.org' at /usr/lib/perl5/Net/FTP.pm line
 405
FTP ERROR
 
query/setupscript returned error exit status 1
Press RETURN to continue

did you establish a connection to your internet provider via pppd? (thats if
you use ppp, and not ethernet or something else).  If you did, try
connecting to (or pinging) other known hostnames and see if they work..


pgp15AIYb90Hw.pgp
Description: PGP signature


Re: [ivan@vianet.net.au: dselect/ftp problem]

1998-06-08 Thread Bob Hilliard
Ivan [EMAIL PROTECTED] wrote:
 After selecting update by ftp through dselect, the dialog is :
 
Using FTP to check directories ... (stop with ^C)
 
Connectingto ftp.debian.org...
Net::FTP:Bad hostname 'ftp.debian.org' at /usr/lib/perl5/Net/FTP.pm line
 405
FTP ERROR
 
query/setupscript returned error exit status 1
Press RETURN to continue

 The network connection (ppp, ethernet, etc.) must be up before
giving the ftp option to dselect - ftp does not open a connection
itself.

That error message is identical to the one I got yesterday when I
forgot to start ppp before dselect.

Bob
-- 
   _
  |_)  _  |_   Robert D. Hilliard[EMAIL PROTECTED]
  |_) (_) |_)  Palm City, FL  USAPGP Key ID: A8E40EB9


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


VERY strange dselect ftp-problem

1998-05-07 Thread Florian Attenberger
Some days ago i installed the latest development-kernel (2.1.99)
Everything works fine with it besides one thing:

Updating my system via the dselect ftp-method is DAMN slow(about 1000
cps).
Now I thought that this might be a problem of ftp.debian.org and tried to
get the packages with ncftp, just being courious.
The result was: ncftp transfers the data a maximum speed (ISDN, nearly
8000 cps).
Later i tried both again: - same result.

Strange, isn't it.

CU

florian attenberger



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


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


dselect-ftp Question

1998-04-06 Thread Fulgham, Brent/SCO
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


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


dselect/ftp non-standard mirrors

1998-03-24 Thread Deniz Dogan
Hi,

Is there a way to use dselect/ftp with non-standart mirrors ?

The mirror I want to use has no un/stable directory. binary-all,
binary-i386, ... are in debian/ directly.

Thanks in advance.

Deniz Dogan
---
Gunumuz toplumunda gonullu asker olarak yazilip kendinizi yaralanma ve
 olum tehlikesine atabilirsiniz ama bilimi ilerletmek ugruna tehlikeli
 deneylerde kobaylik yapamazsiniz. --Francis Crick, Sasirtan Varsayim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


mirrors dselect ftp method

1998-03-11 Thread Deniz Dogan
Hi,

Is it possible to use non-standard mirrors with dselect-ftp method?
Is possible, how?

The mirors in my country has no stable directory,
binary-all/
binary-i386/
...
are in /debian/ and dselect complains that there is no stable directory.

Thanks,

Deniz Dogan


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


dselect / ftp broken

1998-03-02 Thread Ian Watkins
Grab any Perl packages that are outstanding by FTP and then install 
those using dpkg - that should fix it.

I had the same problem when upgrading.

HTH

Ian W
Karachi, Pakistan email: [EMAIL PROTECTED]

SH Hi --

SH Through some stupid mistake, I seem to have broken my dselect's ftp
SH method.  When I select FTP in Access, I see:

SH [verbatim:]

SH Can't locate loadable object for module IO in @INC (@INC contains:
SH /usr/lib/perl5/i386-linux/5.004 /usr/lib/perl5
SH /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl .) at
SH /usr/lib/perl5/IO/Handle.pm line 241
SH BEGIN failed--compilation aborted at /usr/lib/perl5/IO/Socket.pm lin
SH 106,
SH BEGIN failed--compilation aborted at /usr/lib/perl5/Net/FTP.pm line
SH BEGIN failed--compilation aborted at /usr/lib/dpkg/methods/ftp/setup
SH line 7

SH query/setup script returned error exit status 2,
SH Press RETURN to continue.

SH [end verbatim]


SH So it looks like PERL5 got screwed up, yes?

SH What can I do to replace the proper minimal items so that dselect (a
SH all the rest of Debian 1.3) is happy?

SH Thank you for your help -- Sam



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


Re: root access and dselect | ftp

1998-02-28 Thread Carey Evans
Martin Bialasinski [EMAIL PROTECTED] writes:

 Yes, but there is no known way to force the ftpclient to do such
 things. The client doesn't accept any commands and any data it gets is,
 well, data, so it is not executed, just written to disk.

Well, there are a few exceptions, but they won't affect dselect+ftp.

When you do mget * from your ftp client, it asks the server for all
the files in the directory.  A malicious server could send back the
file ../etc/passwd, which some clients will happily download and
save.  You could also have files like .profile or .exrc in the
directory, which get returned and saved with no problems.  These files
will then contain the commands.  Just be careful, and do as little as
possible as root.

-- 
 Carey Evans  http://home.clear.net.nz/pages/c.evans/

  GNU GPL: The Source will be with you... always.


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


Re: root access and dselect | ftp

1998-02-26 Thread David Stern
On 25 Feb 1998 22:47:23 +0100, Martin Bialasinski wrote:
 [EMAIL PROTECTED] (David Stern) writes:
  [..]
  This is why I was asking about dselect | ftp, because if I'm root, and 
  I'm running ftp via dselect, then isn't this exactly what you're 
  telling me not to do?
 
 Yes, but there is no known way to force the ftpclient to do such
 things. The client doesn't accept any commands and any data it gets is,
 well, data, so it is not executed, just written to disk.

Initially I thought that ftpd accepted commands, but now that I think 
about it a little more, I suppose it accepts data.  (at least for ftp 
clients, running ftpd in server mode on the net might be a different 
animal)

Running an ftp client as root seems to be an exception to the rule 
about not running as root.

Thanks for the clarification. :-)

p.s.: I won't make personal replies until my headers are up to snuff, 
which I'm working on.
-- 
David Stern  
--
 http://weber.u.washington.edu/~kotsya
   [EMAIL PROTECTED]




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


Re: root access and dselect | ftp

1998-02-26 Thread Craig Sanders
On Wed, 25 Feb 1998, David Stern wrote:

 Running an ftp client as root seems to be an exception to the rule 
 about not running as root.

actually that rule isn't a general prohibition against doing anything
as root. it is advice about only running as root for system maintainence
tasks. upgrading the system using dselect certainly qualifies as system
maintainence.

the idea is that by running as a non-priviledged user you can minimise
the risk of problems, and also mimimise the severity of any problems
which occur. problems includes buggy software, user mistakes, and
malicious code (e.g. trojan horse programs or viruses)

e.g. if you accidentally type rm -rf / as root you blow away the whole
system. if you do it as a normal user the worst you can do is erase
your own home directoryand in most cases, will suffer no damage at
all because you will probably have noticed your mistake and hit Ctrl-C
before rm gets to your home dir.

another problem which you avoid by not running as root except when
necessary is the risk of trojans or virusesmalicious programs like
these can't affect your system if they don't have the permissions
required to modify files.


craig

--
craig sanders


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


Re: root access and dselect | ftp

1998-02-25 Thread David Stern
On 22 Feb 1998 20:04:41 +1300, Carey Evans wrote:
 [EMAIL PROTECTED] (David Stern) writes:
 
  What I'm trying to do is make my ppp connection as secure as possible, 
  and one of the first things I realized is that whenever I'm running 
  dselect, I'm root, and that I might be connected to the internet for 
  long enough such that my ip address could be attacked, and I know there 
  are different types of attacks, and my assumption was that if I'm 
  running as root, then it would conceivably be possible to get root 
  access.
 
 You're not connected to the net running as root.

Why not?  I'm root.  I'm running ftp on the net.

 Your computer is connected to the net, making all the services in
 /etc/inetd.conf and provided by other daemons that are started in
 /etc/init.d available to the rest of the Internet.  Make sure you
 comment out services in /etc/inetd.conf that you don't need, set up
 /etc/hosts.allow and /etc/hosts.deny appropriately, maybe set up IP
 firewalling, and restrict access to all other services (e.g. for
 Samba, with bind interfaces only = true).  Too many of these
 services (IMHO) run as root.

The home LAN is still a little ways off, but I thought most system 
services needed to be run as root.  I have pretty restrictive 
/etc/hosts.* and ipfwadm setup as well as firewalling compiled into the 
kernel.  Services are attacted through the ports directly, I think, so 
I've tried to make that safe.

 The other way for someone to access your computer is by the programs
 you run to access Internet services.  For example, if you select a
 link to a Postscript file and look at it using a viewer that allows
 file operations, it could try to append the line below to your
 /etc/passwd:
 
 carrot::0:0:/:/bin/sh

 This is a simple example of why you shouldn't browse the web (or run 
 unknown programs) as root.  (Another reason is that if something goes
 wrong, rm -rf / does less damage as a user.)

This is why I was asking about dselect | ftp, because if I'm root, and 
I'm running ftp via dselect, then isn't this exactly what you're 
telling me not to do?

-- 
David Stern  
--
 http://weber.u.washington.edu/~kotsya
   [EMAIL PROTECTED]




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


Re: root access and dselect | ftp

1998-02-25 Thread Martin Bialasinski
[EMAIL PROTECTED] (David Stern) writes:

  The other way for someone to access your computer is by the programs
  you run to access Internet services.  For example, if you select a
  link to a Postscript file and look at it using a viewer that allows
  file operations, it could try to append the line below to your
  /etc/passwd:
  
  carrot::0:0:/:/bin/sh
 
  This is a simple example of why you shouldn't browse the web (or run 
  unknown programs) as root.  (Another reason is that if something goes
  wrong, rm -rf / does less damage as a user.)
 
 This is why I was asking about dselect | ftp, because if I'm root, and 
 I'm running ftp via dselect, then isn't this exactly what you're 
 telling me not to do?

Yes, but there is no known way to force the ftpclient to do such
things. The client doesn't accept any commands and any data it gets is,
well, data, so it is not executed, just written to disk.

Ciao,
Martin


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


Re: root access and dselect | ftp

1998-02-22 Thread Remco Blaakmeer
On Fri, 20 Feb 1998, David Stern wrote:

 Hi,
 
 It occurred to me that running dselect | ftp as root could potentially 
 compromise root access.
 
 I don't want users to be able to run dselect, and I don't want to loose 
 the power of dselect by downloading all packages and package lists 
 individually, but I want to decrease the potential of root access being 
 compromised while running dselect | ftp.
 
 What's an intelligent solution?

Could you please explain why and how it could compromise root access?

Remco


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


Re: root access and dselect | ftp

1998-02-22 Thread David Stern
On Sun, 22 Feb 1998 02:28:06 +0100, Remco Blaakmeer wrote:
 On Fri, 20 Feb 1998, David Stern wrote:
  It occurred to me that running dselect | ftp as root could potentially 
  compromise root access.
  
  I don't want users to be able to run dselect, and I don't want to loose 
  the power of dselect by downloading all packages and package lists 
  individually, but I want to decrease the potential of root access being 
  compromised while running dselect | ftp.
  
  What's an intelligent solution?
 
 Could you please explain why and how it could compromise root access?

What I'm trying to do is make my ppp connection as secure as possible, 
and one of the first things I realized is that whenever I'm running 
dselect, I'm root, and that I might be connected to the internet for 
long enough such that my ip address could be attacked, and I know there 
are different types of attacks, and my assumption was that if I'm 
running as root, then it would conceivably be possible to get root 
access. (you get the idea, I hope)

Let's assume I'm wrong, and that it is not possible for root access to 
be compromised while I am connected to the net running as root.  If so, 
then why shouldn't everyone always run as root while connected to the 
net -- does ftp have added security features? (if so, please briefly 
explain)

-- 
D a v i d   S t e r n  
--
 http://weber.u.washington.edu/~kotsya
   [EMAIL PROTECTED]




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


Re: root access and dselect | ftp

1998-02-22 Thread Carey Evans
[EMAIL PROTECTED] (David Stern) writes:

 What I'm trying to do is make my ppp connection as secure as possible, 
 and one of the first things I realized is that whenever I'm running 
 dselect, I'm root, and that I might be connected to the internet for 
 long enough such that my ip address could be attacked, and I know there 
 are different types of attacks, and my assumption was that if I'm 
 running as root, then it would conceivably be possible to get root 
 access.

You're not connected to the net running as root.

Your computer is connected to the net, making all the services in
/etc/inetd.conf and provided by other daemons that are started in
/etc/init.d available to the rest of the Internet.  Make sure you
comment out services in /etc/inetd.conf that you don't need, set up
/etc/hosts.allow and /etc/hosts.deny appropriately, maybe set up IP
firewalling, and restrict access to all other services (e.g. for
Samba, with bind interfaces only = true).  Too many of these
services (IMHO) run as root.

The other way for someone to access your computer is by the programs
you run to access Internet services.  For example, if you select a
link to a Postscript file and look at it using a viewer that allows
file operations, it could try to append the line below to your
/etc/passwd:

carrot::0:0:/:/bin/sh

This is a simple example of why you shouldn't browse the web (or run 
unknown programs) as root.  (Another reason is that if something goes
wrong, rm -rf / does less damage as a user.)

-- 
 Carey Evans  http://home.clear.net.nz/pages/c.evans/

  GNU GPL: The Source will be with you... always.


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


root access and dselect | ftp

1998-02-21 Thread David Stern
Hi,

It occurred to me that running dselect | ftp as root could potentially 
compromise root access.

I don't want users to be able to run dselect, and I don't want to loose 
the power of dselect by downloading all packages and package lists 
individually, but I want to decrease the potential of root access being 
compromised while running dselect | ftp.

What's an intelligent solution?
-- 
D a v i d   S t e r n  
--
 http://weber.u.washington.edu/~kotsya
   [EMAIL PROTECTED]




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


Re: root access and dselect | ftp

1998-02-21 Thread C.J.LAWSON
Hi,
   Does anyone know of a VMS/VAX emulator

J. 


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


STuck - Dselect FTP through Firewall

1998-01-21 Thread Cox
What is dselect passing to my ftp proxy???

I can go through the firewall manually but I need to figure out exactly what 
commands dselect is generating.

Can I monitor this somehow

I do not have man pages or anything to help me because I can not run dselect 
from ftp and I do not have the CD. (And even if I did the box I am putting 
Debian on does not have a CD)


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


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] .


dselect ftp

1997-12-28 Thread Rob
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.


--
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] .


dselect ftp upgrade

1997-12-24 Thread PATRICK DAHIROC
Hi

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.

Thanks
Patrick


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


problem with dselect (ftp method)

1997-10-17 Thread Debian List
Hi,

I must have a problem with perl, I get the following error when trying
dselect with ftp:

Can't locate IO/Socket.pm in @INC at /usr/lib/perl5/Net/FTP.pm line 378.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/FTP.pm line 378.
BEGIN failed--compilation aborted at /usr/lib/dpkg/methods/ftp/setup line 7.

what do I need to do to fix perl for that?

thanks
Ricardo


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


Re: problem with dselect (ftp method)

1997-10-17 Thread Alex Romosan
i had the same problem earlier today, so i fixed by just reinstalling
a bunch of packages (dpkg and the gang, perl, libc6). i think the one
that did was libc6. or maybe it was just a coincidence.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


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


dselect/ftp segmentation faults!

1997-08-21 Thread Paul Miller
---
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 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] .


dselect ftp error in an odd way

1997-07-23 Thread Cent Klark
Hello, I have two debian systems behind an ip masqed box.
One of the systems has no problem accessing the packages file at
ftp.debian.org
while the other system cannot find the packages file no matter what ftp 
server I use.
These two machines were set up from the same base and are identical
excluding the ip #.
 
I'd like to work with someone that could track a ftp user so we could
find out why that one particular machine cannot find the packages
file...  
 
thanks!


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


dselect ftp method problem

1997-07-22 Thread Tommy Lakofski
Can't locate Time/Local.pm in @INC at /usr/lib/perl5/Net/FTP.pm line 379.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/FTP.pm line 379.
BEGIN failed--compilation aborted at /usr/lib/dpkg//methods/ftp/setup line
7.

query/setup script returned error exit status 2.


This is what I see when I try 'access' or 'update' in dselect. Using Perl
5.004-2 from unstable... but it's been days since I made any changed...
not sure what the last change I made was. Any ideas, anyone?

Thanks,

Thomas.


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


dselect ftp method problem (solved)

1997-07-22 Thread Tommy Lakofski
Sledgehammer approach: I downgraded perl and perl-suid to the stable
versions. It works now.

-- Forwarded message --
Date: Tue, 22 Jul 1997 12:14:15 -0400 (EDT)
From: Tommy Lakofski [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Subject: dselect ftp method problem

Can't locate Time/Local.pm in @INC at /usr/lib/perl5/Net/FTP.pm line 379.
BEGIN failed--compilation aborted at /usr/lib/perl5/Net/FTP.pm line 379.
BEGIN failed--compilation aborted at /usr/lib/dpkg//methods/ftp/setup line
7.

query/setup script returned error exit status 2.


This is what I see when I try 'access' or 'update' in dselect. Using Perl
5.004-2 from unstable... but it's been days since I made any changed...
not sure what the last change I made was. Any ideas, anyone?

Thanks,

Thomas.



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


dselect ftp hamm

1997-07-04 Thread Victor Torrico
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.

Any help appreciated.

Cheers,

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
 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 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
 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 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] .


errors installing with dselect/ftp

1997-03-22 Thread Ken Gaugler
Hello again.

After downloading a bunch of files in the dselect/ftp process for
updating my system, I reach a point where I get the following DPKG
error:

[...]
stable/binary-i386/doc/manpages_1.11-7.deb
stable/binary-i386/doc/doc-debian_1.4-0.deb
stable/binary-i386/comm/lrzsz_0.12b-1.deb

Do you want to install the files fetched [y]: y
Installing files...
dpkg: `ldconfig' not found on PATH.
dpkg: `start-stop-daemon' not found on PATH.
dpkg: `install-info' not found on PATH.
dpkg: `update-rc.d' not found on PATH.
dpkg: 4 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
/sbin.
DPKG ERROR

and I can't seem to get it to work after this.  I checked to see that
ldconfig was in root's path:

bash# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
bash# which ldconfig
/sbin/ldconfig

Is there another configuration file I need to fix or something?  I
didn't see this problem mentioned in the Jan97 or Feb97 archives.
Any help will be greatly appreciated.

Thanks!

-- 
Ken Gaugler  N6OSK  Santa Clara, California
email: [EMAIL PROTECTED]  URL: http://www.wco.com/~keng
The life of a Repo Man is always INTENSE...


Re: errors installing with dselect/ftp

1997-03-22 Thread Perry Piplani
On Fri, 21 Mar 1997, Ken Gaugler wrote:

 NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
 /sbin.
 DPKG ERROR

 bash# echo $PATH
 /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
 bash# which ldconfig
 /sbin/ldconfig
 

I don't know if this will work but try cd'ing to / before starting
dselect. I've had trouble with dselect finding files in the past and that
seemed to fix it. 


Time flies like arrows, but fruit flies like bananas

Perry Piplanihttp://perrypip.netservers.com
[EMAIL PROTECTED]   http://www.netservers.com


dselect FTP error [recent 1.2 installation]

1997-01-18 Thread Daniel S. Barclay

I can use dftp just fine, but when I try to use the FTP access method in 
dselect, I get this error:

Connecting to ftp.debian.org...
Login as anonymous...
Setting transfer mode to binary...
Cd to /debian...
Checking stable/binary-i386...
Net::FTP: Unexpected EOF on command channel at 
/usr/lib/dpkg/methods/ftp/setup line 163
Warning: Couldn't find a Packages file in stable/binary-i386
This may not be a problem if the directory is a symbolic link
...


Does anyone know what's wrong?

Thanks,
Daniel
-- 
Daniel S. Barclay  Compass Design Automation, Inc.
[EMAIL PROTECTED]  Suite 100, 5457 Twin Knolls Rd.  Columbia, MD 21045 USA


--
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 real ftp
address 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]


dselect ftp method broken

1996-11-15 Thread Matt Bartley
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.

-- 
[EMAIL PROTECTED]  Matt Bartley
   N6YWI
GPS:  33 49'  N  
 117 51'  W  Clipper - Reach out and Tap Someone

--
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]



dselect ftp through fire-wall

1996-08-30 Thread Martin Fehlhaber
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 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 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 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 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.



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



dselect ftp went bye bye

1996-08-12 Thread Joel Zimba

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?

how do I get it back.

how do I ftp with dpkg, is it possible?

?

thanks,

Joel