Welcome to Centmin Mod Community
Register Now

yum update package fails

Discussion in 'Other Centmin Mod Installed software' started by BamaStangGuy, Jun 24, 2018.

  1. BamaStangGuy

    BamaStangGuy Active Member

    526
    160
    43
    May 25, 2014
    Ratings:
    +212
    Local Time:
    3:33 PM
    See screenshot. This is failing for every single CentminMod server that I manage.

    updatefail.PNG
     
  2. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:33 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    I don't think i've see python-backports-ssl_match_hostname rpm package listed in updates before I only see git and perl-Git updates

    Code (Text):
    yum list updates -q | tr -s ' ' | column -t
    Updated          Packages
    git.x86_64       1.8.3.1-14.el7_5  updates
    perl-Git.noarch  1.8.3.1-14.el7_5  updates

    but it is installed
    Code (Text):
    yum list python-backports-ssl_match_hostname -q | tr -s ' ' | column -t
    Installed                                   Packages
    python-backports-ssl_match_hostname.noarch  3.5.0.1-1.el7  @base
    

    as a dependency update on initial centmin mod install according to yum history info
    Code (Text):
    yum history info python-backports-ssl_match_hostname -q
    Transaction ID : 7
    Begin time     : Wed Jun 20 11:11:41 2018
    Begin rpmdb    : 508:fd359cdb17c1f55f3216b115b1b7f9626bcae23e
    End time       :            11:12:08 2018 (27 seconds)
    End rpmdb      : 546:1706d8724999c8c215b37d6a96e6b934c1f81fdc
    User           : root <root>
    Return-Code    : Success
    Command Line   : -y install clang clang-devel jemalloc jemalloc-devel python2-pip libmcrypt libmcrypt-devel libraqm figlet moreutils nghttp2 libnghttp2 libnghttp2-devel pngquant optipng jpegoptim pwgen pigz pbzip2 xz pxz lz4 glances bash-completion bash-completion-extras mlocate re2c kernel-headers kernel-devel --enablerepo=epel
    Transaction performed with:
        Installed     rpm-4.11.3-32.el7.x86_64                      @base
        Installed     yum-3.4.3-158.el7.centos.noarch               @base
        Installed     yum-metadata-parser-1.1.4-10.el7.x86_64       installed
        Installed     yum-plugin-fastestmirror-1.1.31-45.el7.noarch @base
    Packages Altered:
        Install     bash-completion-1:2.1-6.el7.noarch                       @base
        Install     bash-completion-extras-1:2.1-11.el7.noarch               @epel
        Dep-Install c-ares-1.10.0-3.el7.x86_64                               @base
        Install     clang-3.4.2-8.el7.x86_64                                 @epel
        Install     clang-devel-3.4.2-8.el7.x86_64                           @epel
        Install     figlet-2.2.5-9.el7.x86_64                                @epel
        Install     glances-2.5.1-1.el7.noarch                               @epel
        Install     jemalloc-3.6.0-1.el7.x86_64                              @epel
        Install     jemalloc-devel-3.6.0-1.el7.x86_64                        @epel
        Install     jpegoptim-1.4.6-1.el7.x86_64                             @epel
        Install     kernel-devel-3.10.0-862.3.3.el7.x86_64                   @updates
        Dep-Install libev-4.15-7.el7.x86_64                                  @extras
        Dep-Install libimagequant-2.7.2-1.el7.x86_64                         @epel
        Install     libmcrypt-2.5.8-13.el7.x86_64                            @epel
        Install     libmcrypt-devel-2.5.8-13.el7.x86_64                      @epel
        Install     libnghttp2-1.31.1-1.el7.x86_64                           @epel
        Install     libnghttp2-devel-1.31.1-1.el7.x86_64                     @epel
        Install     libraqm-0.1.1-1.el7.x86_64                               @epel
        Dep-Install llvm-3.4.2-8.el7.x86_64                                  @epel
        Dep-Install llvm-libs-3.4.2-8.el7.x86_64                             @epel
        Install     moreutils-0.49-2.el7.x86_64                              @epel
        Install     nghttp2-1.31.1-1.el7.x86_64                              @epel
        Install     optipng-0.7.4-4.el7.x86_64                               @base
        Install     pbzip2-1.1.12-1.el7.x86_64                               @epel
        Dep-Install perl-IO-Tty-1.10-11.el7.x86_64                           @base
        Dep-Install perl-IPC-Run-0.92-2.el7.noarch                           @base
        Dep-Install perl-Time-Duration-1.06-17.el7.noarch                    @epel
        Install     pigz-2.3.4-1.el7.x86_64                                  @epel
        Install     pngquant-2.7.2-1.el7.x86_64                              @epel
        Install     pwgen-2.07-1.el7.x86_64                                  @epel
        Install     pxz-4.999.9-10.beta.20120930git.el7.x86_64               @epel
        Dep-Install python-backports-1.0-8.el7.x86_64                        @base
        Dep-Install python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch @base
        Dep-Install python-ipaddress-1.0.16-2.el7.noarch                     @base
        Dep-Install python-setuptools-0.9.8-7.el7.noarch                     @base
        Install     python2-pip-8.1.2-6.el7.noarch                           @epel
        Dep-Install python2-psutil-2.2.1-3.el7.x86_64                        @epel
        Install     re2c-0.14.3-2.el7.x86_64                                 @epel
    


    so maybe you have a corrupt yum repo memory for that package ? are all servers connecting to the same yum repo mirror when you run
    Code (Text):
    yum list python-backports-ssl_match_hostname
    

    maybe try a different mirror

    example base yum repo updates coming from centos.sonn.com mirror for this particular vps in Los Angeles I have
    Code (Text):
    yum list python-backports-ssl_match_hostname
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: centos.sonn.com
     * epel: mirror.hmc.edu
     * extras: centos.sonn.com
     * rpmforge: mirror.hmc.edu
     * updates: centos.sonn.com
    277 packages excluded due to repository priority protections
    Installed Packages
    python-backports-ssl_match_hostname.noarch                                                                                               3.5.0.1-1.el7                                                                                               @base
    
     
  3. BamaStangGuy

    BamaStangGuy Active Member

    526
    160
    43
    May 25, 2014
    Ratings:
    +212
    Local Time:
    3:33 PM
    Code:
    [23:41][[email protected] ~]# yum list python-backports-ssl_match_hostname
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: centos.bhs.mirrors.ovh.net
     * epel: epel.mirror.constant.com
     * extras: centos.bhs.mirrors.ovh.net
     * rpmforge: mirror.us.leaseweb.net
     * updates: centos.bhs.mirrors.ovh.net
    277 packages excluded due to repository priority protections
    Installed Packages
    python-backports-ssl_match_hostname.noarch                                                                     3.4.0.2-4.el7                                                                     @base
    Available Packages
    python-backports-ssl_match_hostname.noarch 
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:33 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    tried a yum clean all and yum update again ?
    Code (Text):
    yum clean all
    yum update
    
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    526
    160
    43
    May 25, 2014
    Ratings:
    +212
    Local Time:
    3:33 PM
    No go, same results.
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:33 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    google-fu'd
    Code (Text):
    rm -rf /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.*
    yum reinstall python-backports-ssl_match_hostname
    yum update
    

    or
    try the latter first
     
  7. BamaStangGuy

    BamaStangGuy Active Member

    526
    160
    43
    May 25, 2014
    Ratings:
    +212
    Local Time:
    3:33 PM
    The last one seemed to work after issuing a yum clean all after the delete.
     
    • Informative Informative x 1
  8. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:33 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Good to know :)
     
..