我尝试使用来自Libreplan网站和本指南的步骤在14.04服务器系统上安装Libreplan。
我可以在没有问题的情况下添加PPA,但是当我使用sudo apt-get install libreplan命令时,我会得到以下错误消息。
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
libreplan : Depends: tomcat6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.安装tomcat6会解决这个问题吗?如果是这样的话,它可以与tomcat7一起安装吗?还是这里还有一个我不知道的问题?
编辑:我没有收到来自sudo apt-get update或sudo apt-get dist-upgrade的错误消息
下面是sudo apt-get install libreplan生成的错误消息
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
tomcat6 : Depends: tomcat6-common (>= 6.0.39-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.发布于 2015-12-18 14:06:52
是的,您可以,您应该安装包tomcat6与tomcat7一起解决您的问题。两个包都可以并行安装。
但是软件包应该是自动安装的。我怀疑你有更多的问题。
由于这个原因,运行
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install tomcat6并将错误信息添加到您的问题中。
发布于 2016-04-13 12:35:01
sudo apt-get install libtomcat6-java
sudo apt-get install tomcat6这能解决你的问题。即使已经安装了tomcat6,也可以安装tomcat7。
https://askubuntu.com/questions/710897
复制相似问题