gpt4 book ai didi

在 ubuntu 12.04LTS 上安装 tomcat 7

转载 作者:行者123 更新时间:2023-11-28 21:47:30 24 4
gpt4 key购买 nike

我最近升级到 Ubuntu 12.04LTS 并安装了 Tomcat 7 但出现以下错误:

root@me:/# sudo apt-get install tomcat7 tomcat7-docs tomcat7-examples tomcat7-admin -y
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:
tomcat7 : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
tomcat7-admin : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
tomcat7-docs : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
tomcat7-examples : Depends: tomcat7-common (>= 7.0.26-1ubuntu1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

请帮我解决这个问题。

最佳答案

显然,由于某些冲突,您需要在安装 tomcat7 之前删除 tomcat6-common

参见 https://askubuntu.com/questions/173981/installing-tomcat-7-on-ubuntu-server-12-04 .

关于在 ubuntu 12.04LTS 上安装 tomcat 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13506648/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com