Update not possible! - Nextcloud 11 corrupted file(s)

Just wanted to bring the system to stand, however, not all data are available online!

Nextcloud 11is not available.

greetings

Gerald

Is this ok [y/d/N]: y
Downloading packages:
Finishing delta rebuilds of 1 package(s) (23 k)
Some delta RPMs failed to download or rebuild. Retrying..
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://mirror.framassa.org/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                   ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://mirror2.nethserver.org/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://nethserver.de-labrusse.fr/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                        ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://mirror1.nethserver.org/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://mirror.nordest.systems/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://mirror.nethesis.it/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                    ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://mirror.nethserver.org/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                                 ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
nethserver-nextcloud-1.1.0-1.n FAILED                                          
http://infinitedreams.framassa.org/nethserver/7/updates/x86_64/Packages/nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable                           ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.


Error downloading packages:
  nethserver-nextcloud-1.1.0-1.ns7.noarch: [Errno 256] No more mirrors to try.
1 Like

Try cleaning the yum cache:

yum --enablerepo=* clean all

Unfortunately, nothing yet.

No change, still does not go!

Cannot test it right now, but you can try it later (after a while, just for mirrors to sync).

To discard a temp network issue, restart the router.

Or try a workaround to do the updates without deltarpms:

yum update --setopt=deltarpm=0
2 Likes

still no success!

[root@openzwo ~]# yum update --setopt=deltarpm=0
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * base: mirror.23media.de
 * epel: mirror.imt-systems.com
 * extras: mirror2.hs-esslingen.de
 * nethforge: mirror.framassa.org
 * nethserver-base: mirror.framassa.org
 * nethserver-updates: mirror.framassa.org
 * updates: centos.copahost.com
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-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 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
--> Running transaction check
---> Package nethserver-rh-php56-php-fpm.noarch 0:1.0.0-1.ns7 will be installed
---> Package rh-php56.x86_64 0:2.3-1.el7 will be installed
--> Processing Dependency: rh-php56-runtime(x86-64) = 2.3-1.el7 for package: rh-php56-2.3-1.el7.x86_64
--> Processing Dependency: rh-php56-runtime for package: rh-php56-2.3-1.el7.x86_64
--> Processing Dependency: rh-php56-php-common(x86-64) for package: rh-php56-2.3-1.el7.x86_64
--> Processing Dependency: rh-php56-php-cli(x86-64) for package: rh-php56-2.3-1.el7.x86_64
---> Package rh-php56-php-fpm.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-gd.x86_64 0:5.6.25-1.el7 will be installed
--> Processing Dependency: libvpx.so.1()(64bit) for package: rh-php56-php-gd-5.6.25-1.el7.x86_64
---> Package rh-php56-php-intl.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-ldap.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-mbstring.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-mysqlnd.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-pdo.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-pear.noarch 1:1.9.5-4.el7 will be installed
--> Processing Dependency: rh-php56-php-posix for package: 1:rh-php56-php-pear-1.9.5-4.el7.noarch
---> Package rh-php56-php-xml.x86_64 0:5.6.25-1.el7 will be installed
--> Running transaction check
---> Package libvpx.x86_64 0:1.3.0-5.el7_0 will be installed
---> Package rh-php56-php-cli.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-php-common.x86_64 0:5.6.25-1.el7 will be installed
--> Processing Dependency: rh-php56-php-pecl-jsonc(x86-64) for package: rh-php56-php-common-5.6.25-1.el7.x86_64
---> Package rh-php56-php-process.x86_64 0:5.6.25-1.el7 will be installed
---> Package rh-php56-runtime.x86_64 0:2.3-1.el7 will be installed
--> Processing Dependency: scl-utils for package: rh-php56-runtime-2.3-1.el7.x86_64
--> Running transaction check
---> Package rh-php56-php-pecl-jsonc.x86_64 0:1.3.6-3.el7 will be installed
---> Package scl-utils.x86_64 0:20130529-17.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                            Arch                                          Version                                                    Repository                                                 Size
=============================================================================================================================================================================================================================================
Updating:
 duplicity                                                          x86_64                                        0.7.12-1.el7                                               epel                                                      546 k
 nethserver-nextcloud                                               noarch                                        1.1.0-1.ns7                                                nethserver-updates                                         23 k
 nextcloud                                                          noarch                                        11.0.2-1.4.ns7                                             nethserver-updates                                         30 M
