首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >libreplan :取决于: tomcat6,但是它不会被安装

libreplan :取决于: tomcat6,但是它不会被安装
EN

Ask Ubuntu用户
提问于 2015-12-18 14:00:47
回答 2查看 1.3K关注 0票数 1

我尝试使用来自Libreplan网站本指南的步骤在14.04服务器系统上安装Libreplan。

我可以在没有问题的情况下添加PPA,但是当我使用sudo apt-get install libreplan命令时,我会得到以下错误消息。

代码语言:javascript
复制
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 updatesudo apt-get dist-upgrade的错误消息

下面是sudo apt-get install libreplan生成的错误消息

代码语言:javascript
复制
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.
EN

回答 2

Ask Ubuntu用户

发布于 2015-12-18 14:06:52

是的,您可以,您应该安装包tomcat6tomcat7一起解决您的问题。两个包都可以并行安装。

但是软件包应该是自动安装的。我怀疑你有更多的问题。

由于这个原因,运行

代码语言:javascript
复制
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install tomcat6

并将错误信息添加到您的问题中。

票数 0
EN

Ask Ubuntu用户

发布于 2016-04-13 12:35:01

代码语言:javascript
复制
sudo apt-get install libtomcat6-java 
sudo apt-get install tomcat6

这能解决你的问题。即使已经安装了tomcat6,也可以安装tomcat7。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/710897

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档