RE: Can't find ssh

2001-05-29 Thread Ming Tan
I'm new to debian also, I've never used the dselect, but I was able to
install ssh by doing the following:

go to: http://packages.debian.org/stable/non-us/ssh.html and download the
ssh_1.2.3-9.3.deb package (click on Go To Download Page). You may also need
other packages that are depends.

After you have the file in your directory, just do:
# dpkg -i ssh_1.2.3-9.3.deb

If it gives you an error about depending on some package, ie libc6, just
install that package by downloading it, do a:
# dpkg -i package

and then try re-installing the ssh package again.

Unfortunately, this installs ssh1.. but it's better then nothing.

Good luck.

Ming

-Original Message-
From: Andy Davidson [mailto:[EMAIL PROTECTED]
Sent: Monday, May 28, 2001 6:54 PM
To: Colin Watson
Cc: debian-user@lists.debian.org
Subject: Re: Can't find ssh


I tried inserting the lines into /etc/apt/sources.list and then did
sulu:/etc/apt# dselect update
which gave me:
Get:1 http://non-us.debian.org unstable/non-US/main Packages [49.3kB]
Get:2 http://non-us.debian.org unstable/non-US/main Release [89B]
Get:3 http://non-us.debian.org unstable/non-US/contrib Packages [1046B]
Get:4 http://non-us.debian.org unstable/non-US/contrib Release [92B]
Get:5 http://non-us.debian.org unstable/non-US/non-free Packages [5336B]
Get:6 http://non-us.debian.org unstable/non-US/non-free Release [93B]
Get:7 http://non-us.debian.org unstable/non-US/main Sources [18.5kB]
Ign http://non-us.debian.org unstable/non-US/main Release
Get:8 http://non-us.debian.org unstable/non-US/contrib Sources [483B]
Ign http://non-us.debian.org unstable/non-US/contrib Release
Get:9 http://non-us.debian.org unstable/non-US/non-free Sources [1598B]
Ign http://non-us.debian.org unstable/non-US/non-free Release
Fetched 76.5kB in 49s (1539B/s)
Reading Package Lists... Done
Building Dependency Tree... Done
Merging Available information
Replacing available packages info, using /var/cache/apt/available.
Information about 4175 package(s) was updated.
which seems OK, but when I did
sulu:/etc/apt# apt-get install ssh
I got
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.


Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:


Sorry, but the following packages have unmet dependencies:
  ssh: Depends: libc6 (= 2.2.2-2) but 2.1.3-10 is to be installed
   Depends: libssl0.9.6 but it is not going to be installed
E: Sorry, broken packages
Now what?  I am very confused and a little concerned.  Is this ever going to
work or am I in a maze of twisty little passages, all alike? :-)  It reads
like I have to resolve the dependencies ad infinitum.  Isn't that the
purpose of apt-get?.

andy

At 01:54 AM 5/29/01 +0100, Colin Watson wrote:
Andy Davidson [EMAIL PROTECTED] wrote:
I just installed Debian potato (2.2r0, I think; got the CDs from
CheapBytes) onto my PC and want to use ssh to connect to other machines.
But I can't find the package to install it.  I gather from the web site
that it is non-USA, but how does one find and install it using apt-get?

Put these lines in /etc/apt/sources.list:

  deb http://non-us.debian.org/ unstable non-US/main non-US/contrib
non-US/non-free
  deb-src http://non-us.debian.org/ unstable non-US/main non-US/contrib
non-US/non-free

(The second line is for sources as well as binaries.)

Then 'dselect update' and 'apt-get install ssh'.

Cheers,

--
Colin Watson [EMAIL PROTECTED]


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



RE: php4

2001-05-27 Thread Ming Tan
I'm new to Debian, but I'm pretty familiar with freeBSD. I hope they're
similar... In my httpd.conf in freeBSD with apache 1.3.20+modssl+php4, the
following lines exist:

LoadModule php4_modulelibexec/libphp4.so
snip
AddModule mod_php4.c
snip
AddType application/x-httpd-php .php

This works fine for me. I tried commenting out the AddModule line, and it
asks me to save. Do you have this line in your httpd.conf?

I also noticed that you have
AddType application/x-httpd-php .php3
but in your DirectoryIndex you have an index.php, do you have/need an
Addtype to handle just .php?

Also, in my httpd.conf, php3 seems to be handled with this AddType:
AddType application/x-httpd-php3 .php3

Does your libphp4.so exist in /usr/lib/apache/1.3?

Hope this helps.

Ming


-Original Message-
From: Ehren Wilson [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 26, 2001 11:33 AM
To: Wayne Sitton
Cc: debian-user
Subject: Re: php4


here is the relevant sections from my conf files...tell me if they compare

httpd.conf
---
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
---

srm.conf
---
DirectoryIndex index.html index.php index.php3
snip
AddType application/x-httpd-php .php3
---

I vaguely remember the first time I set up php4 and it is something silly
but those are the only things I can think of.  Oh and make sure that apache
has been restarted.  Else than that shrug  it works for me, on my
woody/sid hybrid of a beast

Ehren Wilson
Echostar Solutions


- Original Message -
From: Wayne Sitton [EMAIL PROTECTED]
To: Ehren Wilson [EMAIL PROTECTED]
Cc: debian-user debian-user@lists.debian.org
Sent: Saturday, May 26, 2001 12:28 PM
Subject: RE: php4


 Did that also, still have the same problem.  That's why I'm stumped.

 Wayne

 -Original Message-
 From: Ehren Wilson [mailto:[EMAIL PROTECTED]
 Sent: Saturday, May 26, 2001 1:05 PM
 To: Wayne Sitton; debian-user
 Subject: Re: php4


 in srm.conf you you have the following line uncommented?

 AddType application/x-httpd-php .php

 Hopefully that should fix it

 Ehren Wilson
 Echostar Solutions

 - Original Message -
 From: Wayne Sitton [EMAIL PROTECTED]
 To: debian-user debian-user@lists.debian.org
 Sent: Saturday, May 26, 2001 11:57 AM
 Subject: php4


  I just installed php4 from dselect.  I checked the apache httpd.conf,
and
  uncommented the php4 loadmodule.  But, When I go to the website It still
  tries to open a 'save as' dialog box.  What am I forgetting?
 
 
  Wayne
 
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 




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