Installing for dependencies:
 libvpx                                                             x86_64                                        1.3.0-5.el7_0                                              base                                                      498 k
 nethserver-rh-php56-php-fpm                                        noarch                                        1.0.0-1.ns7                                                nethserver-updates                                        4.4 k
 rh-php56                                                           x86_64                                        2.3-1.el7                                                  centos-sclo-rh                                            4.0 k
 rh-php56-php-cli                                                   x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            2.6 M
 rh-php56-php-common                                                x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            742 k
 rh-php56-php-fpm                                                   x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            1.4 M
 rh-php56-php-gd                                                    x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            158 k
 rh-php56-php-intl                                                  x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            150 k
 rh-php56-php-ldap                                                  x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                             57 k
 rh-php56-php-mbstring                                              x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            519 k
 rh-php56-php-mysqlnd                                               x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            185 k
 rh-php56-php-pdo                                                   x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            100 k
 rh-php56-php-pear                                                  noarch                                        1:1.9.5-4.el7                                              centos-sclo-rh                                            367 k
 rh-php56-php-pecl-jsonc                                            x86_64                                        1.3.6-3.el7                                                centos-sclo-rh                                             44 k
 rh-php56-php-process                                               x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                             61 k
 rh-php56-php-xml                                                   x86_64                                        5.6.25-1.el7                                               centos-sclo-rh                                            162 k
 rh-php56-runtime                                                   x86_64                                        2.3-1.el7                                                  centos-sclo-rh                                            1.1 M
 scl-utils                                                          x86_64                                        20130529-17.el7_1                                          base                                                       24 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install             ( 18 Dependent packages)
Upgrade  3 Packages

Total size: 39 M
Total download size: 23 k
Is this ok [y/d/N]: y
Downloading packages:
nethserver-nextcloud-1.1.0-1.ns7.noarch.rpm                                                                                                                                                                           |  23 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libvpx-1.3.0-5.el7_0.x86_64                                                                                                                                                                                              1/24 
  Installing : scl-utils-20130529-17.el7_1.x86_64                                                                                                                                                                                       2/24 
  Installing : rh-php56-runtime-2.3-1.el7.x86_64                                                                                                                                                                                        3/24 
  Installing : rh-php56-php-pecl-jsonc-1.3.6-3.el7.x86_64                                                                                                                                                                               4/24 
  Installing : rh-php56-php-common-5.6.25-1.el7.x86_64                                                                                                                                                                                  5/24 
  Installing : rh-php56-php-cli-5.6.25-1.el7.x86_64                                                                                                                                                                                     6/24 
  Installing : rh-php56-php-fpm-5.6.25-1.el7.x86_64                                                                                                                                                                                     7/24 
  Installing : rh-php56-php-pdo-5.6.25-1.el7.x86_64                                                                                                                                                                                     8/24 
  Installing : rh-php56-php-xml-5.6.25-1.el7.x86_64                                                                                                                                                                                     9/24 
  Installing : rh-php56-php-mysqlnd-5.6.25-1.el7.x86_64                                                                                                                                                                                10/24 
  Installing : rh-php56-php-intl-5.6.25-1.el7.x86_64                                                                                                                                                                                   11/24 
  Installing : rh-php56-php-mbstring-5.6.25-1.el7.x86_64                                                                                                                                                                               12/24 
  Installing : rh-php56-php-ldap-5.6.25-1.el7.x86_64                                                                                                                                                                                   13/24 
  Installing : rh-php56-php-process-5.6.25-1.el7.x86_64                                                                                                                                                                                14/24 
  Installing : 1:rh-php56-php-pear-1.9.5-4.el7.noarch                                                                                                                                                                                  15/24 
  Installing : rh-php56-2.3-1.el7.x86_64                                                                                                                                                                                               16/24 
  Installing : nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch                                                                                                                                                                          17/24 
  Installing : rh-php56-php-gd-5.6.25-1.el7.x86_64                                                                                                                                                                                     18/24 
  Updating   : nextcloud-11.0.2-1.4.ns7.noarch                                                                                                                                                                                         19/24 
