Package update fails on nethserver-dc

yum
v7

(Rolf Bakker) #1

NethServer Version: 7 final
Module: update
Hi all,
when updating NS7 I end in an error, both via the web-gui, as via CLI.
I’ve tried a yum clean all, and retry yum update, but still it ends in this errors:

Some delta RPMs failed to download or rebuild. Retrying…
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://mirror.nethesis.it/nethserver/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable 0 B --:–:-- ETA
Trying other mirror.
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://mirror.nethserver.org/nethserver/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not SatisfiableB --:–:-- ETA
Trying other mirror.
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://mirror2.nethserver.org/nethserver/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable --:–:-- ETA
Trying other mirror.
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://infinitedreams.framassa.org/nethserver/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable–:-- ETA
Trying other mirror.
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://nethserver.de-labrusse.fr/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable| 0 B --:–:-- ETA
Trying other mirror.
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://mirror1.nethserver.org/nethserver/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable --:–:-- ETA
Trying other mirror.
nethserver-dc-1.1.2-1.ns7.x86_ FAILED
http://mirror.framassa.org/nethserver/7/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable0 B --:–:-- ETA
Trying other mirror.

Error downloading packages:
nethserver-dc-1.1.2-1.ns7.x86_64: [Errno 256] No more mirrors to try.

Although the location in the error is reachable…
Is it possible to manually download the rpm and install it? Then run yum update?
Or what can I do for a structural solution?


(Davide Principi) #2

This is the direct download URL

http://packages.nethserver.org/nethserver/7.3.1611/updates/x86_64/Packages/nethserver-dc-1.1.2-1.ns7.x86_64.rpm


(Rolf Bakker) #3

OK, downloaded & installed nethserver-dc manually, then ran yum update for the other packages that needed updating. All fine now.
However strange it didn’t go automatically…
thx


(Alessio Fattorini) #4

Maybe some network issues during the download? I guess we should cover that scenario too @davidep


(Davide Principi) #5

My bad, it could be a RPM-delta metadata out-of-sync. Should be fixed in a few hours: mirrors are syncing.


(Stefano Zamboni) #6

before running any yum command, remember to execute
yum --enablerepo=* clean all

the enablerepo=* is important because yum (and all its flags/commands) works only on enabled repos

doing as suggested above will clean all caches (metadata, rpms ecc) and likely will solve your issue

BTW, be sure you’re not behind any kind of proxy, which can be source of issues with yum


(Marc) #7

A post was merged into an existing topic: Error repository after upgrade to NS 7.6