Repo possible temp issues?

subscription

(HF) #1

As per title question. Manually doing ‘yum update’ results in:

Error downloading packages:
getmail-5.6-1.el7.noarch: [Errno 256] No more mirrors to try.
collectd-ping-5.8.1-1.el7.x86_64: [Errno 256] No more mirrors to try.
collectd-5.8.1-1.el7.x86_64: [Errno 256] No more mirrors to try.
collectd-rrdtool-5.8.1-1.el7.x86_64: [Errno 256] No more mirrors to try.


(Markus Neuberger) #2

Can you reach the mirrors in browser or download the files with wget or curl?
Is DNS working correctly?

Edit:

You may try to clean the cache:

yum clean all && yum update

(HF) #3

DNS is working correctly (nothing changed)
I can reach the repo server in the browser, but askes for authentication (trial subscription)
yum clean all & yum update results in same issue

Thanks

ps. Nothing critical for me atm, just reporting it.


(Davide Principi) #4

Please report the output of

 yum repolist -v

Is it the trial expired?


(HF) #5

Please see https://pastebin.com/wte3g6fQ

That could well be that the trial has expired. How to avoid this behaviour?


(Markus Neuberger) #6

You may remove the subscription if expired:

http://docs.nethserver.org/en/v7/subscription.html#removing-a-subscription


(HF) #7

Thanks, that worked. BUT the subscription should NOT have expired:

Subscription plan: Trial Pizza

Validity: 2018-11-01 - 2018-12-01


(Markus Neuberger) #8

If it was still valid then there was maybe another problem…


(HF) #9

Yep, I think so too. I added the word NOT to my previous post


(Davide Principi) #10

The repository access seems ok. I’m not sure the issue was an unexpected expiration


(Eddie Atherton) #11

I saw the same yesterday evening.

I just tried again today and the same error persists.

[root@Nethserver ~]# yum repolist -v
Loading "changelog" plugin
Loading "fastestmirror" plugin
Loading "nethserver_events" plugin
Config time: 0.015
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
Setting up Package Sacks
pkgsack time: 0.010
Repo-id      : sb-base/x86_64
Repo-name    : Stable mirror: CentOS Base 7
Repo-revision: 1525378614
Repo-updated : Thu May  3 13:17:37 2018
Repo-pkgs    : 9,911
Repo-size    : 8.2 G
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=base&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/base/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:27 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-centos-sclo-rh/x86_64
Repo-name    : Stable mirror: SCLo rh 7
Repo-revision: 1541456160
Repo-updated : Mon Nov  5 14:18:13 2018
Repo-pkgs    : 8,099
Repo-size    : 7.3 G
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=centos-sclo-rh&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/centos-sclo-rh/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:28 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-centos-sclo-sclo/x86_64
Repo-name    : Stable mirror: SCLo sclo 7
Repo-revision: 1538384702
Repo-updated : Mon Oct  1 02:05:07 2018
Repo-pkgs    : 775
Repo-size    : 241 M
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=centos-sclo-sclo&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/centos-sclo-sclo/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:28 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-epel/x86_64
Repo-name    : Stable mirror: EPEL 7
Repo-revision: 1542594245
Repo-updated : Sun Nov 18 20:40:12 2018
Repo-pkgs    : 12,706
Repo-size    : 14 G
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=epel&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/epel/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:29 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-extras/x86_64
Repo-name    : Stable mirror: CentOS Extras 7
Repo-revision: 1541683984
Repo-updated : Thu Nov  8 05:36:55 2018
Repo-pkgs    : 434
Repo-size    : 806 M
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=extras&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/extras/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:29 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-nethserver-base/x86_64
Repo-name    : Stable mirror: NethServer Base 7
Repo-revision: 1528711431
Repo-updated : Mon Jun 11 03:03:55 2018
Repo-pkgs    : 283
Repo-size    : 1.0 G
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=nethserver-base&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/nethserver-base/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:30 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-nethserver-updates/x86_64
Repo-name    : Stable mirror: NethServer Updates 7
Repo-revision: 1542615150
Repo-updated : Mon Nov 19 00:12:45 2018
Repo-pkgs    : 334
Repo-size    : 1.1 G
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=nethserver-updates&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/nethserver-updates/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:30 2018)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/subscription.repo

Repo-id      : sb-updates/x86_64
Repo-name    : Stable mirror: CentOS Updates 7
Repo-revision: 1540837319
Repo-updated : Mon Oct 29 11:33:45 2018
Repo-pkgs    : 1,613
Repo-size    : 5.7 G
Repo-mirrors : https://mirrorlist.nethserver.com/?repo=updates&arch=x86_64&nsversion=7.5.1804&usetier=$YUM0
Repo-baseurl : https://m1.nethserver.com/stable/7.5.1804/updates/x86_64/
Repo-expire  : 7,200 second(s) (last: Wed Nov 28 09:27:31 2018)
  Filter     : read-only:present
Repo-excluded: 1
Repo-filename: /etc/yum.repos.d/subscription.repo

repolist: 34,155
[root@Nethserver ~]#

Cheers.


(Davide Principi) #12

Thank you for reporting it, I’ll try to reproduce it


(HF) #13

despite I canceled my subscription (see above), I still get notifications from the monitoring service.


(Davide Principi) #14