Error unpacking rpm package nextcloud-11.0.2-1.4.ns7.noarch
error: unpacking of archive failed on file /usr/share/nextcloud/core/skeleton/Nextcloud Manual.pdf;58e7c900: cpio: read
  Updating   : nethserver-nextcloud-1.1.0-1.ns7.noarch                                                                                                                                                                                 20/24 
error: nextcloud-11.0.2-1.4.ns7.noarch: install failed
  Updating   : duplicity-0.7.12-1.el7.x86_64                                                                                                                                                                                           21/24 
  Cleanup    : nethserver-nextcloud-1.0.4-1.ns7.noarch                                                                                                                                                                                 22/24 
  Cleanup    : duplicity-0.7.11-2.el7.x86_64                                                                                                                                                                                           23/24 
error: nextcloud-10.0.2-1.ns7.noarch: erase skipped
  Verifying  : rh-php56-php-intl-5.6.25-1.el7.x86_64                                                                                                                                                                                    1/24 
  Verifying  : 1:rh-php56-php-pear-1.9.5-4.el7.noarch                                                                                                                                                                                   2/24 
  Verifying  : rh-php56-php-cli-5.6.25-1.el7.x86_64                                                                                                                                                                                     3/24 
  Verifying  : rh-php56-runtime-2.3-1.el7.x86_64                                                                                                                                                                                        4/24 
  Verifying  : rh-php56-php-fpm-5.6.25-1.el7.x86_64                                                                                                                                                                                     5/24 
  Verifying  : nethserver-rh-php56-php-fpm-1.0.0-1.ns7.noarch                                                                                                                                                                           6/24 
  Verifying  : rh-php56-php-mbstring-5.6.25-1.el7.x86_64                                                                                                                                                                                7/24 
  Verifying  : rh-php56-php-ldap-5.6.25-1.el7.x86_64                                                                                                                                                                                    8/24 
  Verifying  : nethserver-nextcloud-1.1.0-1.ns7.noarch                                                                                                                                                                                  9/24 
  Verifying  : duplicity-0.7.12-1.el7.x86_64                                                                                                                                                                                           10/24 
  Verifying  : scl-utils-20130529-17.el7_1.x86_64                                                                                                                                                                                      11/24 
  Verifying  : rh-php56-php-pdo-5.6.25-1.el7.x86_64                                                                                                                                                                                    12/24 
  Verifying  : rh-php56-php-mysqlnd-5.6.25-1.el7.x86_64                                                                                                                                                                                13/24 
  Verifying  : rh-php56-php-process-5.6.25-1.el7.x86_64                                                                                                                                                                                14/24 
  Verifying  : rh-php56-php-pecl-jsonc-1.3.6-3.el7.x86_64                                                                                                                                                                              15/24 
  Verifying  : rh-php56-php-xml-5.6.25-1.el7.x86_64                                                                                                                                                                                    16/24 
  Verifying  : rh-php56-php-gd-5.6.25-1.el7.x86_64                                                                                                                                                                                     17/24 
  Verifying  : libvpx-1.3.0-5.el7_0.x86_64                                                                                                                                                                                             18/24 
  Verifying  : rh-php56-php-common-5.6.25-1.el7.x86_64                                                                                                                                                                                 19/24 
  Verifying  : rh-php56-2.3-1.el7.x86_64                                                                                                                                                                                               20/24 
  Verifying  : nethserver-nextcloud-1.0.4-1.ns7.noarch                                                                                                                                                                                 21/24 
nextcloud-10.0.2-1.ns7.noarch was supposed to be removed but is not!
  Verifying  : nextcloud-10.0.2-1.ns7.noarch                                                                                                                                                                                           22/24 
  Verifying  : nextcloud-11.0.2-1.4.ns7.noarch                                                                                                                                                                                         23/24 
  Verifying  : duplicity-0.7.11-2.el7.x86_64                                                                                                                                                                                           24/24 

Dependency Installed:
  libvpx.x86_64 0:1.3.0-5.el7_0                 nethserver-rh-php56-php-fpm.noarch 0:1.0.0-1.ns7    rh-php56.x86_64 0:2.3-1.el7                rh-php56-php-cli.x86_64 0:5.6.25-1.el7          rh-php56-php-common.x86_64 0:5.6.25-1.el7     
  rh-php56-php-fpm.x86_64 0:5.6.25-1.el7        rh-php56-php-gd.x86_64 0:5.6.25-1.el7               rh-php56-php-intl.x86_64 0:5.6.25-1.el7    rh-php56-php-ldap.x86_64 0:5.6.25-1.el7         rh-php56-php-mbstring.x86_64 0:5.6.25-1.el7   
  rh-php56-php-mysqlnd.x86_64 0:5.6.25-1.el7    rh-php56-php-pdo.x86_64 0:5.6.25-1.el7              rh-php56-php-pear.noarch 1:1.9.5-4.el7     rh-php56-php-pecl-jsonc.x86_64 0:1.3.6-3.el7    rh-php56-php-process.x86_64 0:5.6.25-1.el7    
  rh-php56-php-xml.x86_64 0:5.6.25-1.el7        rh-php56-runtime.x86_64 0:2.3-1.el7                 scl-utils.x86_64 0:20130529-17.el7_1      

Updated:
  duplicity.x86_64 0:0.7.12-1.el7                                                                                  nethserver-nextcloud.noarch 0:1.1.0-1.ns7                                                                                 

Failed:
  nextcloud.noarch 0:10.0.2-1.ns7                                                                                      nextcloud.noarch 0:11.0.2-1.4.ns7                                                                                     

Complete!
[root@openzwo ~]#

Works for me:

  1. Clear cache of my UTM
  2. yum --enablerepo=* clean all
  3. yum update --setopt=deltarpm=0

or

  1. yum update

Well done @dnutan ! Again!
:clap::clap::clap:

Ups!

Some file(s) inside nextcloud-11.0.2-1.4.ns7.noarch.rpm are corrupted (at least Nextcloud Manual, lzma error), and other sample files missing.

2 Likes

yes, something went wrong when repackaging the testing version… i’ve retried on a clean ns7+ns10:
(please don’t use on a production server)

yum update --enablerepo=nethserver-testing --disablerepo=nethserver-updates nethserver-nextcloud nextcloud

and install went fine… i think we should wait @davidep

edit: the strange thing, i’ve updated this morning my testing vm from nextcloud-11.0.2-1.3.gbcd069aa.ns7.noarch.rpm to final without problem

3 Likes

…strange thing: I’ve installed it on a clean VM at 16 UTC and found no issue. However I could be betrayed by my web proxy cache :grin:

1 Like

Our mirrors are now synchronized. @gerald_FS @dz00te @dnutan @GG_jr could you give it a try?

Run

yum clean all
yum update

Please paste here any error message (better if text format is used :pray:)

Try it in a second step

Hi @davidep ,

I have tried for a few times, both steps.
Please see all the attached screenshots (I am in a hurry, I must to go for a while).

I will try again after a few hours.

Kind regards,
Gabriel

1 Like

Unfortunately it still is not!
Now the installation runs a little further, but it comes as with the previous speaker the same message.

nice day!
Thank you!

[root@openzwo ~]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
 * epel: mirror.de.leaseweb.net
 * extras: ftp.plusline.de
 * nethforge: mirror.framassa.org
 * nethserver-base: mirror.framassa.org
 * nethserver-updates: mirror.framassa.org
 * updates: mirror.imt-systems.com
Resolving Dependencies
--> Running transaction check
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                               Arch                                               Version                                                       Repository                                                      Size
=============================================================================================================================================================================================================================================
Updating:
 nextcloud                                             noarch                                             11.0.2-1.4.ns7                                                nethserver-updates                                              30 M

Transaction Summary
=============================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 30 M
Is this ok [y/d/N]: y
Downloading packages:
nextcloud-11.0.2-1.4.ns7.noarch.rpm                                                                                                                                                                                   |  30 MB  00:00:06     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nextcloud-11.0.2-1.4.ns7.noarch                                                                                                                                                                                           1/2 
Error unpacking rpm package nextcloud-11.0.2-1.4.ns7.noarch
error: unpacking of archive failed on file /usr/share/nextcloud/core/skeleton/Nextcloud Manual.pdf;58e89f9d: cpio: read
  Verifying  : nextcloud-11.0.2-1.4.ns7.noarch                                                                                                                                                                                           1/2 
