Owncloud 9.1.4 upgrade with deprecated dependencies


today's yum update follows with this stuff:

Resolving Dependencies
--> Running transaction check
---> Package owncloud.noarch 0:9.1.4-2.1 will be updated
---> Package owncloud.noarch 0:9.1.4-3.el7 will be an update
---> Package php-common.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Conflict: php56w-common-5.6.30-1.w7.x86_64 conflicts php-common < 5.6
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.16-42.el7.x86_64

Meanwhile I have php 5.6:

[maximd@WWW ~]$ php -v
PHP 5.6.30 (cli) (built: Jan 19 2017 22:31:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

I use Centos 7.3.1611 with kernel 3.10.0-514.10.2.el7.x86_64, repository is:

name=ownCloud Server Version stable (CentOS_7)

How to fix the issue?

Thank you.


it might help if you're posting the distribution and the exact link to the repository you're using.

If there is an issue with the package dependency itself and you're using the official repositories its also the best to report this directly to the bugtracker [1] as the maintainer of the packages are rarely reading this forums.


Thanks, I've updated an initial post with details requested.

Ok, you're using CentOS7 and the official repositories. Then you should report this to the bugtracker as mentioned above.

Yes, that's it: https://github.com/owncloud/core/issues/27414

1 Like

I think you're not only using CentOS7 and the official repositories as php56w-common comes from the webtatic repository.

Hi, @olivieroc

yes, I also use webtatic repo:

name=Webtatic Repository EL7 - $basearch

But the problem is that fresh update of OC comes together with old php-common-5.4.16-42.el7.x86_64.

If you not use repositories / packages from your official distro repositories you most likely need to use the owncloud-files packages only.

AFAIK the ownCloud repositories are only supporting dependencies for the native distro repositories and not for such 3rdparty repositories like webstatic.

So just switch to the owncloud-files and remove the owncloud and owncloud-deps-php5 packages if you want to keep that 3rdparty repository.

I think you can also close your issue in [1] (or at least mention that you're using non-standard repositories) as the packager most likely won't support such 3rdparty repositories.


Ok, I've disabled the webtatic repo and reinstalled the owncloud to the fresh version. Of course, I've got php 5.4 instead of 5.6. Well, owncloud now works fine but I receive following message in the admin panel:

You are currently running PHP 5.4.16. We encourage you to upgrade your PHP version to take advantage of performance and security updates provided by the PHP Group as soon as your distribution supports it.
Please double check the installation guides ↗, and check for any errors or warnings in the log.

Is that good to depend on old php 5.4 in the fresh release of OC (9.1.4-3) instead of working php 5.6 in the 9.1.4-2.1?

See the explanation above:

If your distro (yes, such "Enterprise" called Distros are known to ship outdated software) is shipping only PHP 5.4. by default oC will only use this.

You still can use PHP 5.6 as explained above: