package gitlab 8.5.8+dfsg-5 [modified: var/lib/gitlab/gitlab-debian.conf] failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 7

Bug #1608542 reported by Jevons Guo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gitlab (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

jevons@Acer-Aspire:~$ sudo apt-get install gitlab
[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:用户"gitlab"已经存在。
Proceeding with existing gitlab user...
Creating runtime directories for gitlab...
Updating file permissions...
GITLAB_HOST=localhost
Registering /etc/gitlab/gitlab.yml via ucf
Registering /etc/gitlab/gitlab-debian.conf via ucf
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/gitlab/gitlab-debian.conf]
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
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)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: gitlab
Title: package gitlab 8.5.8+dfsg-5 [modified: var/lib/gitlab/gitlab-debian.conf] failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 7
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jevons Guo (woainijevons) wrote :
Revision history for this message
Mustafa Bahadır Pakalın (mbpakalin) wrote :

I have the same problem, anybody found a fix ?

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

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

Changed in gitlab (Ubuntu):
status: New → Confirmed
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.