nextcloud-10.0.2-1.ns7.noarch was supposed to be removed but is not!
  Verifying  : nextcloud-10.0.2-1.ns7.noarch                                                                                                                                                                                             2/2 

Failed:
  nextcloud.noarch 0:10.0.2-1.ns7                                                                                      nextcloud.noarch 0:11.0.2-1.4.ns7                                                                                     

Complete!
[root@openzwo ~]#
2 Likes

nextcloud package in the updates repo is still the same as yesterday (not a new one).

2 Likes

The same problem

Install  1 Package

Total download size: 30 M
Installed size: 124 M
Is this ok [y/d/N]: y
Downloading packages:
nextcloud-11.0.2-1.4.ns7.noarch.rpm                          37% [==================-                               ] 793 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          38% [===================                               ] 769 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          38% [===================                               ] 737 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          40% [====================                              ] 801 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          41% [====================-                             ] 775 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          42% [=====================                             ] 794 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          43% [=====================-                            ] 792 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          43% [=====================-                            ] 783 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                          44% [======================                            ] 769 kB/nextcloud-11.0.2-1.4.ns7.noarch.rpm                                                                   |  30 MB  00:00:48
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : nextcloud-11.0.2-1.4.ns7.noarch                                                                           1/1
Error unpacking rpm package nextcloud-11.0.2-1.4.ns7.noarch
error: unpacking of archive failed on file /usr/share/nextcloud/core/skeleton/Nextcloud Manual.pdf;58e8c69a: cpio: read
  Verifying  : nextcloud-11.0.2-1.4.ns7.noarch                                                                           1/1

Failed:
  nextcloud.noarch 0:11.0.2-1.4.ns7

Complete!
[root@fs2 ~]#
1 Like

Unfortunately, still the same problem with “nextcloud-11.0.2-1.4.ns7.noarch.rpm” .

Error unpacking rpm package nextcloud-11.0.2-1.4.ns7.noarch
error: unpacking of archive failed on file /usr/share/nextcloud/core/skeleton/Nextcloud Manual.pdf;58e8d6f6: cpio: read

(I have cleared again the cache of the UTM before commands)

[root@ns7 ~]#
[root@ns7 ~]# yum --enablerepo=* clean all
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: C7.0.1406-base C7.0.1406-centosplus C7.0.1406-extras C7.0.1406-fasttrack C7.0.1406-updates C7.1.1503-base C7.1.1503-centosplus
              : C7.1.1503-extras C7.1.1503-fasttrack C7.1.1503-updates C7.2.1511-base C7.2.1511-centosplus C7.2.1511-extras C7.2.1511-fasttrack
              : C7.2.1511-updates base base-debuginfo base-source c7-media centos-sclo-rh centos-sclo-rh-debuginfo centos-sclo-rh-source
              : centos-sclo-rh-testing centos-sclo-sclo centos-sclo-sclo-debuginfo centos-sclo-sclo-source centos-sclo-sclo-testing centosplus
              : centosplus-source cr epel epel-debuginfo epel-source epel-testing epel-testing-debuginfo epel-testing-source extras extras-source fasttrack
              : nethforge nethforge-testing nethserver-base nethserver-testing nethserver-updates stephdl updates updates-source
