Ubuntu server 14.04 安装redmine报错,请教高手!

其它类软件,非上述版软件
回复
love52196
帖子: 17
注册时间: 2008-09-23 8:59
送出感谢: 0
接收感谢: 0

Ubuntu server 14.04 安装redmine报错,请教高手!

#1

帖子 love52196 » 2017-11-22 11:36

Unpacking redmine (2.4.2-1) ...
Setting up dbconfig-common (1.8.47+nmu1) ...
dpkg: error processing package dbconfig-common (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of redmine:
redmine depends on dbconfig-common; however:
Package dbconfig-common is not configured yet.

dpkg: error processing package redmine (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
dbconfig-common
redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------------------------------------------------
报上述错误,请教高手,非常感谢!
头像
九天星
帖子: 1333
注册时间: 2007-07-14 20:45
送出感谢: 67 次
接收感谢: 38 次

Re: Ubuntu server 14.04 安装redmine报错,请教高手!

#2

帖子 九天星 » 2017-11-22 12:13

源有问题
love52196
帖子: 17
注册时间: 2008-09-23 8:59
送出感谢: 0
接收感谢: 0

Re: Ubuntu server 14.04 安装redmine报错,请教高手!

#3

帖子 love52196 » 2017-11-22 12:30

通过以下方法处理:
1.更新
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更名
sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹
sudo apt-get update

2.强制安装
apt-get -f install xxx
sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info.bak

3.恢复
sudo rm -rf /var/lib/dpkg/info //把自己新建的info文件夹删掉
sudo mv /var/lib/dpkg/info.bak /var/lib/dpkg/info //把以前的info文件夹重新改回名字
回复

回到 “其它类软件”