echo 'deb http://download.owncloud.org/download/repositories/8.2/Ubuntu_16.04/ /'| sudo tee /etc/apt/sources.list.d/owncloud.listsudo apt-get updatesudo apt-get install --force-yes owncloud=8.2.5-1.1 owncloud-server=8.2.5-1.1owncloud 8.2 should get installed.
owncloud 8.2 can not be installed.
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-mysqlnd but it is not installable or
php5-mysql but it is not installable
Depends: php5-sqlite but it is not installable
Depends: php5-pgsql but it is not installable
Depends: php5-common but it is not installable
Depends: php5-gd but it is not installable
Depends: php5-intl but it is not installable
Depends: php5-mcrypt but it is not installable
Depends: php5-curl 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.
Operating system: Ubuntu 16.04 amd64
@emmenlau ubuntu 16.04 doesn't provide php5 it uses php7 version 9 works.
@jnweiger we need to use php7 instead of php5 dependencies. Ps. can verify the missing dependencies from above....
It would be awesome if you could make a php7 release of 8.2 for Ubuntu 16.04. Highly appreciated!
Note that mysql was also updated by a minor version.
@emmenlau please try instead:
sudo apt-get install owncloud-files
This package installs the complete owncloud code, but without any dependencies.
So you need to look after the required php7 deps yourself. Would that work for you?
Perfect, this solves the issue for me! I did:
sudo apt-get install owncloud-files=8.2.5-1.1 owncloud-deps-php7.0
and could upgrade owncloud from 8.1 to 8.2 without problems. Then it was easy to install 9.0:
sudo apt-get install owncloud
and finally upgrade the database to 9.0. Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Perfect, this solves the issue for me! I did:
and could upgrade owncloud from 8.1 to 8.2 without problems. Then it was easy to install 9.0:
and finally upgrade the database to 9.0. Thanks!