Cleaning up everything
Cleaning up list of fastest mirrors
[root@ns7 ~]#
[root@ns7 ~]#
[root@ns7 ~]# yum clean all
Loaded plugins: changelog, fastestmirror, nethserver_events
Cleaning repos: base centos-sclo-rh centos-sclo-sclo epel extras nethforge nethserver-base nethserver-updates stephdl updates
Cleaning up everything
[root@ns7 ~]#
[root@ns7 ~]#
[root@ns7 ~]#
[root@ns7 ~]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events
base                                                                                                                                  | 3.6 kB  00:00:00
centos-sclo-rh                                                                                                                        | 2.9 kB  00:00:00
centos-sclo-sclo                                                                                                                      | 2.9 kB  00:00:00
epel/x86_64/metalink                                                                                                                  |  25 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
stephdl                                                                                                                               | 2.9 kB  00:00:00
updates                                                                                                                               | 3.4 kB  00:00:00
(1/15): base/7/x86_64/group_gz                                                                                                        | 155 kB  00:00:00
(2/15): epel/x86_64/group_gz                                                                                                          | 170 kB  00:00:00
(3/15): centos-sclo-sclo/x86_64/primary_db                                                                                            | 149 kB  00:00:00
(4/15): extras/7/x86_64/primary_db                                                                                                    | 139 kB  00:00:00
(5/15): nethforge/7/x86_64/group_gz                                                                                                   |  543 B  00:00:00
(6/15): nethforge/7/x86_64/primary_db                                                                                                 |  37 kB  00:00:00
(7/15): base/7/x86_64/primary_db                                                                                                      | 5.6 MB  00:00:01
(8/15): epel/x86_64/updateinfo                                                                                                        | 778 kB  00:00:01
(9/15): nethserver-base/7/x86_64/primary_db                                                                                           | 171 kB  00:00:00
(10/15): epel/x86_64/primary_db                                                                                                       | 4.6 MB  00:00:01
(11/15): nethserver-updates/7/x86_64/group_gz                                                                                         |  17 kB  00:00:00
(12/15): nethserver-updates/7/x86_64/primary_db                                                                                       |  99 kB  00:00:00
(13/15): centos-sclo-rh/x86_64/primary_db                                                                                             | 2.2 MB  00:00:01
(14/15): stephdl/7/primary_db                                                                                                         | 111 kB  00:00:00
(15/15): updates/7/x86_64/primary_db                                                                                                  | 3.9 MB  00:00:00
Determining fastest mirrors
 * base: ftp.ines.lug.ro
 * epel: repo.boun.edu.tr
 * extras: ftp.ines.lug.ro
 * nethforge: mirror.nethesis.it
 * nethserver-base: mirror.nethesis.it
 * nethserver-updates: mirror.nethesis.it
 * updates: ftp.ines.lug.ro
Resolving Dependencies
--> Running transaction check
---> 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
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                           Arch                           Version                                   Repository                                  Size
=============================================================================================================================================================
Updating:
 nextcloud                         noarch                         11.0.2-1.4.ns7                            nethserver-updates                          30 M

Transaction Summary
=============================================================================================================================================================
Upgrade  1 Package

Total download size: 30 M
Is this ok [y/d/N]: y
Downloading packages:
nethserver-updates/7/x86_64/prestodelta                                                                                               |  13 kB  00:00:00
nextcloud-11.0.2-1.4.ns7.noarch.rpm                                                                                                   |  30 MB  00:00:36
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nextcloud-11.0.2-1.4.ns7.noarch                                                                                                           1/2
Error unpacking rpm package nextcloud-11.0.2-1.4.ns7.noarch
error: unpacking of archive failed on file /usr/share/nextcloud/core/skeleton/Nextcloud Manual.pdf;58e8d6f6: cpio: read
  Verifying  : nextcloud-11.0.2-1.4.ns7.noarch                                                                                                           1/2
nextcloud-10.0.2-1.ns7.noarch was supposed to be removed but is not!
  Verifying  : nextcloud-10.0.2-1.ns7.noarch                                                                                                             2/2

Failed:
  nextcloud.noarch 0:10.0.2-1.ns7                                              nextcloud.noarch 0:11.0.2-1.4.ns7

Complete!
[root@ns7 ~]#

I’ve reproduced and investigated the problem and found two issues:

  1. the delta RPM for nethserver-nextcloud was invalid because I uploaded the same RPM two times. This invalidates the delta checksum (even if the original file is the same the RPM signing process produces different files). In the end, the delta RPM does not apply to the second upload.

  2. the nextcloud RPM file size appeared truncated. From your reports I see 30M, but should be 35M (at least on my PC it was so). I uploaded it again.

Now they are fixed and seem to work correctly by my side. Please, wait until mirrors are synched again. If you’re in hurry comment out mirrorlist= and uncomment baseurl= lines in /etc/yum.repos.d/NethServer.repo. Then run the following commands:

yum clean all
yum update

If you worked around the deltarpm issue as suggested by @dnutan the nextcloud package update could produce many RPM warnings of missing files. I think it’s because of a previously failed RPM transaction and should not harm.

4 Likes

Now nextcloud install succeds!!

3 Likes

Now, Nextcloud is updated but what’s next?
Please see the attached picture.