根据Seafile手册,我尝试在Ubuntu14.04上安装Owncloud
apt-get install update
apt-get install owncloud我有依赖性的问题,而且我是果酱。
Reading package lists... Building dependency tree... Reading state information... 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 : Depends: owncloud-server (= 8.1.1-1) but it is not going to be installed Depends: owncloud-config-apache (= 8.1.1-1) but it is not going to be installed Recommends: curl but it is not going to be installed E: Unable to correct problems, you have held broken packages.我需要一些帮助我的手来引导我!
发布于 2015-08-27 17:41:18
运行命令
sudo apt-get -f install然后尝试使用
sudo apt-get install owncloud或
如果不工作,则添加存储库
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install owncloud或
使用手动安装
sudo apt-get install apache2 php5 php5-mysql mysql-server
sudo apt-get install php5-gd php5-json php5-curl php5-intl php5-mcrypt php5-imagick然后下载owncloud并将其解压缩到/var/www/html/
wget https://download.owncloud.org/community/owncloud-8.0.0.tar.bz2
tar -xvf owncloud-8.0.0.tar.bz2 -C /var/www/html/更改所有权使用
chown www-data:www-data -R /var/www/html/owncloud/还为owncloud创建数据库
发布于 2015-08-27 23:56:25
谢谢你的回答,但我在读之前找到了解决办法。我卸载卷曲与apt-获取去除卷曲。当我通过自动删除apt-get时,我重新安装curl,并且在每一次使用apt-get安装owncloud之后都很好。
解出
非常感谢你的支持
https://askubuntu.com/questions/666528
复制相似问题