package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1

Bug #1700931 reported by ZhangLeilei
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

update-rc.d: error: insserv rejected the script header
dpkg: 处理软件包 openssh-server (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
 openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openssh-server 1:7.2p2-4ubuntu2.2
ProcVersionSignature: Ubuntu 4.8.0-56.61~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-56-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Wed Jun 28 16:49:30 2017
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 1
InstallationDate: Installed on 2017-06-27 (1 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
SourcePackage: openssh
Title: package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
ZhangLeilei (zhangleilei) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openssh (Ubuntu):
status: New → Confirmed
Revision history for this message
Joshua Powers (powersj) wrote :

Thanks for taking the time to file a bug.

This looks like a duplicate of LP: #1646731. If you are still facing this issue, it would be very very helpful if you could collect the output of the following commands and attach it to LP: 1646731

sudo dpkg --audit
dpkg --verify tomcat7
dpdk --verify plymouth
ls -l /etc/rc*/tomcat
ls -l /etc/rc*/plymouth
ls -l /etc/init.d/tomcat
ls -l /etc/plymouth/tomcat
cat /etc/init.d/tomcat
cat /etc/init.d/plymouth

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.