Want more timely Centmin Mod News Updates?
Become a Member

Varnish repo failed

Discussion in 'System Administration' started by Sunka, Sep 5, 2017.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    It is temporary :(

    Now i just run:

    yum clean all and the yum update and i got again duplicates:

    the rest related entries are:


     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Looks like there is a duplicate signature and the rest x86_64 and source are normal?

    Maybe that info help?

    Code:
    https://packagecloud.io/app/varnishcache/varnish41/gpg
    Don't know why we have that issue :(
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    5:36 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    not sure why either though should be fine to leave it as is
    Code (Text):
    ls -lahR /var/lib/yum/repos/x86_64/7/varnishcache_varnish41/gpgdir
    /var/lib/yum/repos/x86_64/7/varnishcache_varnish41/gpgdir:
    total 20K
    drwxr-xr-x 2 root root 4.0K Sep  6 00:04 .
    drwxr-xr-x 4 root root 4.0K Sep  5 04:39 ..
    -rw-r--r-- 1 root root    0 Sep  5 04:39 gpg.conf
    -rw------- 1 root root 2.8K Sep  5 04:39 pubring.gpg
    -rw------- 1 root root 2.8K Sep  5 04:39 pubring.gpg~
    -rw------- 1 root root    0 Sep  5 04:39 secring.gpg
    -rw------- 1 root root 1.3K Sep  5 04:39 trustdb.gpg
    

    Code (Text):
    ls -lahR /var/lib/yum/repos/x86_64/7/varnishcache_varnish41/gpgdir-ro/
    /var/lib/yum/repos/x86_64/7/varnishcache_varnish41/gpgdir-ro/:
    total 20K
    drwxr-xr-x 2 root root 4.0K Sep  5 04:39 .
    drwxr-xr-x 4 root root 4.0K Sep  5 04:39 ..
    -rwxr-xr-x 1 root root  138 Sep  5 04:39 gpg.conf
    -rwxr-xr-x 1 root root 2.8K Sep  5 04:39 pubring.gpg
    -rwxr-xr-x 1 root root    0 Sep  5 04:39 pubring.gpg~
    -rwxr-xr-x 1 root root    0 Sep  5 04:39 secring.gpg
    -rwxr-xr-x 1 root root 1.3K Sep  5 04:39 trustdb.gpg
    

    but might be by design gpgdir-ro is read only version for non-root users I am guessing from discussion here.
    and yum/ChangeLog at master · rpm-software-management/yum · GitHub
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    If it will not cause any issues on updates then is fine :)
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    After the above updates how can i totally disable that repo as i do not use Varnish?
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    5:36 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    edit .repo file to set enable=0 or use like previously
    Code (Text):
    yum-config-manager --disable varnishcache_varnish41
    
     
  7. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I just got this one:

    Don't know why as i have already apply the update to Centminmod and re run it.... :(

     
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Checking around it seems like an issue with the https certificates that need a renew or the mirrors have some issues....A few suggest to use base url instead for the:

    I found also some info related to update the nss packages...

    Any ideas ?

    Thank you :)
     
    Last edited: Sep 6, 2017
  9. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Centos 7

    My epel.repo

     
  10. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    5:36 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    <repoid> is an invalid repo name, so one of your .repo files has an incorrect reference
    Code (Text):
    grep -r repoid /etc/yum.repos.d/
    
     
  11. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    returns nothing.....

    It sounds like repos have Id's and we can use ID instead of name to disable it.....doesn't seem to be related to a repo name "repoid" or not?
     
  12. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    The issue is 100% with the epel.repo as if i run this:

    I don't get any errors but after that running again yum update without disabling the epel repo the same error is coming up :(
     
  13. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    5:36 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    could be broken epel mirror, from previous post your epel mirror was = mirror.csclub.uwaterloo.ca so you can try excluding that from fast mirror plugin /etc/yum/pluginconf.d/fastestmirror.conf + do yum clean all
    Code (Text):
    yum repolist all
    Loaded plugins: fastestmirror, priorities, versionlock
    base | 3.6 kB 00:00:00
    epel/x86_64/metalink | 13 kB 00:00:00
    epel | 4.3 kB 00:00:00
    extras | 3.4 kB 00:00:00
    mariadb | 2.9 kB 00:00:00
    nodesource | 2.5 kB 00:00:00
    rpmforge | 1.9 kB 00:00:00
    updates | 3.4 kB 00:00:00
    varnishcache_varnish41/x86_64/signature | 836 B 00:00:00
    varnishcache_varnish41/x86_64/signature | 1.0 kB 00:00:00 !!!
    varnishcache_varnish41-source/signature | 836 B 00:00:00
    varnishcache_varnish41-source/signature | 1.0 kB 00:00:00 !!!
    (1/9): base/7/x86_64/group_gz | 155 kB 00:00:00
    (2/9): base/7/x86_64/primary_db | 5.6 MB 00:00:00
    (3/9): epel/x86_64/group_gz | 170 kB 00:00:00
    (4/9): epel/x86_64/updateinfo | 817 kB 00:00:00
    (5/9): mariadb/primary_db | 19 kB 00:00:00
    (6/9): extras/7/x86_64/primary_db | 191 kB 00:00:00
    (7/9): updates/7/x86_64/primary_db | 7.8 MB 00:00:03
    (8/9): epel/x86_64/primary_db | 4.8 MB 00:00:03
    (9/9): nodesource/x86_64/primary_db | 60 kB 00:00:04
    (1/3): varnishcache_varnish41/x86_64/primary | 9.8 kB 00:00:00
    (2/3): varnishcache_varnish41-source/primary | 2.2 kB 00:00:00
    (3/3): rpmforge/primary_db | 125 kB 00:00:00
    Determining fastest mirrors
    * base: centos.bhs.mirrors.ovh.net
    * epel: mirror.csclub.uwaterloo.ca
    
     
  14. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I have that issue on two servers and maybe the previous post was from the first server.....

    I am not able to run yum repolist all as i am getting:

    I also try:

    No updates for both as i update the servers every x days.....

    I also try the base url and change the https to http for mirrors but nothing :(

    Don't know how to remove/exclude a specific mirror or even check what mirror is in use or have the issue :(
     
  15. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    5:36 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    in /etc/yum/pluginconf.d/fastestmirror.conf uncomment exclude= and add mirror urls you want to exclude i.e. mirror.csclub.uwaterloo.ca
    Code (Text):
    [main]
    enabled=1
    verbose=0
    always_print_best_host = true
    socket_timeout=3
    #  Relative paths are relative to the cachedir (and so works for users as well
    # as root).
    hostfilepath=timedhosts.txt
    maxhostfileage=10
    maxthreads=15
    #exclude=.gov, facebook
    #include_only=.nl,.de,.uk,.ie
    
     
  16. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok i did it but didn't work :(

    Any ideas on how can check which mirror is failing every time so i can exclude it?
     
  17. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    9:36 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Code (Text):
    [root@upcloud ~]# yum repolist all
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: ftp.hosteurope.de
     * epel: mirror.23media.de
     * extras: ftp.hosteurope.de
     * updates: ftp.hosteurope.de
    129 packages excluded due to repository priority protections
    repo id                              repo name                                             status
    C7.0.1406-base/x86_64                CentOS-7.0.1406 - Base                                disabled
    C7.0.1406-centosplus/x86_64          CentOS-7.0.1406 - CentOSPlus                          disabled
    C7.0.1406-extras/x86_64              CentOS-7.0.1406 - Extras                              disabled
    C7.0.1406-fasttrack/x86_64           CentOS-7.0.1406 - CentOSPlus                          disabled
    C7.0.1406-updates/x86_64             CentOS-7.0.1406 - Updates                             disabled
    C7.1.1503-base/x86_64                CentOS-7.1.1503 - Base                                disabled
    C7.1.1503-centosplus/x86_64          CentOS-7.1.1503 - CentOSPlus                          disabled
    C7.1.1503-extras/x86_64              CentOS-7.1.1503 - Extras                              disabled
    C7.1.1503-fasttrack/x86_64           CentOS-7.1.1503 - CentOSPlus                          disabled
    C7.1.1503-updates/x86_64             CentOS-7.1.1503 - Updates                             disabled
    C7.2.1511-base/x86_64                CentOS-7.2.1511 - Base                                disabled
    C7.2.1511-centosplus/x86_64          CentOS-7.2.1511 - CentOSPlus                          disabled
    C7.2.1511-extras/x86_64              CentOS-7.2.1511 - Extras                              disabled
    C7.2.1511-fasttrack/x86_64           CentOS-7.2.1511 - CentOSPlus                          disabled
    C7.2.1511-updates/x86_64             CentOS-7.2.1511 - Updates                             disabled
    base/7/x86_64                        CentOS-7 - Base                                       enabled: 7,261+2,102
    base-debuginfo/x86_64                CentOS-7 - Debuginfo                                  disabled
    base-source/7                        CentOS-7 - Base Sources                               disabled
    c7-media                             CentOS-7 - Media                                      disabled
    centos-sclo-rh/x86_64                CentOS-7 - SCLo rh                                    enabled:   5,851+151
    centos-sclo-rh-debuginfo/x86_64      CentOS-7 - SCLo rh Debuginfo                          disabled
    centos-sclo-rh-source                CentOS-7 - SCLo rh Sources                            disabled
    centos-sclo-rh-testing/x86_64        CentOS-7 - SCLo rh Testing                            disabled
    centos-sclo-sclo/x86_64              CentOS-7 - SCLo sclo                                  enabled:         467
    centos-sclo-sclo-debuginfo/x86_64    CentOS-7 - SCLo sclo Debuginfo                        disabled
    centos-sclo-sclo-source              CentOS-7 - SCLo sclo Sources                          disabled
    centos-sclo-sclo-testing/x86_64      CentOS-7 - SCLo sclo Testing                          disabled
    centosplus/7/x86_64                  CentOS-7 - Plus                                       disabled
    centosplus-source/7                  CentOS-7 - Plus Sources                               disabled
    city-fan.org/7                       city-fan.org repository for Red Hat Enterprise Linux  disabled
    city-fan.org-debuginfo/7             city-fan.org debuginfo repository for Red Hat Enterpr disabled
    city-fan.org-source/7                city-fan.org source repository for Red Hat Enterprise disabled
    cr/7/x86_64                          CentOS-7 - cr                                         disabled
    elasticsearch-5.x                    Elasticsearch repository for 5.x packages             enabled:      128+90
    epel/x86_64                          Extra Packages for Enterprise Linux 7 - x86_64        enabled:  10,990+892
    epel-debuginfo/x86_64                Extra Packages for Enterprise Linux 7 - x86_64 - Debu disabled
    epel-source/x86_64                   Extra Packages for Enterprise Linux 7 - x86_64 - Sour disabled
    epel-testing/x86_64                  Extra Packages for Enterprise Linux 7 - Testing - x86 disabled
    epel-testing-debuginfo/x86_64        Extra Packages for Enterprise Linux 7 - Testing - x86 disabled
    epel-testing-source/x86_64           Extra Packages for Enterprise Linux 7 - Testing - x86 disabled
    extras/7/x86_64                      CentOS-7 - Extras                                     enabled:       449+2
    extras-source/7                      CentOS-7 - Extras Sources                             disabled
    fasttrack/7/x86_64                   CentOS-7 - fasttrack                                  disabled
    mariadb                              MariaDB                                               enabled:        14+2
    percona-experimental-noarch/7        Percona-Experimental YUM repository - noarch          disabled
    percona-experimental-source/7        Percona-Experimental YUM repository - Source packages disabled
    percona-experimental-x86_64/7/x86_64 Percona-Experimental YUM repository - x86_64          disabled
    percona-release-noarch/7             Percona-Release YUM repository - noarch               disabled
    percona-release-source/7             Percona-Release YUM repository - Source packages      disabled
    percona-release-x86_64/7/x86_64      Percona-Release YUM repository - x86_64               disabled
    percona-testing-noarch/7             Percona-Testing YUM repository - noarch               disabled
    percona-testing-source/7             Percona-Testing YUM repository - Source packages      disabled
    percona-testing-x86_64/7/x86_64      Percona-Testing YUM repository - x86_64               disabled
    remi                                 Remi's RPM repository for Enterprise Linux 7 - x86_64 disabled
    remi-debuginfo/x86_64                Remi's RPM repository for Enterprise Linux 7 - x86_64 disabled
    remi-php54                           Remi's PHP 5.4 RPM repository for Enterprise Linux 7  disabled
    remi-php55                           Remi's PHP 5.5 RPM repository for Enterprise Linux 7  disabled
    remi-php55-debuginfo/x86_64          Remi's PHP 5.5 RPM repository for Enterprise Linux 7  disabled
    remi-php56                           Remi's PHP 5.6 RPM repository for Enterprise Linux 7  disabled
    remi-php56-debuginfo/x86_64          Remi's PHP 5.6 RPM repository for Enterprise Linux 7  disabled
    remi-php70                           Remi's PHP 7.0 RPM repository for Enterprise Linux 7  disabled
    remi-php70-debuginfo/x86_64          Remi's PHP 7.0 RPM repository for Enterprise Linux 7  disabled
    remi-php70-test                      Remi's PHP 7.0 test RPM repository for Enterprise Lin disabled
    remi-php70-test-debuginfo/x86_64     Remi's PHP 7.0 test RPM repository for Enterprise Lin disabled
    remi-php71                           Remi's PHP 7.1 RPM repository for Enterprise Linux 7  disabled
    remi-php71-debuginfo/x86_64          Remi's PHP 7.1 RPM repository for Enterprise Linux 7  disabled
    remi-php71-test                      Remi's PHP 7.1 test RPM repository for Enterprise Lin disabled
    remi-php71-test-debuginfo/x86_64     Remi's PHP 7.1 test RPM repository for Enterprise Lin disabled
    remi-php72                           Remi's PHP 7.2 RPM repository for Enterprise Linux 7  disabled
    remi-php72-debuginfo/x86_64          Remi's PHP 7.2 RPM repository for Enterprise Linux 7  disabled
    remi-php72-test                      Remi's PHP 7.2 test RPM repository for Enterprise Lin disabled
    remi-php72-test-debuginfo/x86_64     Remi's PHP 7.2 test RPM repository for Enterprise Lin disabled
    remi-safe                            Safe Remi's RPM repository for Enterprise Linux 7 - x disabled
    remi-test                            Remi's test RPM repository for Enterprise Linux 7 - x disabled
    remi-test-debuginfo/x86_64           Remi's test RPM repository for Enterprise Linux 7 - x disabled
    updates/7/x86_64                     CentOS-7 - Updates                                    enabled:   1,769+377
    updates-source/7                     CentOS-7 - Updates Sources                            disabled
    !varnishcache_varnish41/x86_64       varnishcache_varnish41                                enabled:       33+10
    !varnishcache_varnish41-source       varnishcache_varnish41-source                         enabled:           0
    repolist: 26,962
     
  18. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I can see on your output the link but it's not the same for me:

     
  19. eva2000

    eva2000 Administrator Staff Member

    44,424
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,693
    Local Time:
    5:36 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    try running yum repolist all command in verbose mode
     
  20. pamamolf

    pamamolf Premium Member Premium Member

    3,807
    369
    83
    May 31, 2014
    Ratings:
    +711
    Local Time:
    10:36 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Not sure that -v is enabling verbose but i got this: