Public bug reported:

every time I install tomcat7/tomcat8, it shows this error:

Creating config file /etc/default/tomcat7 with new version
正在添加系统用户"tomcat7" (UID 121)...
正在将新用户"tomcat7" (UID 121)添加到组"tomcat7"...
无法创建主目录"/usr/share/tomcat7"

Creating config file /etc/logrotate.d/tomcat7 with new version
Job for tomcat7.service failed because the control process exited with error 
code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: 处理软件包 tomcat7 (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回错误状态 1
正在设置 authbind (2.1.1+nmu1) ...
正在处理用于 systemd (229-4ubuntu7) 的触发器 ...
正在处理用于 ureadahead (0.100.0-19) 的触发器 ...
在处理时有错误发生:
 tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: tomcat7 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 10 00:51:59 2016
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 1
InstallationDate: Installed on 2016-08-28 (12 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt  1.2.12~ubuntu16.04.1
SourcePackage: tomcat7
Title: package tomcat7 (not installed) failed to install/upgrade: 子进程 已安装 
post-installation 脚本 返回错误状态 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: tomcat7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622109

Title:
  package tomcat7 (not installed) failed to install/upgrade: 子进程 已安装
  post-installation 脚本 返回错误状态 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1622109/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to