On Sat, Apr 22, 2017 at 06:22:54AM -0000, bramint wrote: > 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. :-/
Removing and then using --force-confmiss in the same way as I explained there does generally work. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1685022 Title: package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 Status in openssh package in Ubuntu: Fix Committed Bug description: I messed up the ssh_config file and I need the stock config files for ssh server. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: openssh-server 1:7.2p2-4ubuntu2.1 ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49 Uname: Linux 4.4.0-72-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 AptOrdering: openssh-server: Install openssh-server: Configure NULL: ConfigurePending Architecture: amd64 Date: Thu Apr 20 14:13:40 2017 DuplicateSignature: package:openssh-server:1:7.2p2-4ubuntu2.1 Setting up openssh-server (1:7.2p2-4ubuntu2.1) ... /var/lib/dpkg/info/openssh-server.postinst: 164: /var/lib/dpkg/info/openssh-server.postinst: cannot create /etc/ssh/sshd_config: Directory nonexistent dpkg: error processing package openssh-server (--configure): subprocess installed post-installation script returned error exit status 2 ErrorMessage: subprocess installed post-installation script returned error exit status 2 InstallationDate: Installed on 2017-04-03 (17 days ago) InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8) RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.19 SourcePackage: openssh Title: package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1685022/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp