在ubuntu 12.04LTS上安装tomcat 7
发布时间:2020-08-02 11:48:46 所属栏目:Ubuntu 来源:互联网
导读:我最近升级到Ubuntu 12.04LTS并安装Tomcat 7但出现以下错误: root@me:/# sudo apt-get install tomcat7 tomcat7-docs tomcat7-examples tomcat7-admin -yReading package lists... DoneBuilding dependency tree Reading state in
我最近升级到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. (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- 显示grub菜单(ubuntu 12.04) - Ubuntu不显示grub
- 在虚拟机virtualbox中安装ubuntu的图文教程
- Ubuntu 下安装Source Insight
- Ubuntu 16.04 配置vsftpd使用 ssl 传输
- ubuntu – 使用盐配置器的Vagrant不显示任何输出
- Ubuntu Desktop 16.04下安装Chrome
- Ubuntu与Rancher联合发布Kubernetes云原生平台
- 加密 – 如何让Ubuntu的crypt(3)支持Blowfish?
- ubuntu – bash_completion无法正常工作,找不到源
- 在ubuntu 10上安装.NET环境
热点阅读