首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu16.04无法安装Owncloud服务器

Ubuntu16.04无法安装Owncloud服务器
EN

Ask Ubuntu用户
提问于 2016-05-03 22:46:23
回答 1查看 9.3K关注 0票数 1

我最近从15.10升级到16.04,它完全破坏了我的apache/wordpress/owncloud安装。在修复wordpress时,我删除了owncloud。现在,如果我试图安装owncloud,就会得到以下错误:

代码语言:javascript
复制
    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,但我不知道如何做到这一点。有人知道该怎么做吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2016-05-04 00:31:13

您可以确保您正在安装

代码语言:javascript
复制
sudo apt-get install owncloud owncloud-deps-php7.0 owncloud-files

也许只是install owncloudinstall owncloud-deps-php7.0

当我遇到你在这里联系的问题时.我安装了15.10存储库,而不是16.04。当我试图修复它的时候,没有一个16.04。如果上面的方法不起作用。我会试着进入你的

代码语言:javascript
复制
/etc/apt/sources.list.d 

查找owncloud 1,并将数字从16.04更改为15.10,甚至是15.04,然后

代码语言:javascript
复制
sudo apt-get update 

然后尝试安装

代码语言:javascript
复制
sudo apt-get install owncloud-files

首先,如果不起作用,试着安装

代码语言:javascript
复制
sudo apt-get install owncloud  

如果是这样安装的话..。安装后,我会返回并重新更新您的owncloud.list回到16.04和另一个apt-get更新。然后查看是否有更新,并尝试更新。

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

https://askubuntu.com/questions/767158

复制
相关文章

相似问题

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