Discover Centmin Mod today
Register Now

CentOS 7.x CentOS 7.x and DNF package management vs YUM

Discussion in 'CentOS, Redhat & Oracle Linux News' started by eva2000, Mar 28, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    Centmin Mod has future plans to support Fedora OSes as well using DNF package manager instead of YUM. But thanks to @Revenge's reminder that CentOS 7.x can also install and run DNF package manager besides YUM.

    So who else has tried DNF instead or with YUM on CentOS 7 ?
    Official DNF Docs

    install dnf
    Code (Text):
    yum -y install dnf
    

    what dnf installs file/directory wise
    Code (Text):
    rpm -ql dnf
    /etc/bash_completion.d/dnf-completion.bash
    /usr/bin/dnf
    /usr/lib/systemd/system/dnf-makecache.service
    /usr/lib/systemd/system/dnf-makecache.timer
    /usr/lib/tmpfiles.d/dnf.conf
    /usr/share/doc/dnf-0.6.4
    /usr/share/doc/dnf-0.6.4/AUTHORS
    /usr/share/doc/dnf-0.6.4/COPYING
    /usr/share/doc/dnf-0.6.4/PACKAGE-LICENSING
    /usr/share/doc/dnf-0.6.4/README.rst
    /usr/share/locale/bn_IN/LC_MESSAGES/dnf.mo
    /usr/share/locale/ca/LC_MESSAGES/dnf.mo
    /usr/share/locale/cs/LC_MESSAGES/dnf.mo
    /usr/share/locale/da/LC_MESSAGES/dnf.mo
    /usr/share/locale/de/LC_MESSAGES/dnf.mo
    /usr/share/locale/el/LC_MESSAGES/dnf.mo
    /usr/share/locale/en_GB/LC_MESSAGES/dnf.mo
    /usr/share/locale/es/LC_MESSAGES/dnf.mo
    /usr/share/locale/eu/LC_MESSAGES/dnf.mo
    /usr/share/locale/fi/LC_MESSAGES/dnf.mo
    /usr/share/locale/fr/LC_MESSAGES/dnf.mo
    /usr/share/locale/gu/LC_MESSAGES/dnf.mo
    /usr/share/locale/he/LC_MESSAGES/dnf.mo
    /usr/share/locale/hi/LC_MESSAGES/dnf.mo
    /usr/share/locale/hu/LC_MESSAGES/dnf.mo
    /usr/share/locale/id/LC_MESSAGES/dnf.mo
    /usr/share/locale/it/LC_MESSAGES/dnf.mo
    /usr/share/locale/ja/LC_MESSAGES/dnf.mo
    /usr/share/locale/lt/LC_MESSAGES/dnf.mo
    /usr/share/locale/mr/LC_MESSAGES/dnf.mo
    /usr/share/locale/ms/LC_MESSAGES/dnf.mo
    /usr/share/locale/nb/LC_MESSAGES/dnf.mo
    /usr/share/locale/pa/LC_MESSAGES/dnf.mo
    /usr/share/locale/pl/LC_MESSAGES/dnf.mo
    /usr/share/locale/pt/LC_MESSAGES/dnf.mo
    /usr/share/locale/pt_BR/LC_MESSAGES/dnf.mo
    /usr/share/locale/ru/LC_MESSAGES/dnf.mo
    /usr/share/locale/sr/LC_MESSAGES/dnf.mo
    /usr/share/locale/sr@latin/LC_MESSAGES/dnf.mo
    /usr/share/locale/sv/LC_MESSAGES/dnf.mo
    /usr/share/locale/uk/LC_MESSAGES/dnf.mo
    /usr/share/locale/ur/LC_MESSAGES/dnf.mo
    /usr/share/locale/zh_CN/LC_MESSAGES/dnf.mo
    /usr/share/locale/zh_TW/LC_MESSAGES/dnf.mo
    /usr/share/man/man5/dnf.conf.5.gz
    /usr/share/man/man8/dnf.8.gz
    

    yum history list
    Code (Text):
    yum history list
    Loaded plugins: fastestmirror, priorities, versionlock
    ID     | Command line             | Date and time    | Action(s)      | Altered
    -------------------------------------------------------------------------------
        89 | -y install dnf           | 2017-03-27 15:51 | Install        |   10
        88 | update --disableplugin=p | 2017-03-24 16:16 | Update         |   12 EE
        87 | -y update ImageMagick6 I | 2017-03-23 11:37 | I, U           |    7 EE
        86 | localinstall hiredis-0.1 | 2017-03-17 10:00 | Install        |    2
        85 | -y install libpng gflags | 2017-03-17 06:05 | Install        |    2
        84 | -y update ImageMagick6 I | 2017-03-16 20:38 | Update         |    5 EE
        83 | -y install yum-plugin-ve | 2017-03-09 05:41 | Install        |    1
        82 | install kernel-ml kernel | 2017-03-09 05:38 | I, U           |    4
        81 | -y install docker-ce     | 2017-03-08 07:09 | Install        |    3 EE
        80 | -y update ImageMagick6 I | 2017-03-08 02:01 | Update         |    5 EE
        79 | -y install inotify-tools | 2017-03-06 22:47 | Install        |    1
        78 | -y update                | 2017-03-04 05:40 | E, I, U        |    5
        77 | -y update -x kernel*     | 2017-03-04 05:36 | Update         |   25
        76 | -y update                | 2017-02-23 10:21 | I, U           |    5
        75 | -y update                | 2017-02-23 08:14 | Update         |    1
        74 | -y -q install devtoolset | 2017-02-23 06:21 | Install        |    5
        73 | -y update                | 2017-02-22 20:38 | Update         |    3
        72 | update --disableplugin=p | 2017-02-20 16:24 | Update         |    5 EE
        71 | -y install redis --enabl | 2017-02-18 11:39 | Install        |    1
        70 | update --disableplugin=p | 2017-02-16 14:58 | Update         |    6
    history list
    

    DNF equivalent history command
    Code (Text):
    dnf history
    Using metadata from Mon Mar 27 15:55:35 2017
    No transactions
    Error: Failed history list
    

    Guess DNF history list only lists DNF installs packages so can't track already installed YUM packages.

    Yum list updates
    Code (Text):
    yum list updates
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror2.evolution-host.com
     * elrepo: ca.mirror.babylon.network
     * epel: ca.mirror.babylon.network
     * extras: mirror2.evolution-host.com
     * updates: mirror2.evolution-host.com
    289 packages excluded due to repository priority protections
    

    DNF list updates
    Code (Text):
    dnf list updates
    Using metadata from Mon Mar 27 15:55:35 2017
    


    DNF is meant to be fast and use less memory than YUM so lets check it out with below commands.

    Yum list updates
    Code (Text):
    /usr/bin/time --format='real: %es user: %Us sys: %Ss cpu: %P maxmem: %M KB cswaits: %w' yum list updates
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror2.evolution-host.com
     * elrepo: ca.mirror.babylon.network
     * epel: ca.mirror.babylon.network
     * extras: mirror2.evolution-host.com
     * updates: mirror2.evolution-host.com
    289 packages excluded due to repository priority protections
    real: 6.38s user: 3.26s sys: 0.07s cpu: 52% maxmem: 122332 KB cswaits: 238
    

    DNF list updates
    Code (Text):
    /usr/bin/time --format='real: %es user: %Us sys: %Ss cpu: %P maxmem: %M KB cswaits: %w' dnf list updates
    Using metadata from Mon Mar 27 15:55:35 2017
    real: 0.95s user: 0.86s sys: 0.06s cpu: 97% maxmem: 64444 KB cswaits: 27
    


    Nice start for listing updates for DNF at 0.95 seconds and 64,444 KB versus YUM at 6.38s and 122,332 KB!

    Next timed runs for yum provides vs dnf provides looking for bin/pigz binary's package

    Yum
    Code (Text):
    /usr/bin/time --format='real: %es user: %Us sys: %Ss cpu: %P maxmem: %M KB cswaits: %w' yum provides */bin/pigz
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror2.evolution-host.com
     * elrepo: ca.mirror.babylon.network
     * epel: ca.mirror.babylon.network
     * extras: mirror2.evolution-host.com
     * updates: mirror2.evolution-host.com
    289 packages excluded due to repository priority protections
    extras/7/x86_64/filelists_db                                                                                                                                                                                                       | 596 kB  00:00:00
    pigz-2.3.3-1.el7.centos.x86_64 : Parallel implementation of gzip
    Repo        : extras
    Matched from:
    Filename    : /usr/bin/pigz
    
    pigz-2.3.3-1.el7.centos.x86_64 : Parallel implementation of gzip
    Repo        : @extras
    Matched from:
    Filename    : /usr/bin/pigz
    
    real: 7.79s user: 4.45s sys: 0.23s cpu: 60% maxmem: 287220 KB cswaits: 289
    

    DNF
    Code (Text):
    /usr/bin/time --format='real: %es user: %Us sys: %Ss cpu: %P maxmem: %M KB cswaits: %w' dnf provides */bin/pigz
    Using metadata from Mon Mar 27 15:55:35 2017
    pigz-2.3.3-1.el7.centos.x86_64 : Parallel implementation of gzip
    Repo        : @System
    
    pigz-2.3.3-1.el7.x86_64 : Parallel implementation of gzip
    Repo        : epel
    
    pigz-2.3.3-1.el7.centos.x86_64 : Parallel implementation of gzip
    Repo        : extras
    
    real: 0.96s user: 0.87s sys: 0.05s cpu: 97% maxmem: 65052 KB cswaits: 27
    

    Wow YUM provides at 7.79s and 287,220 KB versus DNF provides at 0.96s and 65,052 KB !

    Amazing, DNF would speed up CentOS 7 based Centmin Mod installs greatly I would imagine. Seems from most YUM vs DNF commands, DNF is 6x times faster and using 1/2 the memory compared to YUM !

    Would need to figure out DNF's equivalent for YUM priorities plugin as it's used to ensure all Centmin Mod installed 3rd party YUM repos don't conflict etc. From cheat sheet - yum priorities plugin is natively supported in DNF Yum to DNF Cheatsheet - FedoraProject !
    Code:
    yum-plugin-priorities    dnf    part of standard dnf; see priority option in man dnf.conf
     
    Last edited: Mar 28, 2017
  2. Revenge

    Revenge Active Member

    288
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    6:14 PM
    1.9.x
    10.1.x
    @eva2000 and we only have access to a old version(0.64) from July 2015.

    The last version for Fedora is 2.1.1.

    When i tried it, i remember reading that version 1.0.0 did have many improvements against 0.64. So 2.1.x should probably be even better.
     
    • Informative Informative x 1
  3. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    7:14 PM
    my 2¢.

    Why invest so much time in DNF, if it is compatible with YUM.
    Actually DNF is forked from YUM.

    Given the fact that you haven't had the time right now, other priorities.

    Maintaining two stacks for both YUM and DNF systems is unnecessary and a waste of time, especially if DNF is compatible with YUM commands and you have limited time.

    The speed at which you achieve by installing Centminmod on a libsolv (DNF) based system can not benefit costs against all the work to program and maintain it.
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    Ah didn't realise that for dnf !
    Code (Text):
    dnf list dnf | tr -s ' '
    Using metadata from Mon Mar 27 15:55:35 2017
    Installed Packages
    dnf.noarch 0.6.4-2.el7 @System


    Started a separate 123.09beta01-dnf test branch to see :D

    upload_2017-3-28_3-23-27.png
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    i'd hoping it's as simple as
    Code (Text):
    if [[ "$CENTOS_SEVEN" = '7' && "$DNF_ENABLE" = [yY] ]]; then
      yum -y install epel-release
      yum -y install dnf
      YUMDNFBIN='dnf'
    else
      YUMDNFBIN='yum'
    fi

    then replace all referenced yum commands with $YUMDNFBIN so that when you set DNF_ENABLE='y', it uses dnf on CentOS 7 only otherwise falls back to yum command.
     
    Last edited: Mar 28, 2017
    • Informative Informative x 1
  6. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    7:14 PM
    @eva2000 as Yum, DNF et al. is the stable lifeblood of an operating system.
    Why are you considering an unnecessary, unofficial, unstable and not well-tested DNF compound for CentOS 7?
    (well tested, stable and default only for Fedora since version 22)

    I know that it is optional but it is more a question.
    And the ideas behind it.
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah it will be optional for now if i do implement it - just how well it works if not with DNF that's all. It is for speed and memory usage reasons though and it's a total separate 123.09beta01-dnf branch testing so won't affect anyone using 123.09beta01 branch :)

    And if CentOS in future does use DNF, at least I'd have a head start for testing
     
    Last edited: Mar 28, 2017
  8. Revenge

    Revenge Active Member

    288
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    6:14 PM
    1.9.x
    10.1.x
    99,9% sure RHEL 8 will come with DNF, and so it will Centos 8.

    YUM is basically dead. Ok, its super stable, but dead. All the new features and development are in DNF.

    This is the YUM version we are using in Centos 7:

    Since 2011, almost 6 years ago, there as been a pre release for 3.4.4 that never saw the light of the day. And it will never see.
     
    • Informative Informative x 1
  9. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah RHEL/CentOS have alot of legacy stuff in the name of 'stable'. Testing DNF on CentOS 7 has been quite revealing how much faster it is. Though DNF is very very slow compared to YUM when it comes to processing broken mirror links etc - YUM seems to handle that better. Or maybe it's old DNF 0.6.4 specific ?
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    seems DNF folks have a testing CentOS /RHEL 7 dnf 2.0 repo too Fresh DNF for RHEL 7 and CentOS 7 | DNF

    might be on dnf 2.0.0 right now Index of /results/@rpm-software-management/dnf-centos/epel-7-x86_64/00506228-dnf/ will check it out too

    FYI, so far with 123.09beta01-dnf branch testing of DNF for some select YUM routines, I've shaved off between 120-220 seconds of initial install time with DNF 0.6.4 via EPEL repo. Will check out DNF 2.0.0+ as well

    Code (Text):
    cat /etc/yum.repos.d/dnf-centos.repo
    [dnf-centos]
    name=Copr repo for dnf-centos owned by @rpm-software-management
    baseurl=https://copr-be.cloud.fedoraproject.org/results/@rpm-software-management/dnf-centos/epel-7-$basearch/
    skip_if_unavailable=True
    gpgcheck=1
    gpgkey=https://copr-be.cloud.fedoraproject.org/results/@rpm-software-management/dnf-centos/pubkey.gpg
    enabled=1
    enabled_metadata=1

    Code (Text):
    yum list dnf --disableplugin=priorities -q | tr -s ' '
    Installed Packages
    dnf.noarch 0.6.4-2.el7 @epel
    Available Packages
    dnf.noarch 2.0.0-1.el7.centos dnf-centos
    

    Code (Text):
    yum install dnf --disableplugin=priorities
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.uberglobalmirror.com
     * epel: fedora.uberglobalmirror.com
     * extras: centos.uberglobalmirror.com
     * rpmforge: mirror.as24220.net
     * updates: centos.uberglobalmirror.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package dnf.noarch 0:2.0.0-1.el7.centos will be installed
    --> Processing Dependency: python-dnf = 2.0.0-1.el7.centos for package: dnf-2.0.0-1.el7.centos.noarch
    --> Running transaction check
    ---> Package python-dnf.noarch 0:2.0.0-1.el7.centos will be installed
    --> Processing Dependency: dnf-conf = 2.0.0-1.el7.centos for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Processing Dependency: python-hawkey >= 0.7.0-0.4 for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Processing Dependency: python-libcomps >= 0.1.8 for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Processing Dependency: python-librepo >= 1.7.19 for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Processing Dependency: rpm-python >= 4.13.0-0.rc1.29 for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Processing Dependency: deltarpm for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Processing Dependency: rpm-plugin-systemd-inhibit for package: python-dnf-2.0.0-1.el7.centos.noarch
    --> Running transaction check
    ---> Package deltarpm.x86_64 0:3.6-3.el7 will be installed
    ---> Package dnf-conf.noarch 0:2.0.0-1.el7.centos will be installed
    --> Processing Dependency: libreport-filesystem for package: dnf-conf-2.0.0-1.el7.centos.noarch
    ---> Package python-hawkey.x86_64 0:0.7.1-1.el7.centos will be installed
    --> Processing Dependency: libdnf(x86-64) = 0.7.1-1.el7.centos for package: python-hawkey-0.7.1-1.el7.centos.x86_64
    --> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python-hawkey-0.7.1-1.el7.centos.x86_64
    --> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python-hawkey-0.7.1-1.el7.centos.x86_64
    --> Processing Dependency: libdnf.so.1()(64bit) for package: python-hawkey-0.7.1-1.el7.centos.x86_64
    --> Processing Dependency: libsolv.so.0()(64bit) for package: python-hawkey-0.7.1-1.el7.centos.x86_64
    --> Processing Dependency: libsolvext.so.0()(64bit) for package: python-hawkey-0.7.1-1.el7.centos.x86_64
    ---> Package python-libcomps.x86_64 0:0.1.8-1.el7.centos will be installed
    --> Processing Dependency: libcomps(x86-64) = 0.1.8-1.el7.centos for package: python-libcomps-0.1.8-1.el7.centos.x86_64
    --> Processing Dependency: libcomps.so.0.1.6()(64bit) for package: python-libcomps-0.1.8-1.el7.centos.x86_64
    ---> Package python-librepo.x86_64 0:1.7.20-1.el7.centos will be installed
    --> Processing Dependency: librepo(x86-64) = 1.7.20-1.el7.centos for package: python-librepo-1.7.20-1.el7.centos.x86_64
    --> Processing Dependency: librepo.so.0()(64bit) for package: python-librepo-1.7.20-1.el7.centos.x86_64
    ---> Package rpm-plugin-systemd-inhibit.x86_64 0:4.13.0.1-1.el7.centos will be installed
    --> Processing Dependency: rpm-libs(x86-64) = 4.13.0.1-1.el7.centos for package: rpm-plugin-systemd-inhibit-4.13.0.1-1.el7.centos.x86_64
    ---> Package rpm-python.x86_64 0:4.11.3-21.el7 will be updated
    ---> Package rpm-python.x86_64 0:4.13.0.1-1.el7.centos will be an update
    --> Processing Dependency: rpm = 4.13.0.1-1.el7.centos for package: rpm-python-4.13.0.1-1.el7.centos.x86_64
    --> Running transaction check
    ---> Package libcomps.x86_64 0:0.1.8-1.el7.centos will be installed
    ---> Package libdnf.x86_64 0:0.7.1-1.el7.centos will be installed
    ---> Package librepo.x86_64 0:1.7.20-1.el7.centos will be installed
    ---> Package libreport-filesystem.x86_64 0:2.1.11-35.el7.centos will be installed
    ---> Package libsolv.x86_64 0:0.6.26-1.el7.centos will be installed
    ---> Package rpm.x86_64 0:4.11.3-21.el7 will be updated
    --> Processing Dependency: rpm = 4.11.3-21.el7 for package: rpm-devel-4.11.3-21.el7.x86_64
    --> Processing Dependency: rpm = 4.11.3-21.el7 for package: rpm-build-4.11.3-21.el7.x86_64
    ---> Package rpm.x86_64 0:4.13.0.1-1.el7.centos will be an update
    ---> Package rpm-libs.x86_64 0:4.11.3-21.el7 will be updated
    --> Processing Dependency: rpm-libs(x86-64) = 4.11.3-21.el7 for package: rpm-build-libs-4.11.3-21.el7.x86_64
    ---> Package rpm-libs.x86_64 0:4.13.0.1-1.el7.centos will be an update
    --> Processing Dependency: rpm-plugin-selinux(x86-64) = 4.13.0.1-1.el7.centos for package: rpm-libs-4.13.0.1-1.el7.centos.x86_64
    --> Running transaction check
    ---> Package rpm-build.x86_64 0:4.11.3-21.el7 will be updated
    ---> Package rpm-build.x86_64 0:4.13.0.1-1.el7.centos will be an update
    ---> Package rpm-build-libs.x86_64 0:4.11.3-21.el7 will be updated
    --> Processing Dependency: rpm-build-libs(x86-64) = 4.11.3-21.el7 for package: rpm-sign-4.11.3-21.el7.x86_64
    ---> Package rpm-build-libs.x86_64 0:4.13.0.1-1.el7.centos will be an update
    ---> Package rpm-devel.x86_64 0:4.11.3-21.el7 will be updated
    ---> Package rpm-devel.x86_64 0:4.13.0.1-1.el7.centos will be an update
    ---> Package rpm-plugin-selinux.x86_64 0:4.13.0.1-1.el7.centos will be installed
    --> Running transaction check
    ---> Package rpm-sign.x86_64 0:4.11.3-21.el7 will be updated
    ---> Package rpm-sign.x86_64 0:4.13.0.1-1.el7.centos will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==========================================================================================================================================================================================================================================================
     Package                                                                Arch                                               Version                                                           Repository                                              Size
    ==========================================================================================================================================================================================================================================================
    Installing:
     dnf                                                                    noarch                                             2.0.0-1.el7.centos                                                dnf-centos                                             260 k
    Installing for dependencies:
     deltarpm                                                               x86_64                                             3.6-3.el7                                                         base                                                    82 k
     dnf-conf                                                               noarch                                             2.0.0-1.el7.centos                                                dnf-centos                                              42 k
     libcomps                                                               x86_64                                             0.1.8-1.el7.centos                                                dnf-centos                                              77 k
     libdnf                                                                 x86_64                                             0.7.1-1.el7.centos                                                dnf-centos                                             121 k
     librepo                                                                x86_64                                             1.7.20-1.el7.centos                                               dnf-centos                                              72 k
     libreport-filesystem                                                   x86_64                                             2.1.11-35.el7.centos                                              base                                                    38 k
     libsolv                                                                x86_64                                             0.6.26-1.el7.centos                                               dnf-centos                                             326 k
     python-dnf                                                             noarch                                             2.0.0-1.el7.centos                                                dnf-centos                                             412 k
     python-hawkey                                                          x86_64                                             0.7.1-1.el7.centos                                                dnf-centos                                              50 k
     python-libcomps                                                        x86_64                                             0.1.8-1.el7.centos                                                dnf-centos                                              49 k
     python-librepo                                                         x86_64                                             1.7.20-1.el7.centos                                               dnf-centos                                              40 k
     rpm-plugin-selinux                                                     x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                              54 k
     rpm-plugin-systemd-inhibit                                             x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                              54 k
    Updating for dependencies:
     rpm                                                                    x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                             515 k
     rpm-build                                                              x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                             144 k
     rpm-build-libs                                                         x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                             119 k
     rpm-devel                                                              x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                             121 k
     rpm-libs                                                               x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                             301 k
     rpm-python                                                             x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                             103 k
     rpm-sign                                                               x86_64                                             4.13.0.1-1.el7.centos                                             dnf-centos                                              57 k
    
    Transaction Summary
    ==========================================================================================================================================================================================================================================================
    Install  1 Package  (+13 Dependent packages)
    Upgrade             (  7 Dependent packages)
    
    Total size: 3.0 M
    Total download size: 120 k
    Is this ok [y/d/N]: y
    Downloading packages:
    (1/2): deltarpm-3.6-3.el7.x86_64.rpm                                                                                                                                                                                               |  82 kB  00:00:00  
    (2/2): libreport-filesystem-2.1.11-35.el7.centos.x86_64.rpm                                                                                                                                                                        |  38 kB  00:00:00  
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                                                                     166 kB/s | 120 kB  00:00:00  
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : rpm-plugin-selinux-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                       1/28
      Updating   : rpm-libs-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                 2/28
      Updating   : rpm-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                      3/28
      Updating   : rpm-build-libs-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                           4/28
      Installing : libsolv-0.6.26-1.el7.centos.x86_64                                                                                                                                                                                                    5/28
      Installing : librepo-1.7.20-1.el7.centos.x86_64                                                                                                                                                                                                    6/28
      Installing : python-librepo-1.7.20-1.el7.centos.x86_64                                                                                                                                                                                             7/28
      Installing : libdnf-0.7.1-1.el7.centos.x86_64                                                                                                                                                                                                      8/28
      Installing : python-hawkey-0.7.1-1.el7.centos.x86_64                                                                                                                                                                                               9/28
      Updating   : rpm-python-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                              10/28
      Installing : rpm-plugin-systemd-inhibit-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                              11/28
      Installing : deltarpm-3.6-3.el7.x86_64                                                                                                                                                                                                            12/28
      Installing : libcomps-0.1.8-1.el7.centos.x86_64                                                                                                                                                                                                   13/28
      Installing : python-libcomps-0.1.8-1.el7.centos.x86_64                                                                                                                                                                                            14/28
      Installing : libreport-filesystem-2.1.11-35.el7.centos.x86_64                                                                                                                                                                                     15/28
      Installing : dnf-conf-2.0.0-1.el7.centos.noarch                                                                                                                                                                                                   16/28
      Installing : python-dnf-2.0.0-1.el7.centos.noarch                                                                                                                                                                                                 17/28
      Installing : dnf-2.0.0-1.el7.centos.noarch                                                                                                                                                                                                        18/28
      Updating   : rpm-sign-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                19/28
      Updating   : rpm-devel-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                               20/28
      Updating   : rpm-build-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                               21/28
      Cleanup    : rpm-devel-4.11.3-21.el7.x86_64                                                                                                                                                                                                       22/28
      Cleanup    : rpm-python-4.11.3-21.el7.x86_64                                                                                                                                                                                                      23/28
      Cleanup    : rpm-build-4.11.3-21.el7.x86_64                                                                                                                                                                                                       24/28
      Cleanup    : rpm-sign-4.11.3-21.el7.x86_64                                                                                                                                                                                                        25/28
      Cleanup    : rpm-build-libs-4.11.3-21.el7.x86_64                                                                                                                                                                                                  26/28
      Cleanup    : rpm-libs-4.11.3-21.el7.x86_64                                                                                                                                                                                                        27/28
      Cleanup    : rpm-4.11.3-21.el7.x86_64                                                                                                                                                                                                             28/28
      Verifying  : rpm-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                      1/28
      Verifying  : python-dnf-2.0.0-1.el7.centos.noarch                                                                                                                                                                                                  2/28
      Verifying  : rpm-sign-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                 3/28
      Verifying  : librepo-1.7.20-1.el7.centos.x86_64                                                                                                                                                                                                    4/28
      Verifying  : rpm-build-libs-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                           5/28
      Verifying  : libsolv-0.6.26-1.el7.centos.x86_64                                                                                                                                                                                                    6/28
      Verifying  : rpm-plugin-systemd-inhibit-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                               7/28
      Verifying  : rpm-devel-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                8/28
      Verifying  : python-hawkey-0.7.1-1.el7.centos.x86_64                                                                                                                                                                                               9/28
      Verifying  : libreport-filesystem-2.1.11-35.el7.centos.x86_64                                                                                                                                                                                     10/28
      Verifying  : rpm-libs-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                                11/28
      Verifying  : deltarpm-3.6-3.el7.x86_64                                                                                                                                                                                                            12/28
      Verifying  : dnf-2.0.0-1.el7.centos.noarch                                                                                                                                                                                                        13/28
      Verifying  : rpm-python-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                              14/28
      Verifying  : rpm-plugin-selinux-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                      15/28
      Verifying  : python-librepo-1.7.20-1.el7.centos.x86_64                                                                                                                                                                                            16/28
      Verifying  : dnf-conf-2.0.0-1.el7.centos.noarch                                                                                                                                                                                                   17/28
      Verifying  : rpm-build-4.13.0.1-1.el7.centos.x86_64                                                                                                                                                                                               18/28
      Verifying  : python-libcomps-0.1.8-1.el7.centos.x86_64                                                                                                                                                                                            19/28
      Verifying  : libdnf-0.7.1-1.el7.centos.x86_64                                                                                                                                                                                                     20/28
      Verifying  : libcomps-0.1.8-1.el7.centos.x86_64                                                                                                                                                                                                   21/28
      Verifying  : rpm-build-4.11.3-21.el7.x86_64                                                                                                                                                                                                       22/28
      Verifying  : rpm-build-libs-4.11.3-21.el7.x86_64                                                                                                                                                                                                  23/28
      Verifying  : rpm-4.11.3-21.el7.x86_64                                                                                                                                                                                                             24/28
      Verifying  : rpm-devel-4.11.3-21.el7.x86_64                                                                                                                                                                                                       25/28
      Verifying  : rpm-python-4.11.3-21.el7.x86_64                                                                                                                                                                                                      26/28
      Verifying  : rpm-sign-4.11.3-21.el7.x86_64                                                                                                                                                                                                        27/28
      Verifying  : rpm-libs-4.11.3-21.el7.x86_64                                                                                                                                                                                                        28/28
    
    Installed:
      dnf.noarch 0:2.0.0-1.el7.centos                                                                                                                                                                                                                      
    
    Dependency Installed:
      deltarpm.x86_64 0:3.6-3.el7                        dnf-conf.noarch 0:2.0.0-1.el7.centos              libcomps.x86_64 0:0.1.8-1.el7.centos                      libdnf.x86_64 0:0.7.1-1.el7.centos        librepo.x86_64 0:1.7.20-1.el7.centos    
      libreport-filesystem.x86_64 0:2.1.11-35.el7.centos libsolv.x86_64 0:0.6.26-1.el7.centos              python-dnf.noarch 0:2.0.0-1.el7.centos                    python-hawkey.x86_64 0:0.7.1-1.el7.centos python-libcomps.x86_64 0:0.1.8-1.el7.centos
      python-librepo.x86_64 0:1.7.20-1.el7.centos        rpm-plugin-selinux.x86_64 0:4.13.0.1-1.el7.centos rpm-plugin-systemd-inhibit.x86_64 0:4.13.0.1-1.el7.centos
    
    Dependency Updated:
      rpm.x86_64 0:4.13.0.1-1.el7.centos               rpm-build.x86_64 0:4.13.0.1-1.el7.centos        rpm-build-libs.x86_64 0:4.13.0.1-1.el7.centos        rpm-devel.x86_64 0:4.13.0.1-1.el7.centos        rpm-libs.x86_64 0:4.13.0.1-1.el7.centos    
      rpm-python.x86_64 0:4.13.0.1-1.el7.centos        rpm-sign.x86_64 0:4.13.0.1-1.el7.centos      
    
    Complete!
    

    Code (Text):
    dnf --help
    usage: dnf [options] COMMAND
    
    List of Main Commands
    
    autoremove                remove all unneeded packages that were originally installed as dependencies
    check                     check for problems in the packagedb
    check-update              check for available package upgrades
    clean                     remove cached data
    distro-sync               synchronize installed packages to the latest available versions
    downgrade                 Downgrade a package
    group                     display, or use, the groups information
    help                      display a helpful usage message
    history                   display, or use, the transaction history
    info                      display details about a package or group of packages
    install                   install a package or packages on your system
    list                      list a package or groups of packages
    makecache                 generate the metadata cache
    mark                      mark or unmark installed packages as installed by user.
    provides                  find what package provides the given value
    reinstall                 reinstall a package
    remove                    remove a package or packages from your system
    repolist                  display the configured software repositories
    repoquery                 search for packages matching keyword
    repository-packages       run commands on top of all packages in given repository
    search                    search package details for the given string
    updateinfo                display advisories about packages
    upgrade                   upgrade a package or packages on your system
    upgrade-minimal           upgrade, but only 'newest' package match which fixes a problem that affects your system
    
    optional arguments:
      -c [config file], --config [config file]
                            config file location
      -q, --quiet           quiet operation
      -v, --verbose         verbose operation
      --version             show DNF version and exit
      --installroot [path]  set install root
      --noplugins           disable all plugins
      --disableplugins [plugin]
                            disable plugins by name
      --releasever RELEASEVER
                            override the value of $releasever in config and repo
                            files
      --setopt SETOPTS      set arbitrary config and repo options
      --skip-broken         resolve depsolve problems by skipping packages
      -h, --help, --help-cmd
                            show command help
      --allowerasing        allow erasing of installed packages to resolve
                            dependencies
      -b, --best            try the best available package versions in
                            transactions.
      -C, --cacheonly       run entirely from system cache, don't update cache
      -d [debug level], --debuglevel [debug level]
                            debugging output level
      --debugsolver         dumps detailed solving results into files
      --showduplicates      show duplicates, in repos, in list/search commands
      -e ERRORLEVEL, --errorlevel ERRORLEVEL
                            error output level
      --rpmverbosity [debug level name]
                            debugging output level for rpm
      -y, --assumeyes       automatically answer yes for all questions
      --assumeno            automatically answer no for all questions
      --enablerepo [repo]
      --disablerepo [repo]
      --repo [repo]         enable just specific repositories by an id or a glob,
                            can be specified multiple times
      -x [package], --exclude [package], --excludepkgs [package]
                            exclude packages by name or glob
      --disableexcludes [repo], --disableexcludepkgs [repo]
                            disable excludepkgs
      --repofrompath [repo,path]
                            label and path to additional repository, can be
                            specified multiple times.
      --nogpgcheck          disable gpg signature checking
      --color COLOR         control whether color is used
      --refresh             set metadata as expired before running the command
      -4                    resolve to IPv4 addresses only
      -6                    resolve to IPv6 addresses only
      --downloadonly        only download packages
      --bugfix              Include bugfix relevant packages, in updates
      --enhancement         Include enhancement relevant packages, in updates
      --newpackage          Include newpackage relevant packages, in updates
      --security            Include security relevant packages, in updates
      --advisory ADVISORY, --advisories ADVISORY
                            Include packages needed to fix the given advisory, in
                            updates
      --bzs BUGZILLA        Include packages needed to fix the given BZ, in
                            updates
      --cves CVES           Include packages needed to fix the given CVE, in
                            updates
      --sec-severity {Critical,Important,Moderate,Low}, --secseverity {Critical,Important,Moderate,Low}
                            Include security relevant packages matching the
                            severity, in updates
    

    Code (Text):
    dnf --version
    2.0.0
      Installed: dnf-0:2.0.0-1.el7.centos.noarch at 2017-03-27 22:39
      Built    :  at 2017-02-01 11:09
    
      Installed: rpm-0:4.13.0.1-1.el7.centos.x86_64 at 2017-03-27 22:39
      Built    :  at 2017-03-21 10:52
    
     
    Last edited: Mar 28, 2017
    • Informative Informative x 1
  11. bassie

    bassie Active Member

    535
    116
    43
    Apr 29, 2016
    Ratings:
    +348
    Local Time:
    7:14 PM
    Nup.
    You are writing about Yum upstream.
    Not the Yum source Red Hat is using for EL7 Yum.

    Latest release: 2016-11-03.
    (upstream with a shitload patches, backports and changes).

    rpms/yum - git.centos.org

    Red Hat's policy about updates, backporting and kind of stuff: Security Backporting Practice - Red Hat Customer Portal

    About Enterprise Linux in general for myself.
    Why should you ever want to use the latest of the latest in a business?
    It is all about making money, stability and do you work if you need to do your work.
    I don't want edge management tools.

    The server management tools need to be rock solid.
    Edgie stuff is nice for LEMP but nothing else.

    If I want Edge overall I am all in for Fedora.
    But overall Fedora is kinda unstable if you ask me.
     
    • Informative Informative x 1
  12. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    Interesting anyway this is all just testing to see what's what :)

    DNF 2.0 based 123.09beta01-dnf branch install time on local virtualbox CentOS 7.3 install
    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 78.5393 seconds
    Total YUM Time: 54.897235956 seconds
    Total YUM or DNF + Source Download Time: 109.2106
    Total Nginx First Time Install Time: 188.2923
    Total PHP First Time Install Time: 392.6298
    Download Zip From Github Time: 7.8265
    Total Time Other eg. source compiles: 420.1615
    Total Centmin Mod Install Time: 1110.2942
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1196.6600 seconds
    ---------------------------------------------------------------------------
    

    About same as DNF 0.6.4 install times. The non-DNF usual install times are between 1,250-1,390 seconds on my local virtualbox instance - so up to 200 seconds faster :)
     
  13. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    Moved 123.09beta01-dnf branch testing to my 2GB OpenVZ user and seems the CentOS 7 image has some 32bit i686 packages that conflict with dnf 2.0.0 dependencies !
    Code (Text):
    Delta RPMs reduced 148.9 MB of updates to 147.0 MB (1.1% saved)
    warning: /var/cache/dnf/epel-2b6dfc5904c26562/packages/libc-client-2007f-4.el7.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
    Importing GPG key 0x352C64E5:
     Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
     Fingerprint: 91E9 7D7C 4A5E 96F1 7F3E 888F 6A2F AEA2 352C 64E5
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    Key imported successfully
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.
    Error: Transaction check error:
      file /usr/share/locale/bg/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/bs/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/ca/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/cs/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/da/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/de/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/el/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/es/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/eu/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/fi/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/fr/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/gl/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/gu/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/he/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/hu/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/id/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/is/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/it/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/kk/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/kn/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/ko/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/lt/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/lv/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/nb/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/pa/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/pl/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/pt/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/ru/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/sk/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/sl/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/sr/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/sr@latin/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/sv/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/th/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/tr/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/vi/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/man/man1/gapplication.1.gz from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/man/man1/gdbus.1.gz from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/man/man1/gio-querymodules.1.gz from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/man/man1/glib-compile-schemas.1.gz from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
      file /usr/share/man/man1/gsettings.1.gz from install of glib2-2.46.2-4.el7.i686 conflicts with file from package glib2-2.42.2-5.el7.x86_64
    
    Error Summary
    -------------
    

    Code (Text):
    yum list glib2 --disableplugin=priorities --showduplicates -q | tr -s ' '
    Installed Packages
    glib2.x86_64 2.42.2-5.el7 installed
    Available Packages
    glib2.i686 2.46.2-4.el7 base
    glib2.x86_64 2.46.2-4.el7 base
    


    seems DNF ignores /etc/yum.conf exclusions for 32bit packages so need to add an exclusion entry to /etc/dnf/dnf.conf :)
     
    Last edited: Mar 28, 2017
  14. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    hmm more testing on 2GB OpenVZ VPS and seems it's a mixed bag as DNF is faster than YUM if all repo mirrors are working and fast but if repo mirrors are broken and need cycling through alternate mirrors or if mirror location is slow, then DNF seems alot slower than YUM is tackling the issues. Which means you could end up with slower overall Centmin Mod install times with DNF if such issues exist than YUM. Will try another test server to see if I can reproduce the issues.
     
    • Informative Informative x 1
  15. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    If anyone else is curious and wants to test the DNF experimental branch, 123.09beta01-dnf on a test VPS/server with CentOS 7, you can install Centmin Mod 123.09beta01-dnf branch using command line

    updated: March 31, 2017 123.09beta01-dnf changes have been merged into 123.09beta01 so to test

    123.09beta01 branch with default disabled DNF_ENABLE='n'
    Code (Text):
    curl -sL https://github.com/centminmod/centminmod/raw/123.09beta01/installer.sh | bash
    

    to test 123.09beta01 branch with DNF enabled, DNF_ENABLE='y', use the command but set persistent config file before running
    Code (Text):
    mkdir -p /etc/centminmod/
    echo "DNF_ENABLE='y'" > /etc/centminmod/custom_config.inc
    curl -sL https://github.com/centminmod/centminmod/raw/123.09beta01/installer.sh | bash
    


    Could be different servers have different results for DNF enabled vs DNF disabled package installed Centmin Mod LEMP stacks :) Just remember only CentOS 7 supports using DNF
     
    Last edited: Mar 31, 2017
  16. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    @Jimmy, if one of your OVH Gaming i7 servers is free, would be interested to see what install times DNF vs non-DNF get :)
     
  17. Jimmy

    Jimmy Premium Member Premium Member

    1,114
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    1:14 PM
    1.13.x
    MariaDB 10.1.x
    Looks like I'm going to have one of them for 1 month (I have 20+ days left on one of them). Once I get the credit, etc., I'll wipe the one left and give you the info and you can test using it until it expires. My local testing server is way faster than that machine, so I won't have time to play around with the remaining server.
     
    • Like Like x 1
  18. eva2000

    eva2000 Administrator Staff Member

    30,191
    6,788
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,142
    Local Time:
    3:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    ooh very much appreciated :)

    what's your local machine specs ? that would be one fast machine :)

    need all the speed I can get, FYI just testing DNF branch I have so far tested initial installs at least 40 times now @1000-1300 seconds/install :)
     
    • Like Like x 1
  19. Jimmy

    Jimmy Premium Member Premium Member

    1,114
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    1:14 PM
    1.13.x
    MariaDB 10.1.x
    i7 6700K SSD 32GB RAM
     
    • Like Like x 1
  20. Jimmy

    Jimmy Premium Member Premium Member

    1,114
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    1:14 PM
    1.13.x
    MariaDB 10.1.x
    The gaming server is the old version, not the new ones. Same specs at the soyoustart gaming servers.

    Should give you a nice baseline. I'm not going to use it since I'm getting one of the enterprise servers.

    6c/12t 128 GB not sure of the model number.