2

我正在尝试在 Ubuntu 12.0.4 上安装 Redmine。

我很好地按照 Redmine 网站上的以下说明进行操作:


安装最新的Redmine

带有 Ubuntu 10.04 的软件包卡在 0.9.x 分支中,而 Ubuntu 12.04 卡在 1.3.x 分支中。存在具有最新分支的 PPA:https ://launchpad.net/~ondrej/+archive/redmine

要使用 PPA 安装 redmine:

$ sudo add-apt-repository ppa:ondrej/redmine
$ sudo apt-get update
$ sudo apt-get install redmine redmine-mysql

然后我在上面最后一个命令的执行结束时遇到了一个错误。我用谷歌搜索找到错误的修复程序,但找不到任何错误。因此,我找到了在此之前安装的所有 redmine 文件夹,删除了 mysql empty db 'redmine' 和关联的用户。现在,我正在尝试使用上面的最后一个命令重新安装 Redmine,但不断收到以下错误。

root@hrrankdev1:~# apt-get install redmine redmine-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
redmine is already the newest version.
redmine-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up redmine (2.1.2+dfsg1-1~precise+13) ...
chown: cannot access `/usr/share/redmine/config/environment.rb': No such file or directory
dpkg: error processing redmine (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)

我认为我已经超出了修复原始错误的范围。我正在寻找的只是删除以前中止安装的所有痕迹并重新安装。任何有关如何继续成功安装的建议表示赞赏。

4

2 回答 2

1

我建议使用Bitnami Redmine Stack

我尝试从 Etienne 建议的源代码安装 Redmine。虽然我确实设法让它在 Ubuntu 12.04 上运行,但它有点痛苦。

我现在正在使用 Bitnami Redmine 虚拟机。设置轻而易举,只需按照此处的说明进行操作

于 2013-05-27T23:13:48.230 回答
0

我从未尝试使用 Ubuntu/Debian 存储库安装 Redmine。他们总是落后于当前版本的 Redmine。

您最好使用主开发树中的最新源代码安装 Redmine。只需按照此处的说明进行操作:

http://www.redmine.org/projects/redmine/wiki/RedmineInstall

这是一种比使用 Ubuntu 软件包更手动的方法,但您将获得最新和最强大的功能。说明很清楚,只需按顺序执行即可。

于 2012-11-18T15:07:45.837 回答