I guess you have to delete the subscription on your account at my.nethserver.com


(Davide Principi) #15

I can reproduce the problem: I can’t download the updates from sb-epel.

Dependencies Resolved

=====================================================================================================================================================================================================================
 Package                                                     Arch                                     Version                                          Repository                                               Size
=====================================================================================================================================================================================================================
Updating:
 collectd                                                    x86_64                                   5.8.1-1.el7                                      sb-epel                                                 716 k
 collectd-ping                                               x86_64                                   5.8.1-1.el7                                      sb-epel                                                  23 k
 collectd-rrdtool                                            x86_64                                   5.8.1-1.el7                                      sb-epel                                                  28 k
 nethserver-base                                             noarch                                   3.5.1-1.ns7                                      sb-nethserver-updates                                   245 k
 nethserver-diagtools                                        noarch                                   1.0.3-1.ns7                                      sb-nethserver-updates                                    23 k
 nethserver-dnsmasq                                          noarch                                   1.6.7-1.ns7                                      sb-nethserver-updates                                    45 k
 nethserver-lang-en                                          noarch                                   1.2.16-1.ns7                                     sb-nethserver-updates                                    23 k
 nethserver-lib                                              noarch                                   2.2.9-1.ns7                                      sb-nethserver-updates                                    98 k
 nethserver-mail-smarthost                                   noarch                                   2.3.2-1.ns7                                      sb-nethserver-updates                                    44 k
 nethserver-sssd                                             noarch                                   1.4.3-1.ns7                                      sb-nethserver-updates                                   103 k
 tzdata                                                      noarch                                   2018f-2.el7                                      sb-updates                                              484 k

Transaction Summary
=====================================================================================================================================================================================================================
Upgrade  11 Packages

Total download size: 1.8 M
Is this ok [y/d/N]: y
Downloading packages:
Not downloading deltainfo for sb-updates, MD is 679 k and rpms are 484 k
(1/2): sb-epel/x86_64/prestodelta                                                                                                                                                             |  16 kB  00:00:00     
(2/2): sb-nethserver-updates/x86_64/prestodelta                                                                                                                                               |  23 kB  00:00:00     
Delta RPMs reduced 69 k of updates to 30 k (56% saved)
collectd-5.8.1-1.el7.x86_64.rp FAILED                                          
https://m1.nethserver.com/stable/7.5.1804/epel/x86_64/Packages/c/collectd-5.8.1-1.el7.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                           ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
To address this issue please refer to the below wiki article 

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(1/11): nethserver-diagtools-1.0.2-1.ns7_1.0.3-1.ns7.noarch.drpm                                                                                                                              | 8.7 kB  00:00:00     
(2/11): nethserver-dnsmasq-1.6.6-1.ns7_1.6.7-1.ns7.noarch.drpm                                                                                                                                |  21 kB  00:00:00     
collectd-ping-5.8.1-1.el7.x86_ FAILED                                          
https://m1.nethserver.com/stable/7.5.1804/epel/x86_64/Packages/c/collectd-ping-5.8.1-1.el7.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                      ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
collectd-rrdtool-5.8.1-1.el7.x FAILED                                          
https://m1.nethserver.com/stable/7.5.1804/epel/x86_64/Packages/c/collectd-rrdtool-5.8.1-1.el7.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                   ]  0.0 B/s |    0 B  --:--:-- ETA 
Trying other mirror.
(3/11): nethserver-lang-en-1.2.16-1.ns7.noarch.rpm                                                                                                                                            |  23 kB  00:00:00     
(4/11): nethserver-base-3.5.1-1.ns7.noarch.rpm                                                                                                                                                | 245 kB  00:00:00     
(5/11): nethserver-lib-2.2.9-1.ns7.noarch.rpm                                                                                                                                                 |  98 kB  00:00:00     
(6/11): nethserver-sssd-1.4.3-1.ns7.noarch.rpm                                                                                                                                                | 103 kB  00:00:00     
(7/11): nethserver-mail-smarthost-2.3.2-1.ns7.noarch.rpm                                                                                                                                      |  44 kB  00:00:00     
(8/11): tzdata-2018f-2.el7.noarch.rpm                                                                                                                                                         | 484 kB  00:00:00     


Error downloading packages:
  collectd-ping-5.8.1-1.el7.x86_64: [Errno 256] No more mirrors to try.
  collectd-5.8.1-1.el7.x86_64: [Errno 256] No more mirrors to try.
  collectd-rrdtool-5.8.1-1.el7.x86_64: [Errno 256] No more mirrors to try.

(Davide Principi) #16

There is an issue with our upstream EPEL mirror at Rackspace.

$ rsync rsync://mirror.rackspace.com/epel/7/x86_64/Packages/c/collectd-rrdtool-5.8.1-1.el7.x86_64.rpm
rsync: link_stat "/7/x86_64/Packages/c/collectd-rrdtool-5.8.1-1.el7.x86_64.rpm" (in epel) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [Receiver=3.1.2]

I substituted it with inode.at by UPC Austria and pulled new pacakges.

$ rsync://mirror.inode.at/epel/7/x86_64/Packages/c/collectd-rrdtool-5.8.1-1.el7.x86_64.rpm

Please try to install updates again:

 yum clean all && yum update

(Eddie Atherton) #17

Looks good from my side now.

Cheers.