我很难将owncloud
从9.0.1升级到9.0.4。我已经为owncloud设置了适当的豁免,因为以前的系统范围apt-get upgrade
来电是'upgrading' owncloud from 8.x to 4.x。但到目前为止升级了apt-get upgrade owncloud
已经运作正常。现在,我正在点击:
root@raspi:/home/pi# apt-get install owncloud
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:
owncloud : Depends: php-doctrine-dbal (< 2.5) but 2.5.4-2 is to be installed
Depends: php-pimple (< 2) but 3.0.2-2 is to be installed
Recommends: exim4 but it is not going to be installed or
mail-transport-agent
Recommends: php-aws-sdk (< 3) but it is not going to be installed
Recommends: php-crypt-blowfish (>= 1.1.0~RC2-2~) but it is not going to be installed
Recommends: php-dropbox but it is not going to be installed
Recommends: php-google-api-php-client (< 1) but it is not going to be installed
Recommends: php5-imap but it is not going to be installed
Recommends: php5-ldap but it is not going to be installed
Recommends: smbclient but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
然而:
root@raspi:/home/pi# apt-get install php-doctrine-dbal php-pimple
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-doctrine-dbal is already the newest version (2.5.4-2).
php-pimple is already the newest version (3.0.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
php-doctrine-dbal
和php-pimple
是最新版本,为什么apt-get没有想到?我已尝试投放apt-get install -f
,报告0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
。但是不能解决问题。非常感谢。
答案 0 :(得分:0)
尝试使用
进行安装aptitude install owncload
aptitude 应自动查看并安装依赖项。
这里的问题似乎是包 php-dochtrine-dbal 和 php-pimple 太新了。