Missing depencies while updating nextcloud

While updating nextcloud i got the following errors:

    # yum update
    Loaded plugins: changelog, fastestmirror, nethserver_events
base                                                                                                                                                                    | 3.6 kB  00:00:00     
http://download.owncloud.org/download/repositories/stable/CentOS_7/repodata/repomd.xml: [Errno 12] Timeout on http://download.owncloud.org/download/repositories/stable/CentOS_7/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
http://download.owncloud.org/download/repositories/stable/CentOS_7/repodata/repomd.xml: [Errno 12] Timeout on http://download.owncloud.org/download/repositories/stable/CentOS_7/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
ce_stable                                                                                                                                                               | 1.2 kB  00:00:00     
epel/x86_64/metalink                                                                                                                                                    |  22 kB  00:00:00     
epel                                                                                                                                                                    | 4.3 kB  00:00:00     
extras                                                                                                                                                                  | 3.4 kB  00:00:00     
nethforge                                                                                                                                                               | 4.1 kB  00:00:00     
nethserver-base                                                                                                                                                         | 2.9 kB  00:00:00     
nethserver-updates                                                                                                                                                      | 4.1 kB  00:00:00     
updates                                                                                                                                                                 | 3.4 kB  00:00:00     
(1/2): epel/x86_64/updateinfo                                                                                                                                           | 780 kB  00:00:02     
(2/2): epel/x86_64/primary_db                                                                                                                                           | 4.6 MB  00:00:10     
Loading mirror speeds from cached hostfile                                                                                                                                                     
 * base: mirror.wiuwiu.de                                                                                                                                                                      
 * epel: mirror.uni-trier.de                                                                                                                                                                   
 * extras: mirror.de.leaseweb.net                                                                                                                                                              
 * nethforge: nethserver.de-labrusse.fr                                                                                                                                                        
 * nethserver-base: nethserver.de-labrusse.fr                                                                                                                                                  
 * nethserver-updates: nethserver.de-labrusse.fr                                                                                                                                               
 * updates: mirror.de.leaseweb.net                                                                                                                                                             
Resolving Dependencies                                                                                                                                                                         
--> Running transaction check                                                                                                                                                                  
---> Package duplicity.x86_64 0:0.7.11-2.el7 will be updated                                                                                                                                   
---> Package duplicity.x86_64 0:0.7.12-1.el7 will be an update                                                                                                                                 
---> Package nethserver-firewall-base.noarch 0:3.1.6-1.ns7 will be updated                                                                                                                     
---> Package nethserver-firewall-base.noarch 0:3.1.7-1.ns7 will be an update                                                                                                                   
---> Package nethserver-firewall-base-ui.noarch 0:3.1.6-1.ns7 will be updated                                                                                                                  
---> Package nethserver-firewall-base-ui.noarch 0:3.1.7-1.ns7 will be an update                                                                                                                
---> Package nethserver-nextcloud.noarch 0:1.0.4-1.ns7 will be updated                                                                                                                         
---> Package nethserver-nextcloud.noarch 0:1.1.0-1.ns7 will be an update                                                                                                                       
--> Processing Dependency: nethserver-rh-php56-php-fpm for package: nethserver-nextcloud-1.1.0-1.ns7.noarch                                                                                    
---> Package nethserver-ntp.noarch 0:1.1.2-1.ns7 will be updated                                                                                                                               
---> Package nethserver-ntp.noarch 0:1.1.3-1.ns7 will be an update                                                                                                                             
---> Package nethserver-openssh.noarch 0:1.2.0-1.ns7 will be updated                                                                                                                           
---> Package nethserver-openssh.noarch 0:1.2.1-1.ns7 will be an update                                                                                                                         
---> Package nextcloud.noarch 0:10.0.2-1.ns7 will be updated                                                                                                                                   
---> Package nextcloud.noarch 0:11.0.2-1.4.ns7 will be an update                                                                                                                               
--> Processing Dependency: rh-php56-php-xml for package: nextcloud-11.0.2-1.4.ns7.noarch                                                                                                       
--> Processing Dependency: rh-php56-php-pear for package: nextcloud-11.0.2-1.4.ns7.noarch                                                                                                      
--> Processing Dependency: rh-php56-php-pdo for package: nextcloud-11.0.2-1.4.ns7.noarch                                                                                                       
--> Processing Dependency: rh-php56-php-mysqlnd for package: nextcloud-11.0.2-1.4.ns7.noarch                                                                                                   
--> Processing Dependency: rh-php56-php-mbstring for package: nextcloud-11.0.2-1.4.ns7.noarch                                                                                                  
--> Processing Dependency: rh-php56-php-ldap for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-intl for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-gd for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-fpm for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56 for package: nextcloud-11.0.2-1.4.ns7.noarch
---> Package openvpn.x86_64 0:2.3.14-1.el7 will be updated
---> Package openvpn.x86_64 0:2.4.1-2.el7 will be an update
--> Running transaction check
---> Package nethserver-rh-php56-php-fpm.noarch 0:1.0.0-1.ns7 will be installed
--> Processing Dependency: rh-php56-php-fpm for package: nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php56 for package: nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch
---> Package nextcloud.noarch 0:11.0.2-1.4.ns7 will be an update
--> Processing Dependency: rh-php56-php-xml for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-pear for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-pdo for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-mysqlnd for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-mbstring for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-ldap for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-intl for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-gd for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56-php-fpm for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Processing Dependency: rh-php56 for package: nextcloud-11.0.2-1.4.ns7.noarch
--> Finished Dependency Resolution
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-pear
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-xml
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-fpm
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-mysqlnd
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-gd
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-ldap
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-pdo
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-intl
Error: Package: nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-fpm
Error: Package: nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch (nethserver-updates)
           Requires: rh-php56
Error: Package: nextcloud-11.0.2-1.4.ns7.noarch (nethserver-updates)
           Requires: rh-php56-php-mbstring
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

How can i solve this?

You have to install a newer php-version.
For installing newer php-version look at the Wiki, and dont forget to install stephdl_repository like written in the Wiki.

Where does it come from? Did you set up a third-party repo?

Did you disable other repositories?

Just remove it from console yum remove nextcloud and install it againā€¦ same here.

You have to install a newer php-version.
For installing newer php-version look at the Wiki3, and dont forget to install stephdl_repository like written in the Wiki.

Solution donā€™t work, neither

Just remove it from console yum remove nextcloud and install it again

yum is missing the rh-php56-php* - packages, and i canā€™t install them:

yum install rh-php56-php-pear
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * base: mirror.wiuwiu.de
 * epel: mirror.yandex.ru
 * extras: mirror.ratiokontakt.de
 * nethforge: mirror1.nethserver.org
 * nethserver-base: mirror1.nethserver.org
 * nethserver-updates: mirror1.nethserver.org
 * remi-safe: nl.mirror.babylon.network
 * updates: ftp.plusline.de
No package rh-php56-php-pear available.

It seems scl and rh-scl repos are disabledā€¦

ā€¦should be disabled!

1 Like

They arenā€™t disabled by me. How can i enable them?

You should edit the appropriate .repo files in /etc/yum.repos.d/

Follow the upstream guide

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Setting_repository_Options.html

I had to install

yum install centos-release-scl

Now i can update with the enabled repos scl and rh-scl

4 Likes