package gitlab 8.5.8+dfsg-5 [modified: var/lib/gitlab/gitlab-debian.conf] failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gitlab (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
jevons@
[sudo] jevons 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
gitlab 已经是最新版 (8.5.8+dfsg-5)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 gitlab (8.5.8+dfsg-5) ...
Creating/updating gitlab user account...
adduser:
Proceeding with existing gitlab user...
Creating runtime directories for gitlab...
Updating file permissions...
GITLAB_
Registering /etc/gitlab/
Registering /etc/gitlab/
Reloading nginx configuration...
Create database if not present
Make gitlab user owner of gitlab_production database...
ALTER DATABASE
Grant all privileges to gitlab user...
GRANT
Verifying we have all required libraries...
Could not find gem 'devise-two-factor (~> 2.0.0)' in any of the gem sources
listed in your Gemfile or available on this machine.
dpkg: 处理软件包 gitlab (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 7
在处理时有错误发生:
gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: gitlab 8.5.8+dfsg-5 [modified: var/lib/
ProcVersionSign
Uname: Linux 4.4.0-31-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
Date: Sun Jul 31 18:28:07 2016
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 7
InstallationDate: Installed on 2016-07-30 (1 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: gitlab
Title: package gitlab 8.5.8+dfsg-5 [modified: var/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
I have the same problem, anybody found a fix ?