Want more timely Centmin Mod News Updates?
Become a Member

CentOS 7.x CentOS 7.7 / Redhat 7.7 discussions

Discussion in 'CentOS, Redhat & Oracle Linux News' started by eva2000, Aug 7, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what if you removed --exclude lines for python36 and just did
    Code (Text):
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi,city-fan.org --exclude=python34-*,python35-*
    

    centos 7.7 python3 and python3-libs have built in obsoleting epel version of python36 and python36-libs to it replaces it where possible

     
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Code:
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi,city-fan.org --exclude=python34-*,python35-*
    Same errors:
    gist:f0345219d3089faf545686a44432903a

    On the server that i didn't use the custom upgrade addon it is ok .....
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what about normal
    Code (Text):
    yum -y update
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Same errors :(
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    have made a Centmin Mod 123.09beta01 temp patch for you to try - on centmin.sh menu option 24 exit, it prompts for additional command to run if python36u packages are detected, the additional command asks you to run updated addons script which properly removes/replaces python36u packages with native python3 (python 3.6) packages which are now available in centos 7.7 (seems to be available in centos 7.6 too for python3 packages as well)

    to patch run command and follow instructions outputted
    Code (Text):
    curl -sL https://gist.github.com/centminmod/dcfa3a29ce4317765b3b592904f3e47c/raw/python3-fix.sh | bash

    do this on a test or least important server first just to be sure.

    example of output and instructions
    Code (Text):
    curl -sL https://gist.github.com/centminmod/dcfa3a29ce4317765b3b592904f3e47c/raw/python3-fix.sh | bash
    Saved working directory and index state WIP on 123.09beta01: 80309c0 update tools/cminfo.sh for cminfo cmd in 123.09beta01
    HEAD is now at 80309c0 update tools/cminfo.sh for cminfo cmd in 123.09beta01
    Already up-to-date.
    patching file addons/python36_install.sh
    patching file centmin.sh
    patching file inc/cpcheck.inc
    patching file inc/libzip.inc
    
    centmin mod 123.09beta01 patched now
    run centmin.sh menu and then exit via option 24
    patched version will give extra command steps
    if conflicting python36u packages detected
    it should prompt you to run the following script
    if python36u packages detected as installed
    /usr/local/src/centminmod/addons/python36_install.sh
    
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    At the end i got this:

    Code:
    Dependencies Resolved
    
    ================================================================================
     Package                    Arch       Version                   Repository
                                                                               Size
    ================================================================================
    Installing:
     python3-devel              x86_64     3.6.8-10.el7              base     215 k
     python3-idle               x86_64     3.6.8-10.el7              base     778 k
     python3-tkinter            x86_64     3.6.8-10.el7              base     364 k
    Installing for dependencies:
     dwz                        x86_64     0.11-3.el7                base      99 k
     perl-srpm-macros           noarch     1-8.el7                   base     4.6 k
     python-rpm-macros          noarch     3-32.el7                  base     8.8 k
     python-srpm-macros         noarch     3-32.el7                  base     8.4 k
     python3-rpm-generators     noarch     6-2.el7                   base      20 k
     python3-rpm-macros         noarch     3-32.el7                  base     7.7 k
     redhat-rpm-config          noarch     9.1.0-88.el7.centos       base      81 k
     zip                        x86_64     3.0-11.el7                base     260 k
    
    Transaction Summary
    ================================================================================
    Install  3 Packages (+8 Dependent packages)
    
    Total size: 1.8 M
    Total download size: 1.8 M
    Installed size: 7.7 M
    Downloading packages:
    --------------------------------------------------------------------------------
    Total                                              4.6 MB/s | 1.8 MB  00:00
    Running transaction check
    Running transaction test
    
    
    Transaction check error:
      file /etc/rpm/macros.python from install of python-rpm-macros-3-32.el7.noarch conflicts with file from package python-devel-2.7.5-80.el7_6.x86_64
    
    Error Summary
    -------------
    
    /usr/bin/pydoc3
    /usr/bin/pydoc3.6
    /usr/bin/python3
    /usr/bin/python3.6
    /usr/bin/python3.6m
    /usr/bin/pyvenv
    /usr/bin/pyvenv-3.6
    /usr/bin/pip-3
    /usr/bin/pip-3.6
    /usr/bin/pip3
    /usr/bin/pip3.6
    /usr/lib/python3.6/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-36.opt-1.pyc
    /usr/lib/python3.6/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-36.pyc
    /usr/lib/python3.6/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py
    /usr/bin/easy_install-3.6
    You have new mail in /var/spool/mail/root
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    so you got the prompt to run /usr/local/src/centminmod/addons/python36_install.sh when you ran patched centmmin.sh menu option 24 to exit ?
    end of running /usr/local/src/centminmod/addons/python36_install.sh ?

    that output is almost right, python3 native package replaces python36u from ius community yum and python36 from epel yum on updated addons/python36_install.sh runs for centos 7 now in patched version

    just need to solve for
    Code (Text):
    python-rpm-macros-3-32.el7.noarch conflicts with file from package python-devel-2.7.5-80.el7_6.x86_64
    

    though on my systems both packages are installed side by side without conflict ?
    Code (Text):
    yum list python-rpm-macros python-devel -q | tr -s ' ' | column -t 
    Installed                 Packages
    python-devel.x86_64       2.7.5-86.el7  @base
    python-rpm-macros.noarch  3-32.el7      @base
    
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Yes and i run it.

    Code:
    end of running /usr/local/src/centminmod/addons/python36_install.sh ?
    Yes that was the last command that i run and got that error...
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    should be fine, what do you get with yum update command below now

    Code (Text):
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi,city-fan.org
    
     
  10. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    The installation now was done and it didn't stop but i got this when updating:

    Code:
      Updating   : python-urllib3-1.10.2-7.el7.noarch                                                                                                                              82/475
    Error unpacking rpm package python-urllib3-1.10.2-7.el7.noarch
    error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: rename
      Updating   : python-jinja2-2.7.2-4.el7.noarch                                                                                                                                83/475
    error: python-urllib3-1.10.2-7.el7.noarch: install failed
      Updating   : python-linux-procfs-0.4.11-4.el7.noarch  
    I got also at the end of the installation this:

    Code:
    Replaced:
      ghostscript-devel.x86_64 0:9.07-31.el7_6.11                                                      urw-fonts.noarch 0:2.4-16.el7
    
    Failed:
      python-urllib3.noarch 0:1.10.2-5.el7                                                      python-urllib3.noarch 0:1.10.2-7.el7
    
    Complete!
    You have new mail in /var/spool/mail/root
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what's output for below command
    Code (Text):
    PYTHONWARNINGS=ignore:::pip._internal.cli.base_command pip list -o --format columns

    and
    Code (Text):
    PYTHONWARNINGS=ignore:::pip._internal.cli.base_command pip list --format columns
     
    Last edited: Sep 20, 2019
  12. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Code:
    Package                      Version Latest   Type
    ---------------------------- ------- -------- -----
    alembic                      1.0.8   1.1.0    sdist
    aniso8601                    6.0.0   8.0.0    wheel
    APScheduler                  3.5.0   3.6.1    wheel
    awscli                       1.16.88 1.16.241 wheel
    Babel                        0.9.6   2.7.0    wheel
    backports.ssl-match-hostname 3.5.0.1 3.7.0.1  sdist
    botocore                     1.12.78 1.12.231 wheel
    chardet                      2.2.1   3.0.4    wheel
    colorama                     0.3.9   0.4.1    wheel
    configobj                    4.7.2   5.0.6    sdist
    coverage                     3.7.1   4.5.4    wheel
    decorator                    3.4.0   4.4.0    wheel
    docutils                     0.14    0.15.2   wheel
    dogpile.cache                0.6.5   0.7.1    sdist
    eventlet                     0.23.0  0.25.1   wheel
    Flask                        0.12.4  1.1.1    wheel
    Flask-APScheduler            1.7.1   1.11.0   sdist
    flask-marshmallow            0.8.0   0.10.1   wheel
    Flask-Migrate                2.4.0   2.5.2    wheel
    Flask-RESTful                0.3.6   0.3.7    wheel
    Flask-SocketIO               3.1.0   4.2.1    wheel
    Flask-SQLAlchemy             2.3.2   2.4.0    wheel
    futures                      3.2.0   3.3.0    wheel
    ipaddress                    1.0.16  1.0.22   wheel
    IPy                          0.75    1.0      sdist
    Jinja2                       2.7.2   2.10.1   wheel
    jmespath                     0.9.3   0.9.4    wheel
    jsonpatch                    1.2     1.24     wheel
    jsonpointer                  1.9     2.0      wheel
    kitchen                      1.1.1   1.2.6    sdist
    lxml                         3.2.1   4.4.1    wheel
    Mako                         1.0.7   1.1.0    sdist
    MarkupSafe                   0.11    1.1.1    wheel
    marshmallow-sqlalchemy       0.13.2  0.19.0   wheel
    nose                         1.3.4   1.3.7    wheel
    Pillow                       2.0.0   6.1.0    wheel
    pyasn1                       0.4.5   0.4.7    wheel
    pycurl                       7.19.0  7.43.0.3 sdist
    pygobject                    3.22.0  3.34.0   sdist
    pyOpenSSL                    0.13.1  19.0.0   wheel
    pyparsing                    1.5.6   2.4.2    wheel
    pyserial                     2.6     3.4      wheel
    pytest                       3.0.2   4.6.5    wheel
    pytest-cov                   2.3.1   2.7.1    wheel
    pytest-ordering              0.5     0.6      wheel
    python-dateutil              2.7.2   2.8.0    wheel
    python-engineio              3.0.0   3.9.3    wheel
    python-ldap                  2.4.15  3.2.0    sdist
    python-memcached             1.48    1.59     wheel
    python-socketio              2.1.0   4.3.1    wheel
    pytz                         2018.9  2019.2   wheel
    pyudev                       0.15    0.21.0   sdist
    pyxattr                      0.5.1   0.6.1    sdist
    PyYAML                       3.10    5.1.2    sdist
    requests                     2.6.0   2.22.0   wheel
    rsa                          3.4.2   4.0      wheel
    s3transfer                   0.1.13  0.2.1    wheel
    setuptools                   0.9.8   41.2.0   wheel
    simplejson                   3.10.0  3.16.0   sdist
    six                          1.11.0  1.12.0   wheel
    SQLAlchemy                   1.2.0   1.3.8    sdist
    tzlocal                      1.5.1   2.0.0    wheel
    urlgrabber                   3.10    4.0.0    sdist
    urllib3                      1.22    1.25.4   wheel
    Werkzeug                     0.14.1  0.16.0   wheel
    wheel                        0.33.1  0.33.6   wheel

    Code:
    Package                          Version
    -------------------------------- -------
    alembic                          1.0.8
    aniso8601                        6.0.0
    APScheduler                      3.5.0
    awscli                           1.16.88
    Babel                            0.9.6
    backports.ssl-match-hostname     3.5.0.1
    botocore                         1.12.78
    chardet                          2.2.1
    Click                            7.0
    cloud-init                       18.5
    colorama                         0.3.9
    configobj                        4.7.2
    coverage                         3.7.1
    decorator                        3.4.0
    docutils                         0.14
    dogpile.cache                    0.6.5
    enum34                           1.1.6
    eventlet                         0.23.0
    Flask                            0.12.4
    Flask-APScheduler                1.7.1
    flask-marshmallow                0.8.0
    Flask-Migrate                    2.4.0
    Flask-RESTful                    0.3.6
    Flask-Script                     2.0.6
    Flask-SocketIO                   3.1.0
    Flask-SQLAlchemy                 2.3.2
    Flask-Testing                    0.7.1
    funcsigs                         1.0.2
    future                           0.17.1
    futures                          3.2.0
    Glances                          3.1.2
    greenlet                         0.4.15
    iniparse                         0.4
    iotop                            0.6
    ipaddress                        1.0.16
    IPy                              0.75
    itsdangerous                     1.1.0
    javapackages                     1.0.0
    Jinja2                           2.7.2
    jmespath                         0.9.3
    jsonpatch                        1.2
    jsonpointer                      1.9
    kitchen                          1.1.1
    lxml                             3.2.1
    Mako                             1.0.7
    MarkupSafe                       0.11
    marshmallow                      3.0.0b5
    marshmallow-sqlalchemy           0.13.2
    MySQL-python                     1.2.5
    nose                             1.3.4
    perf                             0.1
    Pillow                           2.0.0
    pip                              19.2.3
    policycoreutils-default-encoding 0.1
    prettytable                      0.7.2
    psutil                           5.6.3
    py                               1.8.0
    pyasn1                           0.4.5
    pycurl                           7.19.0
    pygobject                        3.22.0
    pygpgme                          0.3
    pyliblzma                        0.5.3
    pyOpenSSL                        0.13.1
    pyparsing                        1.5.6
    pyserial                         2.6
    pytest                           3.0.2
    pytest-cov                       2.3.1
    pytest-ordering                  0.5
    python-dateutil                  2.7.2
    python-editor                    1.0.4
    python-engineio                  3.0.0
    python-ldap                      2.4.15
    python-linux-procfs              0.4.9
    python-memcached                 1.48
    python-socketio                  2.1.0
    pytz                             2018.9
    pyudev                           0.15
    pyxattr                          0.5.1
    PyYAML                           3.10
    requests                         2.6.0
    rsa                              3.4.2
    s3transfer                       0.1.13
    schedutils                       0.4
    seobject                         0.1
    sepolicy                         1.1
    setuptools                       0.9.8
    simplejson                       3.10.0
    six                              1.11.0
    SQLAlchemy                       1.2.0
    tzlocal                          1.5.1
    urlgrabber                       3.10
    urllib3                          1.22
    Werkzeug                         0.14.1
    wheel                            0.33.1
    yum-metadata-parser              1.1.4
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  14. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Before i restart the server i just run cmupdate and then run centminmod and i got this:

    Code:
    ERROR: botocore 1.12.78 has requirement urllib3<1.25,>=1.20; python_version == "2.7", but you'll have urllib3 1.25.4 which is incompatible.
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    PS: I just reboot the server and re run centminmod and now the above error is gone ! :)
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks for heads up yes centmin.sh run would of probably fixed that so next centmin.sh run would be fine
     
  16. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    I just update centminmod and run it and i got again that message:

    Code:
    /usr/local/src/centminmod ~
    ERROR: botocore 1.12.71 has requirement urllib3<1.25,>=1.20; python_version == "2.7", but you'll have urllib3 1.25.6 which is incompatible.
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com     
    --------------------------------------------------------
    :(
     
  17. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    different server or same server ?
    2nd centmin.sh run should have it fixed ?
     
  18. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    3:03 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Same server..

    Yes second run is ok. No warnings... but i thought that was already fixed from the previous time....

    Anyway all good now..

    Thank you
     
  19. eva2000

    eva2000 Administrator Staff Member

    54,576
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    11:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    oh notice the versions reported slightly different so that is actually normal as centmin.sh has a python pip package update routine when centmin.sh runs, so you had a new python pip version so it updated it but triggered the warning again. Will have to see what it takes to silence it from users :)