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

Re: Openssh errors



Correct, I was just about to email the solution. I had an ssh2 file there
so I renamed it, and it worked, hehe. 
Sorry for the panic :P

-S-


On Mon, 2 Oct 2000, Ethan Benson wrote:

> On Mon, Oct 02, 2000 at 07:59:47AM -0400, Dr. Orange wrote:
> > 
> > Argh, i tried to switch to openssh, but now I can neither install or
> > remove it: 
> > Preparing to replace ssh 1.2.26-1.2 (using
> > .../ssh_1%3a1.2.3-9_i386.deb) ...
> > /var/lib/dpkg/info/ssh.prerm: /etc/init.d/ssh: No such file or directory
> > dpkg: warning - old pre-removal script returned error exit status 1
> > dpkg - trying script from the new package instead ...
> > /var/lib/dpkg/tmp.ci/prerm: /etc/init.d/ssh: No such file or directory
> > dpkg: error processing /var/cache/apt/archives/ssh_1%3a1.2.3-9_i386.deb
> > (--unpack):
> >  subprocess new pre-removal script returned error exit status 1
> > You already have a host key in /etc/ssh/ssh_host_key.
> > 
> > You should read the documentation and then configure /etc/ssh/ssh_config
> > and /etc/ssh/sshd_config to your sites needs and preferences.
> > update-rc.d: /etc/init.d/ssh: file does not exist
> > dpkg: error while cleaning up:
> >  subprocess post-installation script returned error exit status 1
> > 
> > Errors were encountered while processing:
> >  /var/cache/apt/archives/ssh_1%3a1.2.3-9_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> strange, for some reason your /etc/init.d/ssh file got deleted before
> it was supposed to.. i think you can get around this by doing the
> following:
> 
> echo exit 0 > /etc/init.d/ssh
> chmod 755 /etc/init.d/ssh
> 
> then try the install again.
> 
> -- 
> Ethan Benson
> http://www.alaska.net/~erbenson/
> 



Reply to: