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

Re: ssh deb not installing correctly



On Mon, Jun 26, 2000 at 11:42:03AM +1200, Daniel Free wrote
> I Just reinstalled my machine at home with debian 2.2 (potato) and started
> apt-get installing all the things i likeon my system, but when i got to ssh
> it returned the error below.
> 
> #### Begin Console Dump ####
> 
> 1 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up ssh (1.2.3-5) ...
> dpkg: error processing ssh (--configure):
>  subprocess post-installation script returned error exit status 10
> Errors were encountered while processing:
>  ssh
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> #### End Console Dump ####
> 
> the program itself has installed correctly and works however whenever i use
> apt-get it finishes with the above error.
> 
> any suggestions ??
> 

There is a (?) bug in this version of ssh.

Look in /var/lib/dpkg/info/ssh.templates, for a line
(about line 90 of 100) that reads
Template: ssh/run_sshd

There should be a blank line in front of this line, to separate
it from the previous Template: section.

Insert that new line, and then run
# dpkg --pending --configure

That should fix it.


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: