Join the community today
Become a Member

Error repo data Nginx upgrade Menu 4 check for yum installs

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Jul 2, 2017.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:30 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.13.2
    • PHP Version Installed: 7.0.15
    • MariaDB MySQL Version Installed: 10.1.21
    • When was last time updated Centmin Mod code base ? : just now

    Hello :)

    Don't know why but i was answer "y" when Nginx upgrade asks for checking yum install checks and i was found that error at the middle of the process so i am reporting it here in case that it will need a fix :)



    Code:
    Installing libtidy
    ----------------------------------------------------------------------------------
    http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
    Trying other mirror.
    http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/0dfed68db59f5bcd293c257e46c29c1197c6586ff868739f447f02477084d205-updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below knowledge base article
    
    https://access.redhat.com/articles/1320623
    
    If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:30 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    And this one also:

    Code:
    percona-release-0.1-3.noarch.rpm [found]
    Preparing...                          ########################################
        package percona-release-0.1-3.noarch is already installed
    Error: problem with percona-release-0.1-3.noarch.rpm install.
    varnish-4.1.el7.rpm [found]
        package varnish-release-4.1-2.el7.noarch is already installed
    Error: problem with varnish-4.1.el7.rpm install.
    remi-release-7.rpm [found]
    gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>) ->f4a80eb5-53a7ff4b
    gpg(Fedora EPEL (7) <epel@fedoraproject.org>) ->352c64e5-52ae6884
    gpg(Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>) ->6b8d79e6-3f49313d
    gpg(Percona MySQL Development Team <mysql-dev@percona.com>) ->cd2efd2a-4b26dda1
    gpg(Remi Collet <RPMS@FamilleCollet.com>) ->00f97f56-467e318a
    gpg(MariaDB Package Signing Key <package-signing-key@mariadb.org>) ->1bb943db-511147a9
    gpg(city-fan.org software librarian <software@city-fan.org>) ->b56a8bac-3bbc4d06
    gpg(NodeSource <gpg-rpm@nodesource.com>) ->34fa74dd-540237d4
    gpg(Remi's RPM repository <remi@remirepo.net>) ->0364b949-58bd2928
    Preparing...                          ########################################
        package remi-release-7.3-2.el7.remi.noarch (which is newer than remi-release-7.1-3.el7.remi.noarch) is already installed
    Error: problem with remi-release-7.rpm install.
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:30 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    means mirror/yum down or connectivity issues

    try
    Code (Text):
    yum clean all

    then try again
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:30 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    All my servers seems to have that issue and i don't think that is a connectivity issue....

    I just run yum clean all and try again and i have on top this one:

    Code:
    Loaded plugins: fastestmirror, priorities
    http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
    Trying other mirror.
    http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/0dfed68db59f5bcd293c257e46c29c1197c6586ff868739f447f02477084d205-updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below knowledge base article
    
    https://access.redhat.com/articles/1320623
    
    If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
    
    Determining fastest mirrors

    Then this one:

    Code:
    * CentOS 7.x detected installing EPEL Repo
    *************************************************
    warning: file /etc/yum.repos.d/rpmforge.repo: remove failed: No such file or directory
    warning: /etc/yum.repos.d/mirrors-rpmforge-testing saved as /etc/yum.repos.d/mirrors-rpmforge-testing.rpmsave
    warning: /etc/yum.repos.d/mirrors-rpmforge-extras saved as /etc/yum.repos.d/mirrors-rpmforge-extras.rpmsave
    warning: /etc/yum.repos.d/mirrors-rpmforge saved as /etc/yum.repos.d/mirrors-rpmforge.rpmsave
    rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [found]
    curl: (6) Could not resolve host: apt.sw.be
    error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: import read failed(2).
    Preparing...                          ########################################

    And at the end this one:

    Code:
    percona-release-0.1-3.noarch.rpm [found]
    Preparing...                          ########################################
        package percona-release-0.1-3.noarch is already installed
    Error: problem with percona-release-0.1-3.noarch.rpm install.
    varnish-4.1.el7.rpm [found]
        package varnish-release-4.1-2.el7.noarch is already installed
    Error: problem with varnish-4.1.el7.rpm install.
    remi-release-7.rpm [found]
    gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>) ->f4a80eb5-53a7ff4b
    gpg(Fedora EPEL (7) <epel@fedoraproject.org>) ->352c64e5-52ae6884
    gpg(Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>) ->6b8d79e6-3f49313d
    gpg(Percona MySQL Development Team <mysql-dev@percona.com>) ->cd2efd2a-4b26dda1
    gpg(Remi Collet <RPMS@FamilleCollet.com>) ->00f97f56-467e318a
    gpg(MariaDB Package Signing Key <package-signing-key@mariadb.org>) ->1bb943db-511147a9
    gpg(city-fan.org software librarian <software@city-fan.org>) ->b56a8bac-3bbc4d06
    gpg(NodeSource <gpg-rpm@nodesource.com>) ->34fa74dd-540237d4
    gpg(Remi's RPM repository <remi@remirepo.net>) ->0364b949-58bd2928
    Preparing...                          ########################################
        package remi-release-7.3-2.el7.remi.noarch (which is newer than remi-release-7.1-3.el7.remi.noarch) is already installed
    Error: problem with remi-release-7.rpm install.

    On bottom also this one:

    Code:
    cp: cannot stat ‘/var/cache/yum/timedhosts.txt’: No such file or directory
    -rw-r--r-- 1 root root 38K Jul  1 23:24 /root/centminlogs/centminmod_yumtimes_010717-232305.log
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:30 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what output do you get for
    Code (Text):
    curl -Iv http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/repomd.xml
    

    i.e.
    Code (Text):
    curl -Iv http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/repomd.xml
    * About to connect() to epel.mirrors.ovh.net port 80 (#0)
    *   Trying 178.32.100.7...
    * Connected to epel.mirrors.ovh.net (178.32.100.7) port 80 (#0)
    > HEAD /epel/7/x86_64/repodata/repomd.xml HTTP/1.1
    > User-Agent: curl/7.29.0
    > Host: epel.mirrors.ovh.net
    > Accept: */*
    >
    < HTTP/1.1 200 OK
    HTTP/1.1 200 OK
    < Date: Sat, 01 Jul 2017 23:47:14 GMT
    Date: Sat, 01 Jul 2017 23:47:14 GMT
    < Server: Apache
    Server: Apache
    < Last-Modified: Mon, 26 Jun 2017 20:20:54 GMT
    Last-Modified: Mon, 26 Jun 2017 20:20:54 GMT
    < ETag: "5d6d21a-111c-552e2b017f580"
    ETag: "5d6d21a-111c-552e2b017f580"
    < Accept-Ranges: bytes
    Accept-Ranges: bytes
    < Content-Length: 4380
    Content-Length: 4380
    < Content-Type: application/xml
    Content-Type: application/xml
    
    <
    * Connection #0 to host epel.mirrors.ovh.net left intact
    

    Or
    Code (Text):
    curl -Iv http://epel.mirrors.ovh.net/epel/7/x86_64/repodata/repomd.xml
    *   Trying 2001:41d0:2:9aba::1...
    * TCP_NODELAY set
    * Connected to epel.mirrors.ovh.net (2001:41d0:2:9aba::1) port 80 (#0)
    > HEAD /epel/7/x86_64/repodata/repomd.xml HTTP/1.1
    > Host: epel.mirrors.ovh.net
    > User-Agent: curl/7.54.1
    > Accept: */*
    > 
    < HTTP/1.1 200 OK
    HTTP/1.1 200 OK
    < Date: Sat, 01 Jul 2017 23:48:50 GMT
    Date: Sat, 01 Jul 2017 23:48:50 GMT
    < Server: Apache
    Server: Apache
    < Last-Modified: Mon, 26 Jun 2017 20:20:54 GMT
    Last-Modified: Mon, 26 Jun 2017 20:20:54 GMT
    < ETag: "5d6d21a-111c-552e2b017f580"
    ETag: "5d6d21a-111c-552e2b017f580"
    < Accept-Ranges: bytes
    Accept-Ranges: bytes
    < Content-Length: 4380
    Content-Length: 4380
    < Content-Type: application/xml
    Content-Type: application/xml
    
    < 
    * Connection #0 to host epel.mirrors.ovh.net left intact
    
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:30 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Code:
    *   Trying 2001:41d0:2:9aba::1...
    * TCP_NODELAY set
    *   Trying 178.32.100.7...
    * TCP_NODELAY set
    * Connected to epel.mirrors.ovh.net (178.32.100.7) port 80 (#0)
    > HEAD /epel/7/x86_64/repodata/repomd.xml HTTP/1.1
    > Host: epel.mirrors.ovh.net
    > User-Agent: curl/7.54.1
    > Accept: */*
    >
    < HTTP/1.1 200 OK
    HTTP/1.1 200 OK
    < Date: Sat, 01 Jul 2017 23:49:20 GMT
    Date: Sat, 01 Jul 2017 23:49:20 GMT
    < Server: Apache
    Server: Apache
    < Last-Modified: Mon, 26 Jun 2017 20:20:54 GMT
    Last-Modified: Mon, 26 Jun 2017 20:20:54 GMT
    < ETag: "5d6d21a-111c-552e2b017f580"
    ETag: "5d6d21a-111c-552e2b017f580"
    < Accept-Ranges: bytes
    Accept-Ranges: bytes
    < Content-Length: 4380
    Content-Length: 4380
    < Content-Type: application/xml
    Content-Type: application/xml
    
    <
    * Connection #0 to host epel.mirrors.ovh.net left intact
    Looks ok on my server also but i don't know why i am getting the error there :(
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:30 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like IPv6 didn't resolve and went back to IPv4 connection to mirror. Might have similar IPv6 network connectivity issues as outlined at Troubleshoot Slow SSH Logins
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:30 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what happens if you set in /etc/yum.conf under [main]
    Code (Text):
    ip_resolve=4
    
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:30 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Nothing same error :(
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:30 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:30 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Looks like a temp solution.....

     
  12. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:30 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes is temp solution just some of your mirrors are playing up