Comment 4 for bug 1685022

Revision history for this message
bramint (joe-bram) wrote : Re: [Bug 1685022] Re: package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

there should be a way for all packages to get new .conf files after you
make messed up the one you have and you didn't back it up. :-/

Thx.

___________________________
*Joe Saladino* [<email address hidden> <mailto:<email address hidden>>]
*Ph:* (208) 971-7570

On 4/21/17 8:17 PM, Colin Watson wrote:
> You appear to have manually removed /etc/ssh, so you'll have to recover
> from that manually too. Reinstall the openssh-client package as
> follows:
>
> sudo mkdir -p /etc/ssh
> sudo dpkg --configure openssh-server
> sudo apt install -oDPkg::options::=--force-confmiss --reinstall openssh-client
>
> I've committed a change to my Debian openssh repository to ensure that
> /etc/ssh exists before trying to create sshd_config within it, which
> would have helped somewhat with this.
>
> ** Changed in: openssh (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: openssh (Ubuntu)
> Status: New => Fix Committed
>
> ** Changed in: openssh (Ubuntu)
> Assignee: (unassigned) => Colin Watson (cjwatson)
>