Update - Error downloading packages

Yesterday I tried not with a new install but with a more up to date server and it worked:

# yum history info 15
Loaded plugins: changelog, fastestmirror, nethserver_events
Transaction ID : 15
Begin time     : Sat Jan 12 16:49:18 2019
Begin rpmdb    : 752:9e3790c973f19e1ef295595f282350a4a4921d38
End time       :            16:49:47 2019 (29 seconds)
End rpmdb      : 752:a6831256593f2cccc9860800450a6c4d53a9abbe
User           : root <root>
Return-Code    : Success
Command Line   : update nethserver-subscription
Transaction performed with:
    Installed     rpm-4.11.3-35.el7.x86_64                      @base
    Installed     yum-3.4.3-161.el7.centos.noarch               @base
    Installed     yum-plugin-fastestmirror-1.1.31-50.el7.noarch @base
Packages Altered:
    Updated nethserver-subscription-3.3.0-1.ns7.noarch    @nethserver-updates
    Update                          3.3.2-1.ns7.noarch    @nethserver-updates
    Updated nethserver-subscription-ui-3.3.0-1.ns7.noarch @nethserver-updates
    Update                             3.3.2-1.ns7.noarch @nethserver-updates
history info

On a clean install of 7.6.1810 (final), running this as first command I’m getting:

# yum update nethserver-subscription

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

Did some ping tests, and it’s able to reach Internet. Running yum update afterwards, the error is gone:

# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                              |  31 kB  00:00:00
...

But installing updates end up with same error you reported:

Some delta RPMs failed to download or rebuild. Retrying..
nethserver-subscription-3.3.2- FAILED                                          
http://mirror1.nethserver.org/nethserver/7.6.1810/updates/x86_64/Packages/nethserver-subscription-3.3.2-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
nethserver-subscription-ui-3.3 FAILED                                          
http://mirror.nordest.systems/nethserver/7.6.1810/updates/x86_64/Packages/nethserver-subscription-ui-3.3.2-1.ns7.noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
...

Error downloading packages:
  nethserver-subscription-ui-3.3.2-1.ns7.noarch: [Errno 256] No more mirrors to try.
  nethserver-subscription-3.3.2-1.ns7.noarch: [Errno 256] No more mirrors to try.

So the problem seems to be with deltarpms:

# yum --setopt=deltarpm=0 update nethserver-subscription

Updated:
  nethserver-subscription.noarch 0:3.3.2-1.ns7                                                           

Dependency Updated:
  nethserver-subscription-ui.noarch 0:3.3.2-1.ns7                                                        

Complete!

The difference might be from which package version it is updating from. Unfortunately, I didn’t record that info on the new install (already deleted).

1 Like