maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Need help cleaning up OpenSSH server install. (https://talk.maemo.org/showthread.php?t=40344)

fatalsaint 2010-01-13 17:46

Re: Need help cleaning up OpenSSH server install.
 
Code:

dpkg-reconfigure openssh-server

Laughingstok 2010-01-13 17:48

Re: Need help cleaning up OpenSSH server install.
 
dpkg -reconfigure does not work
dpkg-reconfigure is not found.

fatalsaint 2010-01-13 17:49

Re: Need help cleaning up OpenSSH server install.
 
It should all be one word.

Seriously? The N900 lacks dpkg-reconfigure? Fail. Check in /usr/sbin - someone else had a problem where /usr/sbin wasn't in their $PATH.

You're running all these commands as root, correct?

Laughingstok 2010-01-13 17:50

Re: Need help cleaning up OpenSSH server install.
 
Quote:

Originally Posted by fatalsaint (Post 468801)
It should all be one word.

Seriously? The N900 lacks dpkg-reconfigure? Fail. Check in /usr/sbin - someone else had a problem where /usr/sbin wasn't in their $PATH.

You're running all these commands as root, correct?

Yes.

I did a "find / -name "dpkg*" -print" and looked at all dpkg* stuff.

It is not there.

echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin

fatalsaint 2010-01-13 17:53

Re: Need help cleaning up OpenSSH server install.
 
Try this then...

Code:

dpkg --configure openssh-server

fatalsaint 2010-01-13 17:55

Re: Need help cleaning up OpenSSH server install.
 
Updated that... I misread the command I think.

Laughingstok 2010-01-13 17:57

Re: Need help cleaning up OpenSSH server install.
 
dpkg: error processing openssh-server (--configure):
package openssh-server is not ready for configuration
cannot configure (current status 'config-files')
Errors were encountered while processing:
openssh-server

Laughingstok 2010-01-13 17:58

Re: Need help cleaning up OpenSSH server install.
 
Please note, openssh-server is currently "uninstalled"

I am not able to reinstall it due to some leftover stuff lying around after the battery was knocked out mid-install.

fatalsaint 2010-01-13 18:05

Re: Need help cleaning up OpenSSH server install.
 
In the past when I've interrupted the postint scripts it causes a failure in dpkg's configuration. Usually rexconfiguring the packages re runs that. Try installing again via apt-get and then if it fails using the cofigure command.

Spenc3 2010-01-13 18:12

Re: Need help cleaning up OpenSSH server install.
 
um.. try
sudo apt-get install --reinstall openssh-server

I'm just throwing it out there :P


All times are GMT. The time now is 10:19.

vBulletin® Version 3.8.8