我最近从15.10升级到16.04,它完全破坏了我的apache/wordpress/owncloud安装。在修复wordpress时,我删除了owncloud。现在,如果我试图安装owncloud,就会得到以下错误:
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:
owncloud-server : Depends: php5 (>= 5.4.0) but it is not installable
Depends: php5-pgsql but it is not installable
Depends: php5-json but it is not installable
Depends: php5-ldap but it is not installable
Depends: php5-cli but it is not installable
Depends: php5-cgi but it is not installable
E: Unable to correct problems, you have held broken packages.我正在为Ubuntu16.04安装来自owncloud存储库的包:http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/
我在这里读过关于16.04升级破坏owncloud的文章:Ubuntu16.04升级:授权问题
然而,我一直未能找到解决办法。我想我只是需要一些方法来欺骗owncloud来使用PHP7,但我不知道如何做到这一点。有人知道该怎么做吗?
发布于 2016-05-04 00:31:13
您可以确保您正在安装
sudo apt-get install owncloud owncloud-deps-php7.0 owncloud-files也许只是install owncloud不install owncloud-deps-php7.0
当我遇到你在这里联系的问题时.我安装了15.10存储库,而不是16.04。当我试图修复它的时候,没有一个16.04。如果上面的方法不起作用。我会试着进入你的
/etc/apt/sources.list.d 查找owncloud 1,并将数字从16.04更改为15.10,甚至是15.04,然后
sudo apt-get update 然后尝试安装
sudo apt-get install owncloud-files首先,如果不起作用,试着安装
sudo apt-get install owncloud 如果是这样安装的话..。安装后,我会返回并重新更新您的owncloud.list回到16.04和另一个apt-get更新。然后查看是否有更新,并尝试更新。
https://askubuntu.com/questions/767158
复制相似问题