AIX Open Source

power-server-operatingsystems.png

Operating Systems

The core of your mission-critical workloads: AIX, IBM i, and Enterprise Linux

power-ISV-Solutions1.png

ISV Solutions

Stay up to date with key capabilities running on POWER such as SAP

Business Continuity

Learn how to keep critical processes running and adapt quickly with PowerHA

power-infrastructure-security.png

Power Security

Protect your most sensitive data anywhere in your hybrid cloud

Virtualization

Check here for virtualization and management needs: HMC & CMC, PowerVC, and PowerVM

Open Source

Join our open source efforts within the IBM Power Systems portfolio

Enterprise Infrastructure as a Service

Achieve business growth with agility and flexibility with our enterprise IaaS in Power Virtual Server

Programming Languages

The hub for Programming Languages

DNF is now available on AIX Toolbox

By SANGAMESH MALLAYYA posted 16 days ago

  

 

Introduction

dnf or dandified yum, the next-generation version of the Yellowdog Updater, Modified (yum) is now available on AIX Toolbox.

yum is python2 based package manager and python2 is already out of support from the community.

Hence, there was a need to move to a package manager which works with python3.

dnf or Dandified yum works with python3.

 

dnf roughly maintains CLI compatibility with yum and defines a strict API for extensions and plugins.

It has well documented APIs and uses a state-of-the-art (SAT)-based dependency solver etc.

 

Existing AIX Toolbox repositories created for yum works with dnf hence no changes needed in repository side.

 

Installing dnf

 

To setup and run dnf on AIX, one can use the dnf_aixtoolbox.sh script.

This script is similar to the yum.sh script which is for setting yum on AIX.

 

As mentioned, dnf uses the existing AIX Toolbox repositories, and while installing dnf conf file with required repositories are created.

Once dnf is installed no configuration change is required to use dnf.

 

Space and system requirements

Space requirement:

    300 MB /tmp free space

    460 MB /opt free space

 

dnf works on AIX 7.1 TL3 and higher versions.

Openssl 1.0.2.2001 and higher version needs to be installed.

 

 

Running dnf_aixtoolbox.sh script

 

# ./dnf_aixtoolbox.sh -?

Usage: dnf_aixtoolbox.sh <-d> <-y> <-n> -?

 

      -d    Install and setup dnf if yum is not installed.

      -y    Update yum3 to yum4(softlink to dnf).

            Use this option if want to redirect all yum commands to dnf.

            Existing yum-3.4.3 will be updated to yum-4.x.x(dnf)

      -n    Install dnf where both yum and dnf can coexist if yum is installed already.

            This is not a recommended option.

 

-d option:

     This option can be used if there is no yum is installed on the machine.

     This will setup dnf as the default package manger.

 

-y option:

     This is the most recommended option if yum is already installed.

     This option can be used in two situations.

  1. If yum is already installed and wants to update yum3 to yum4(dnf).

          All yum commands are dnf commands as yum will be just a soft link to dnf.

  1. If yum3(3.4.3) isn’t installed but still like to use yum command which are actually dnf commands.

 

-n option:

    This is not a recommended option.

 

    This option can be used if yum is already installed and wants to have dnf to be also at the same time.

    User needs to use yum or dnf commands accordingly.

    

    yum and dnf databases can’t be shared between them and can’t migrate yum database to dnf database

    if dnf database is already created by running some transactions.

    Whatever the transaction done with yum will exists in yum database and dnf transaction exists

    with dnf databases only.

 

With the option -y or -n dnf_aixtoolbox.sh script itself tries to run ‘dnf migrate’ to migrate yum database to dnf if

dnf was installed successfully.

 

NOTE:

       1.“dnf migrate” needs to be run as the first command before any of the dnf commands.

           Hence this has been taken care in the  dnf_aixtoolbox.sh script itself.

  1. Don’t run migrate if you have already setup dnf and some transactions are already made with dnf,

           as migrate won’t be able to take yum transactions and update those to the existing dnf databases.

 

 

Repository conf file and local repositories

 

dnf uses the repository conf file /opt/freeware/etc/dnf/dnf.conf.

This is similar to the /opt/freeware/etc/yum/yum.conf file of  yum.

 

When users migrate from yum3(3.4.3) to yum4 then.

  1. Existing yum.conf file is being used as dnf.conf with some of below default additional entries.

          cachedir=/var/cache/dnf

          keepcache=1

          debuglevel=2

          logfile=/var/log/dnf.log

          obsoletes=1

          plugins=1

          gpgcheck=1

          installonly_limit=3

          clean_requirements_on_remove=True

          best=True

          skip_if_unavailable=True

 

  1. dnf understands local repositories created in /opt/freeware/etc/yum/repos.d or /opt/freeware/etc/yum.repos.d.

          So, once after update from yum3(3.4.3) to yum4 we should be able to list local repository with dnf.

 

 

Migrate plugin

Migrate plugin is used to migrate yum history, yumdb & yum groups to dnf.

‘dnf migrate’ is the command which tries to migrate above 3 mentioned data to dnf.

 

If dnf_aixtoolbox.sh script is launched with either “-y” or “-n” option then ‘dnf migrate’ command is run after successful install of dnf and related packages.

This is required as running any dnf command creates the dnf history file.

So, migrate command needs to be run before creating dnf history file.

 

NOTE: 1. Migrating groups from yum to dnf has not been fully tested as AIX Toolbox repository

                 doesn’t provide any yum groups.      

           2.   Other plugins which are part of plugin core package aren’t tested yet.

                 These will mostly be tested during second quarter of 2021.

  

References

 

dnf all topic references

    https://dnf.readthedocs.io/en/latest/

 

dnf command reference

    https://dnf.readthedocs.io/en/latest/command_ref.html

 

Changes in dnf CLI compared to yum

    https://dnf.readthedocs.io/en/latest/cli_vs_yum.html

 

 

 

Sample outputs

 

With -d option and no yum is installed

 

# rpm -qa

unzip-6.0-3.ppc

tcl-8.4.7-3.ppc

grep-2.20-1.ppc

AIX-rpm-7.1.5.33-5.ppc

gettext-0.19.7-1.ppc

popt-1.16-3.ppc

tk-8.4.7-3.ppc

tar-1.14-2.ppc

expect-5.42.1-3.ppc

 

# ./dnf_aixtoolbox.sh -d

Attempting download of rpm.rte & dnf_bundle.tar ...

Installing rpm.rte at the latest version ...

This may take several minutes depending on the number of rpms installed...

+-----------------------------------------------------------------------------+

                    Pre-installation Verification...

+-----------------------------------------------------------------------------+

Verifying selections...done

Verifying requisites...done

Results...

 

WARNINGS

--------

  Problems described in this section are not likely to be the source of any

  immediate or serious failures, but further actions may be necessary or

  desired.

 

  Already Installed

  -----------------

  The number of selected filesets that are either already installed

  or effectively installed through superseding filesets is 1.  See

  the summaries at the end of this installation for details.

 

  NOTE:  Base level filesets may be reinstalled using the "Force"

  option (-F flag), or they may be removed, using the deinstall or

  "Remove Software Products" facility (-u flag), and then reinstalled.

 

  << End of Warning Section >>

 

+-----------------------------------------------------------------------------+

                   BUILDDATE Verification ...

+-----------------------------------------------------------------------------+

Verifying build dates...done

FILESET STATISTICS

------------------

    1  Selected to be installed, of which:

        1  Already installed (directly or via superseding filesets)

  ----

    0  Total to be installed

 

 

Pre-installation Failure/Warning Summary

----------------------------------------

Name                      Level           Pre-installation Failure/Warning

-------------------------------------------------------------------------------

rpm.rte                   4.15.1.3        Already installed

 

 

Extracting dnf_bundle.tar ...

x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.

x dnf-4.2.17-1.aix7.1.noarch.rpm, 11139 bytes, 22 media blocks.

x dnf-automatic-4.2.17-1.aix7.1.noarch.rpm, 12442 bytes, 25 media blocks.

x dnf-data-4.2.17-1.aix7.1.noarch.rpm, 23534 bytes, 46 media blocks.

x extra_list, 212 bytes, 1 media blocks.

x libcomps-0.1.11-1.aix7.1.ppc.rpm, 1272902 bytes, 2487 media blocks.

x libdnf-0.39.1-1.aix7.1.ppc.rpm, 15809465 bytes, 30878 media blocks.

x libmodulemd-1.5.2-1.aix7.1.ppc.rpm, 3419469 bytes, 6679 media blocks.

x librepo-1.11.0-1.aix7.1.ppc.rpm, 3649914 bytes, 7129 media blocks.

x libsmartcols-2.34-1.aix7.1.ppc.rpm, 182903 bytes, 358 media blocks.

x libsolv-0.7.9-1.aix7.1.ppc.rpm, 1532976 bytes, 2995 media blocks.

x libzstd-1.4.4-1.aix7.1.ppc.rpm, 468764 bytes, 916 media blocks.

x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 media blocks.

x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 media blocks.

x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 media blocks.

x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 media blocks.

x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 media blocks.

x python3-dnf-4.2.17-1.aix7.1.noarch.rpm, 197325 bytes, 386 media blocks.

x python3-dnf-plugin-migrate-4.0.16-1.aix7.1.noarch.rpm, 7965 bytes, 16 media blocks.

x python3-dnf-plugins-core-4.0.16-1.aix7.1.noarch.rpm, 49196 bytes, 97 media blocks.

x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 media blocks.

x python3-gpgme-1.13.1-1.aix7.1.ppc.rpm, 681811 bytes, 1332 media blocks.

x python3-hawkey-0.39.1-1.aix7.1.ppc.rpm, 3113206 bytes, 6081 media blocks.

x python3-libcomps-0.1.11-1.aix7.1.ppc.rpm, 1020454 bytes, 1994 media blocks.

x python3-libdnf-0.39.1-1.aix7.1.ppc.rpm, 22549270 bytes, 44042 media blocks.

x python3-librepo-1.11.0-1.aix7.1.ppc.rpm, 2292512 bytes, 4478 media blocks.

x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 media blocks.

x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 media blocks.

x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 media blocks.

x rpm-python3-4.15.1-1_py3.aix7.1.ppc.rpm, 99260 bytes, 194 media blocks.

x yum-4.2.17-1.aix7.1.noarch.rpm, 8749 bytes, 18 media blocks.

x zchunk-1.1.4-1.aix7.1.ppc.rpm, 551935 bytes, 1078 media blocks.

x zchunk-devel-1.1.4-1.aix7.1.ppc.rpm, 19026 bytes, 38 media blocks.

x zchunk-libs-1.1.4-1.aix7.1.ppc.rpm, 533888 bytes, 1043 media blocks.

 

 

Checking whether any of the rpms from dnf_bundle are already installed...

Takes couple of minutes to process.

 

ca-certificates-2020.06.01-0 will be installed

dnf-4.2.17-1 will be installed

dnf-automatic-4.2.17-1 will be installed

dnf-data-4.2.17-1 will be installed

libcomps-0.1.11-1 will be installed

libdnf-0.39.1-1 will be installed

libmodulemd-1.5.2-1 will be installed

librepo-1.11.0-1 will be installed

libsmartcols-2.34-1 will be installed

libsolv-0.7.9-1 will be installed

libzstd-1.4.4-1 will be installed

p11-kit-0.23.16-0 will be installed

p11-kit-tools-0.23.16-0 will be installed

python3-3.7.9-0 will be installed

python3-dnf-4.2.17-1 will be installed

python3-gpgme-1.13.1-1 will be installed

python3-hawkey-0.39.1-1 will be installed

python3-libcomps-0.1.11-1 will be installed

python3-libdnf-0.39.1-1 will be installed

python3-librepo-1.11.0-1 will be installed

rpm-python3-4.15.1-1_py3 will be installed

zchunk-libs-1.1.4-1 will be installed

 

Installing the packages...

 

Verifying...                          ################################# [100%]

Preparing...                          ################################# [100%]

Updating / installing...

   1:python3-3.7.9-0                  ################################# [  5%]

   2:libzstd-1.4.4-1                  ################################# [  9%]

   3:libmodulemd-1.5.2-1              ################################# [ 14%]

   4:libsolv-0.7.9-1                  ################################# [ 18%]

   5:libsmartcols-2.34-1              ################################# [ 23%]

   6:zchunk-libs-1.1.4-1              ################################# [ 27%]

   7:librepo-1.11.0-1                 ################################# [ 32%]

   8:rpm-python3-4.15.1-1_py3         ################################# [ 36%]

   9:libdnf-0.39.1-1                  ################################# [ 41%]

  10:python3-libdnf-0.39.1-1          ################################# [ 45%]

  11:python3-hawkey-0.39.1-1          ################################# [ 50%]

  12:libcomps-0.1.11-1                ################################# [ 55%]

  13:python3-libcomps-0.1.11-1        ################################# [ 59%]

  14:python3-gpgme-1.13.1-1           ################################# [ 64%]

  15:p11-kit-0.23.16-0                ################################# [ 68%]

  16:p11-kit-tools-0.23.16-0          ################################# [ 73%]

  17:dnf-data-4.2.17-1                ################################# [ 77%]

  18:python3-dnf-4.2.17-1             ################################# [ 82%]

  19:dnf-4.2.17-1                     ################################# [ 86%]

  20:dnf-automatic-4.2.17-1           ################################# [ 91%]

  21:ca-certificates-2020.06.01-0     ################################# [ 95%]

  22:python3-librepo-1.11.0-1         ################################# [100%]

 

dnf installed successfully.

Please run 'dnf update' to update packages to the latest level.

 

 

With -y option when yum is installed and migrate to yum4

 

# rpm -qa | sort

# rpm -qa | sort

AIX-rpm-7.1.5.33-5.ppc

bash-5.0.18-1.ppc

bzip2-1.0.8-2.ppc

ca-certificates-2020.06.01-1.ppc

curl-7.74.0-1.ppc

cyrus-sasl-2.1.26-3.ppc

db-5.3.28-1.ppc

expat-2.2.9-2.ppc

gdbm-1.18.1-1.ppc

gettext-0.20.2-1.ppc

glib2-2.56.1-3.ppc

info-6.6-2.ppc

krb5-libs-1.18.3-1.ppc

libffi-3.2.1-3.ppc

libgcc-8-1.ppc

libgcc8-8.3.0-4.ppc

libgomp-8-1.ppc

libgomp8-8.3.0-4.ppc

libiconv-1.16-1.ppc

libnghttp2-1.41.0-1.ppc

libssh2-1.9.0-1.ppc

libstdc++-8-1.ppc

libstdc++8-8.3.0-4.ppc

libtextstyle-0.20.2-1.ppc

libunistring-0.9.10-1.ppc

libxml2-2.9.10-1.ppc

ncurses-6.2-2.ppc

openldap-2.4.56-1.ppc

p11-kit-0.23.16-1.ppc

p11-kit-tools-0.23.16-1.ppc

pysqlite-2.8.3-2.ppc

python-2.7.18-1.ppc

python-devel-2.7.18-1.ppc

python-iniparse-0.4-1.noarch

python-pycurl-7.43.0-1.ppc

python-tools-2.7.18-1.ppc

python-urlgrabber-3.10.1-1.noarch

readline-8.0-2.ppc

sqlite-3.32.3-1.ppc

xz-libs-5.2.5-1.ppc

yum-3.4.3-8.noarch

yum-metadata-parser-1.1.4-2.ppc

zlib-1.2.11-2.ppc

 

# ./dnf_aixtoolbox.sh -y

Attempting download of rpm.rte & dnf_bundle.tar ...

Installing rpm.rte at the latest version ...

This may take several minutes depending on the number of rpms installed...

+-----------------------------------------------------------------------------+

                            Pre-installation Verification...

+-----------------------------------------------------------------------------+

Verifying selections...done

Verifying requisites...done

Results...

 

WARNINGS

--------

  Problems described in this section are not likely to be the source of any

  immediate or serious failures, but further actions may be necessary or

  desired.

 

  Already Installed

  -----------------

  The number of selected filesets that are either already installed

  or effectively installed through superseding filesets is 1.  See

  the summaries at the end of this installation for details.

 

  NOTE:  Base level filesets may be reinstalled using the "Force"

  option (-F flag), or they may be removed, using the deinstall or

  "Remove Software Products" facility (-u flag), and then reinstalled.

 

  << End of Warning Section >>

 

+-----------------------------------------------------------------------------+

                           BUILDDATE Verification ...

+-----------------------------------------------------------------------------+

Verifying build dates...done

FILESET STATISTICS

------------------

    1  Selected to be installed, of which:

        1  Already installed (directly or via superseding filesets)

  ----

    0  Total to be installed

 

 

Pre-installation Failure/Warning Summary

----------------------------------------

Name                      Level           Pre-installation Failure/Warning

-------------------------------------------------------------------------------

rpm.rte                   4.15.1.3        Already installed

 

 

Extracting dnf_bundle.tar ...

x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.

x dnf-4.2.17-1.aix7.1.noarch.rpm, 11139 bytes, 22 media blocks.

x dnf-automatic-4.2.17-1.aix7.1.noarch.rpm, 12442 bytes, 25 media blocks.

x dnf-data-4.2.17-1.aix7.1.noarch.rpm, 23534 bytes, 46 media blocks.

x extra_list, 212 bytes, 1 media blocks.

x libcomps-0.1.11-1.aix7.1.ppc.rpm, 1272902 bytes, 2487 media blocks.

x libdnf-0.39.1-1.aix7.1.ppc.rpm, 15809465 bytes, 30878 media blocks.

x libmodulemd-1.5.2-1.aix7.1.ppc.rpm, 3419469 bytes, 6679 media blocks.

x librepo-1.11.0-1.aix7.1.ppc.rpm, 3649914 bytes, 7129 media blocks.

x libsmartcols-2.34-1.aix7.1.ppc.rpm, 182903 bytes, 358 media blocks.

x libsolv-0.7.9-1.aix7.1.ppc.rpm, 1532976 bytes, 2995 media blocks.

x libzstd-1.4.4-1.aix7.1.ppc.rpm, 468764 bytes, 916 media blocks.

x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 media blocks.

x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 media blocks.

x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 media blocks.

x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 media blocks.

x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 media blocks.

x python3-dnf-4.2.17-1.aix7.1.noarch.rpm, 197325 bytes, 386 media blocks.

x python3-dnf-plugin-migrate-4.0.16-1.aix7.1.noarch.rpm, 7965 bytes, 16 media blocks.

x python3-dnf-plugins-core-4.0.16-1.aix7.1.noarch.rpm, 49196 bytes, 97 media blocks.

x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 media blocks.

x python3-gpgme-1.13.1-1.aix7.1.ppc.rpm, 681811 bytes, 1332 media blocks.

x python3-hawkey-0.39.1-1.aix7.1.ppc.rpm, 3113206 bytes, 6081 media blocks.

x python3-libcomps-0.1.11-1.aix7.1.ppc.rpm, 1020454 bytes, 1994 media blocks.

x python3-libdnf-0.39.1-1.aix7.1.ppc.rpm, 22549270 bytes, 44042 media blocks.

x python3-librepo-1.11.0-1.aix7.1.ppc.rpm, 2292512 bytes, 4478 media blocks.

x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 media blocks.

x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 media blocks.

x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 media blocks.

x rpm-python3-4.15.1-1_py3.aix7.1.ppc.rpm, 99260 bytes, 194 media blocks.

x yum-4.2.17-1.aix7.1.noarch.rpm, 8749 bytes, 18 media blocks.

x zchunk-1.1.4-1.aix7.1.ppc.rpm, 551935 bytes, 1078 media blocks.

x zchunk-devel-1.1.4-1.aix7.1.ppc.rpm, 19026 bytes, 38 media blocks.

x zchunk-libs-1.1.4-1.aix7.1.ppc.rpm, 533888 bytes, 1043 media blocks.

 

 

Checking whether any of the rpms from dnf_bundle are already installed...

Takes couple of minutes to process.

 

Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2020.06.01-1.ppc is installed.

dnf-4.2.17-1 will be installed

dnf-automatic-4.2.17-1 will be installed

dnf-data-4.2.17-1 will be installed

libcomps-0.1.11-1 will be installed

libdnf-0.39.1-1 will be installed

libmodulemd-1.5.2-1 will be installed

librepo-1.11.0-1 will be installed

libsmartcols-2.34-1 will be installed

libsolv-0.7.9-1 will be installed

libzstd-1.4.4-1 will be installed

Skipping p11-kit-0.23.16-0 as higher version p11-kit-0.23.16-1.ppc is installed.

Skipping p11-kit-tools-0.23.16-0 as higher version p11-kit-tools-0.23.16-1.ppc is installed.

python3-3.7.9-0 will be installed

python3-dateutil-2.8.0-1 will be installed

python3-dnf-4.2.17-1 will be installed

python3-dnf-plugin-migrate-4.0.16-1 will be installed

python3-dnf-plugins-core-4.0.16-1 will be installed

python3-gpgme-1.13.1-1 will be installed

python3-hawkey-0.39.1-1 will be installed

python3-libcomps-0.1.11-1 will be installed

python3-libdnf-0.39.1-1 will be installed

python3-librepo-1.11.0-1 will be installed

python3-six-1.13.0-1 will be installed

rpm-python3-4.15.1-1_py3 will be installed

yum-3.4.3-8.noarch will be updated to yum-4.2.17-1

zchunk-libs-1.1.4-1 will be installed

 

Installing the packages...

 

Verifying...                          ################################# [100%]

Preparing...                          ################################# [100%]

Updating / installing...

   1:python3-3.7.9-0                  ################################# [  4%]

   2:libzstd-1.4.4-1                  ################################# [  8%]

   3:libmodulemd-1.5.2-1              ################################# [ 12%]

   4:libsolv-0.7.9-1                  ################################# [ 16%]

   5:libsmartcols-2.34-1              ################################# [ 20%]

   6:zchunk-libs-1.1.4-1              ################################# [ 24%]

   7:librepo-1.11.0-1                 ################################# [ 28%]

   8:rpm-python3-4.15.1-1_py3         ################################# [ 32%]

   9:libdnf-0.39.1-1                  ################################# [ 36%]

  10:python3-libdnf-0.39.1-1          ################################# [ 40%]

  11:python3-hawkey-0.39.1-1          ################################# [ 44%]

  12:dnf-data-4.2.17-1                ################################# [ 48%]

  13:libcomps-0.1.11-1                ################################# [ 52%]

  14:python3-libcomps-0.1.11-1        ################################# [ 56%]

  15:python3-six-1.13.0-1             ################################# [ 60%]

  16:python3-dateutil-2.8.0-1         ################################# [ 64%]

  17:python3-gpgme-1.13.1-1           ################################# [ 68%]

  18:python3-dnf-4.2.17-1             ################################# [ 72%]

  19:dnf-4.2.17-1                     ################################# [ 76%]

  20:python3-dnf-plugins-core-4.0.16-1################################# [ 80%]

  21:python3-dnf-plugin-migrate-4.0.16################################# [ 84%]

  22:dnf-automatic-4.2.17-1           ################################# [ 88%]

 

This version of yum4 is a soft link to dnf and all the yum commands are dnf commands.

Repositories present in yum.conf is being used for dnf.

 

 

Trying to create pkg_yumdb database required for migrate plugin

Successfully created pkg_yumdb database

  23:yum-4.2.17-1                     ################################# [ 92%]

  24:python3-librepo-1.11.0-1         ################################# [ 96%]

Cleaning up / removing...

  25:yum-3.4.3-8                      warning: /opt/freeware/etc/yum/yum.conf saved as /opt/freeware/etc/yum/yum.conf.rpmsave

################################# [100%]

 

dnf installed successfully.

Please run 'dnf update' to update packages to the latest level.

 

Trying to run 'dnf migrate' to migrate yum database to dnf.

AIX generic repository                                                                                                                                                                      197 kB/s | 5.4 MB     00:28

AIX noarch repository                                                                                                                                                                       254 kB/s | 886 kB     00:03

AIX 7.1 specific repository                                                                                                                                                                210 kB/s | 872 kB     00:04

Last metadata expiration check: 0:00:05 ago on Fri Apr 23 04:45:30 CDT 2021.

Migrating history data...

 

With -n option when yum is installed

 

# rpm -qa | sort

AIX-rpm-7.1.5.33-5.ppc

bash-5.0.18-1.ppc

bzip2-1.0.8-2.ppc

ca-certificates-2020.06.01-1.ppc

curl-7.74.0-1.ppc

cyrus-sasl-2.1.26-3.ppc

db-5.3.28-1.ppc

expat-2.2.9-2.ppc

gdbm-1.18.1-1.ppc

gettext-0.20.2-1.ppc

glib2-2.56.1-3.ppc

info-6.6-2.ppc

krb5-libs-1.18.3-1.ppc

libffi-3.2.1-3.ppc

libgcc-8-1.ppc

libgcc8-8.3.0-4.ppc

libgomp-8-1.ppc

libgomp8-8.3.0-4.ppc

libiconv-1.16-1.ppc

libnghttp2-1.41.0-1.ppc

libssh2-1.9.0-1.ppc

libstdc++-8-1.ppc

libstdc++8-8.3.0-4.ppc

libtextstyle-0.20.2-1.ppc

libunistring-0.9.10-1.ppc

libxml2-2.9.10-1.ppc

ncurses-6.2-2.ppc

openldap-2.4.56-1.ppc

p11-kit-0.23.16-1.ppc

p11-kit-tools-0.23.16-1.ppc

pysqlite-2.8.3-2.ppc

python-2.7.18-1.ppc

python-devel-2.7.18-1.ppc

python-iniparse-0.4-1.noarch

python-pycurl-7.43.0-1.ppc

python-tools-2.7.18-1.ppc

python-urlgrabber-3.10.1-1.noarch

readline-8.0-2.ppc

sqlite-3.32.3-1.ppc

xz-libs-5.2.5-1.ppc

yum-3.4.3-8.noarch

yum-metadata-parser-1.1.4-2.ppc

zlib-1.2.11-2.ppc

 

# ./dnf_aixtoolbox.sh -n

Attempting download of rpm.rte & dnf_bundle.tar ...

Installing rpm.rte at the latest version ...

This may take several minutes depending on the number of rpms installed...

+-----------------------------------------------------------------------------+

                            Pre-installation Verification...

+-----------------------------------------------------------------------------+

Verifying selections...done

Verifying requisites...done

Results...

 

WARNINGS

--------

  Problems described in this section are not likely to be the source of any

  immediate or serious failures, but further actions may be necessary or

  desired.

 

  Already Installed

  -----------------

  The number of selected filesets that are either already installed

  or effectively installed through superseding filesets is 1.  See

  the summaries at the end of this installation for details.

 

  NOTE:  Base level filesets may be reinstalled using the "Force"

  option (-F flag), or they may be removed, using the deinstall or

  "Remove Software Products" facility (-u flag), and then reinstalled.

 

  << End of Warning Section >>

 

+-----------------------------------------------------------------------------+

                           BUILDDATE Verification ...

+-----------------------------------------------------------------------------+

Verifying build dates...done

FILESET STATISTICS

------------------

    1  Selected to be installed, of which:

        1  Already installed (directly or via superseding filesets)

  ----

    0  Total to be installed

 

 

Pre-installation Failure/Warning Summary

----------------------------------------

Name                      Level           Pre-installation Failure/Warning

-------------------------------------------------------------------------------

rpm.rte                   4.15.1.3        Already installed

 

 

Extracting dnf_bundle.tar ...

x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.

x dnf-4.2.17-1.aix7.1.noarch.rpm, 11139 bytes, 22 media blocks.

x dnf-automatic-4.2.17-1.aix7.1.noarch.rpm, 12442 bytes, 25 media blocks.

x dnf-data-4.2.17-1.aix7.1.noarch.rpm, 23534 bytes, 46 media blocks.

x extra_list, 212 bytes, 1 media blocks.

x libcomps-0.1.11-1.aix7.1.ppc.rpm, 1272902 bytes, 2487 media blocks.

x libdnf-0.39.1-1.aix7.1.ppc.rpm, 15809465 bytes, 30878 media blocks.

x libmodulemd-1.5.2-1.aix7.1.ppc.rpm, 3419469 bytes, 6679 media blocks.

x librepo-1.11.0-1.aix7.1.ppc.rpm, 3649914 bytes, 7129 media blocks.

x libsmartcols-2.34-1.aix7.1.ppc.rpm, 182903 bytes, 358 media blocks.

x libsolv-0.7.9-1.aix7.1.ppc.rpm, 1532976 bytes, 2995 media blocks.

x libzstd-1.4.4-1.aix7.1.ppc.rpm, 468764 bytes, 916 media blocks.

x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 media blocks.

x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 media blocks.

x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 media blocks.

x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 media blocks.

x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 media blocks.

x python3-dnf-4.2.17-1.aix7.1.noarch.rpm, 197325 bytes, 386 media blocks.

x python3-dnf-plugin-migrate-4.0.16-1.aix7.1.noarch.rpm, 7965 bytes, 16 media blocks.

x python3-dnf-plugins-core-4.0.16-1.aix7.1.noarch.rpm, 49196 bytes, 97 media blocks.

x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 media blocks.

x python3-gpgme-1.13.1-1.aix7.1.ppc.rpm, 681811 bytes, 1332 media blocks.

x python3-hawkey-0.39.1-1.aix7.1.ppc.rpm, 3113206 bytes, 6081 media blocks.

x python3-libcomps-0.1.11-1.aix7.1.ppc.rpm, 1020454 bytes, 1994 media blocks.

x python3-libdnf-0.39.1-1.aix7.1.ppc.rpm, 22549270 bytes, 44042 media blocks.

x python3-librepo-1.11.0-1.aix7.1.ppc.rpm, 2292512 bytes, 4478 media blocks.

x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 media blocks.

x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 media blocks.

x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 media blocks.

x rpm-python3-4.15.1-1_py3.aix7.1.ppc.rpm, 99260 bytes, 194 media blocks.

x yum-4.2.17-1.aix7.1.noarch.rpm, 8749 bytes, 18 media blocks.

x zchunk-1.1.4-1.aix7.1.ppc.rpm, 551935 bytes, 1078 media blocks.

x zchunk-devel-1.1.4-1.aix7.1.ppc.rpm, 19026 bytes, 38 media blocks.

x zchunk-libs-1.1.4-1.aix7.1.ppc.rpm, 533888 bytes, 1043 media blocks.

 

 

Checking whether any of the rpms from dnf_bundle are already installed...

Takes couple of minutes to process.

 

Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2020.06.01-1.ppc is installed.

dnf-4.2.17-1 will be installed

dnf-automatic-4.2.17-1 will be installed

dnf-data-4.2.17-1 will be installed

libcomps-0.1.11-1 will be installed

libdnf-0.39.1-1 will be installed

libmodulemd-1.5.2-1 will be installed

librepo-1.11.0-1 will be installed

libsmartcols-2.34-1 will be installed

libsolv-0.7.9-1 will be installed

libzstd-1.4.4-1 will be installed

Skipping p11-kit-0.23.16-0 as higher version p11-kit-0.23.16-1.ppc is installed.

Skipping p11-kit-tools-0.23.16-0 as higher version p11-kit-tools-0.23.16-1.ppc is installed.

python3-3.7.9-0 will be installed

python3-dateutil-2.8.0-1 will be installed

python3-dnf-4.2.17-1 will be installed

python3-dnf-plugin-migrate-4.0.16-1 will be installed

python3-dnf-plugins-core-4.0.16-1 will be installed

python3-gpgme-1.13.1-1 will be installed

python3-hawkey-0.39.1-1 will be installed

python3-libcomps-0.1.11-1 will be installed

python3-libdnf-0.39.1-1 will be installed

python3-librepo-1.11.0-1 will be installed

python3-six-1.13.0-1 will be installed

rpm-python3-4.15.1-1_py3 will be installed

zchunk-libs-1.1.4-1 will be installed

 

Installing the packages...

 

Verifying...                          ################################# [100%]

Preparing...                          ################################# [100%]

Updating / installing...

   1:python3-3.7.9-0                  ################################# [  4%]

   2:libzstd-1.4.4-1                  ################################# [  9%]

   3:libmodulemd-1.5.2-1              ################################# [ 13%]

   4:libsolv-0.7.9-1                  ################################# [ 17%]

   5:libsmartcols-2.34-1              ################################# [ 22%]

   6:zchunk-libs-1.1.4-1              ################################# [ 26%]

   7:librepo-1.11.0-1                 ################################# [ 30%]

   8:rpm-python3-4.15.1-1_py3         ################################# [ 35%]

   9:libdnf-0.39.1-1                  ################################# [ 39%]

  10:python3-libdnf-0.39.1-1          ################################# [ 43%]

  11:python3-hawkey-0.39.1-1          ################################# [ 48%]

  12:libcomps-0.1.11-1                ################################# [ 52%]

  13:python3-libcomps-0.1.11-1        ################################# [ 57%]

  14:python3-six-1.13.0-1             ################################# [ 61%]

  15:python3-dateutil-2.8.0-1         ################################# [ 65%]

  16:python3-gpgme-1.13.1-1           ################################# [ 70%]

  17:dnf-data-4.2.17-1                ################################# [ 74%]

  18:python3-dnf-4.2.17-1             ################################# [ 78%]

  19:dnf-4.2.17-1                     ################################# [ 83%]

  20:python3-dnf-plugins-core-4.0.16-1################################# [ 87%]

  21:python3-dnf-plugin-migrate-4.0.16################################# [ 91%]

  22:dnf-automatic-4.2.17-1           ################################# [ 96%]

  23:python3-librepo-1.11.0-1         ################################# [100%]

 

dnf installed successfully.

Please run 'dnf update' to update packages to the latest level.

 

Trying to run 'dnf migrate' to migrate yum database to dnf.

AIX generic repository                                                                                                                                                                     434 kB/s | 5.4 MB     00:12

AIX noarch repository                                                                                                                                                                        312 kB/s | 886 kB     00:02

AIX 7.1 specific repository                                                                                                                                                                  409 kB/s | 872 kB     00:02

Last metadata expiration check: 0:00:04 ago on Fri Apr 23 04:57:59 CDT 2021.

Migrating history data...

 

# dnf repolist

repo id                                                                                                    repo name

AIX_Toolbox                                                                                                AIX generic repository

AIX_Toolbox_71                                                                                             AIX 7.1 specific repository

AIX_Toolbox_noarch                                                                                         AIX noarch repository

 

# yum repolist

repo id                                                                                                repo name                                                                                                        status

AIX_Toolbox                                                                                            AIX generic repository                                                                                           2,817

AIX_Toolbox_71                                                                                         AIX 7.1 specific repository                                                                                        227

AIX_Toolbox_noarch                                                                                     AIX noarch repository                                                                                              260

repolist: 3,304

 

 

When dnf_beta is installed

 

# rpm -qa | sort

AIX-rpm-7.1.5.33-5.ppc

bash-5.0.18-1.ppc

bzip2-1.0.8-2.ppc

ca-certificates-2020.06.01-1.ppc

curl-7.74.0-1.ppc

cyrus-sasl-2.1.26-3.ppc

db-5.3.28-1.ppc

dnf-4.2.17-0.2beta.noarch

dnf-automatic-4.2.17-0.2beta.noarch

dnf-data-4.2.17-0.2beta.noarch

expat-2.2.9-2.ppc

gcc-8-1.ppc

gcc-c++-8-1.ppc

gcc-cpp-8-1.ppc

gcc8-8.3.0-4.ppc

gcc8-c++-8.3.0-4.ppc

gcc8-cpp-8.3.0-4.ppc

gdbm-1.18.1-1.ppc

gettext-0.20.2-1.ppc

glib2-2.56.1-2.ppc

gmp-6.1.2-1.ppc

gnupg2-2.2.23-1.ppc

gnutls-3.6.15-1.ppc

gpgme-1.13.1-0.1beta.ppc

info-6.6-2.ppc

json-c-0.15-2.ppc

krb5-libs-1.18.3-1.ppc

libassuan-2.5.3-1.ppc

libcomps-0.1.11-0.1beta.ppc

libdnf-0.39.1-0.2beta.ppc

libffi-3.2.1-3.ppc

libgcc-8-1.ppc

libgcc8-8.3.0-4.ppc

libgcrypt-1.8.5-1.ppc

libgomp-8-1.ppc

libgomp8-8.3.0-4.ppc

libgpg-error-1.36-1.ppc

libiconv-1.16-1.ppc

libksba-1.4.0-1.ppc

libmodulemd-1.5.2-0.1beta.ppc

libmpc-1.1.0-1.ppc

libnghttp2-1.41.0-1.ppc

librepo-1.11.0-0.1beta.ppc

libsmartcols-2.34-0.1beta.ppc

libsolv-0.7.9-0.2beta.ppc

libssh2-1.9.0-1.ppc

libstdc++-8-1.ppc

libstdc++-devel-8-1.ppc

libstdc++8-8.3.0-4.ppc

libstdc++8-devel-8.3.0-4.ppc

libtasn1-4.16.0-1.ppc

libtextstyle-0.20.2-1.ppc

libunistring-0.9.10-1.ppc

libxml2-2.9.10-1.ppc

libyaml-0.2.2-1.ppc

libzstd-1.4.4-0.1beta.ppc

mpfr-4.0.2-2.ppc

ncurses-6.2-2.ppc

nettle-3.6-1.ppc

npth-1.5-1.ppc

openldap-2.4.56-1.ppc

p11-kit-0.23.16-1.ppc

p11-kit-tools-0.23.16-1.ppc

pth-2.0.7-2.ppc

python3-3.7.9-1.ppc

python3-dateutil-2.8.0-1.noarch

python3-dnf-4.2.17-0.2beta.noarch

python3-gpgme-1.13.1-0.1beta.ppc

python3-hawkey-0.39.1-0.2beta.ppc

python3-libcomps-0.1.11-0.1beta.ppc

python3-libdnf-0.39.1-0.2beta.ppc

python3-librepo-1.11.0-0.1beta.ppc

python3-six-1.13.0-1.noarch

readline-8.0-2.ppc

rpm-python3-4.15.1-1.ppc

sed-4.8-1.ppc

sqlite-3.32.3-1.ppc

xz-5.2.5-1.ppc

xz-libs-5.2.5-1.ppc

yum-4.2.17-0.2beta.noarch

zchunk-1.1.4-0.2beta.ppc

zchunk-devel-1.1.4-0.2beta.ppc

zchunk-libs-1.1.4-0.2beta.ppc

zlib-1.2.11-2.ppc

 

# ./dnf_aixtoolbox.sh -y

Attempting download of rpm.rte & dnf_bundle.tar ...

Installing rpm.rte at the latest version ...

This may take several minutes depending on the number of rpms installed...

+-----------------------------------------------------------------------------+

                            Pre-installation Verification...

+-----------------------------------------------------------------------------+

Verifying selections...done

Verifying requisites...done

Results...

 

WARNINGS

--------

  Problems described in this section are not likely to be the source of any

  immediate or serious failures, but further actions may be necessary or

  desired.

 

  Already Installed

  -----------------

  The number of selected filesets that are either already installed

  or effectively installed through superseding filesets is 1.  See

  the summaries at the end of this installation for details.

 

  NOTE:  Base level filesets may be reinstalled using the "Force"

  option (-F flag), or they may be removed, using the deinstall or

  "Remove Software Products" facility (-u flag), and then reinstalled.

 

  << End of Warning Section >>

 

+-----------------------------------------------------------------------------+

                           BUILDDATE Verification ...

+-----------------------------------------------------------------------------+

Verifying build dates...done

FILESET STATISTICS

------------------

    1  Selected to be installed, of which:

        1  Already installed (directly or via superseding filesets)

  ----

    0  Total to be installed

 

 

Pre-installation Failure/Warning Summary

----------------------------------------

Name                      Level           Pre-installation Failure/Warning

-------------------------------------------------------------------------------

rpm.rte                   4.15.1.3        Already installed

 

 

Extracting dnf_bundle.tar ...

x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.

x dnf-4.2.17-1.aix7.1.noarch.rpm, 11139 bytes, 22 media blocks.

x dnf-automatic-4.2.17-1.aix7.1.noarch.rpm, 12442 bytes, 25 media blocks.

x dnf-data-4.2.17-1.aix7.1.noarch.rpm, 23534 bytes, 46 media blocks.

x extra_list, 212 bytes, 1 media blocks.

x libcomps-0.1.11-1.aix7.1.ppc.rpm, 1272902 bytes, 2487 media blocks.

x libdnf-0.39.1-1.aix7.1.ppc.rpm, 15809465 bytes, 30878 media blocks.

x libmodulemd-1.5.2-1.aix7.1.ppc.rpm, 3419469 bytes, 6679 media blocks.

x librepo-1.11.0-1.aix7.1.ppc.rpm, 3649914 bytes, 7129 media blocks.

x libsmartcols-2.34-1.aix7.1.ppc.rpm, 182903 bytes, 358 media blocks.

x libsolv-0.7.9-1.aix7.1.ppc.rpm, 1532976 bytes, 2995 media blocks.

x libzstd-1.4.4-1.aix7.1.ppc.rpm, 468764 bytes, 916 media blocks.

x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 media blocks.

x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 media blocks.

x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 media blocks.

x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 media blocks.

x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 media blocks.

x python3-dnf-4.2.17-1.aix7.1.noarch.rpm, 197325 bytes, 386 media blocks.

x python3-dnf-plugin-migrate-4.0.16-1.aix7.1.noarch.rpm, 7965 bytes, 16 media blocks.

x python3-dnf-plugins-core-4.0.16-1.aix7.1.noarch.rpm, 49196 bytes, 97 media blocks.

x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 media blocks.

x python3-gpgme-1.13.1-1.aix7.1.ppc.rpm, 681811 bytes, 1332 media blocks.

x python3-hawkey-0.39.1-1.aix7.1.ppc.rpm, 3113206 bytes, 6081 media blocks.

x python3-libcomps-0.1.11-1.aix7.1.ppc.rpm, 1020454 bytes, 1994 media blocks.

x python3-libdnf-0.39.1-1.aix7.1.ppc.rpm, 22549270 bytes, 44042 media blocks.

x python3-librepo-1.11.0-1.aix7.1.ppc.rpm, 2292512 bytes, 4478 media blocks.

x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 media blocks.

x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 media blocks.

x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 media blocks.

x rpm-python3-4.15.1-1_py3.aix7.1.ppc.rpm, 99260 bytes, 194 media blocks.

x yum-4.2.17-1.aix7.1.noarch.rpm, 8749 bytes, 18 media blocks.

x zchunk-1.1.4-1.aix7.1.ppc.rpm, 551935 bytes, 1078 media blocks.

x zchunk-devel-1.1.4-1.aix7.1.ppc.rpm, 19026 bytes, 38 media blocks.

x zchunk-libs-1.1.4-1.aix7.1.ppc.rpm, 533888 bytes, 1043 media blocks.

 

 

Checking whether any of the rpms from dnf_bundle are already installed...

Takes couple of minutes to process.

 

Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2020.06.01-1.ppc is installed.

dnf-4.2.17-0.2beta.noarch will be updated to dnf-4.2.17-1

dnf-automatic-4.2.17-0.2beta.noarch will be updated to dnf-automatic-4.2.17-1

dnf-data-4.2.17-0.2beta.noarch will be updated to dnf-data-4.2.17-1

libcomps-0.1.11-0.1beta.ppc will be updated to libcomps-0.1.11-1

libdnf-0.39.1-0.2beta.ppc will be updated to libdnf-0.39.1-1

libmodulemd-1.5.2-0.1beta.ppc will be updated to libmodulemd-1.5.2-1

librepo-1.11.0-0.1beta.ppc will be updated to librepo-1.11.0-1

libsmartcols-2.34-0.1beta.ppc will be updated to libsmartcols-2.34-1

libsolv-0.7.9-0.2beta.ppc will be updated to libsolv-0.7.9-1

libzstd-1.4.4-0.1beta.ppc will be updated to libzstd-1.4.4-1

Skipping p11-kit-0.23.16-0 as higher version p11-kit-0.23.16-1.ppc is installed.

Skipping p11-kit-tools-0.23.16-0 as higher version p11-kit-tools-0.23.16-1.ppc is installed.

Skipping python3-3.7.9-0 as higher version python3-3.7.9-1.ppc is installed.

python3-dnf-4.2.17-0.2beta.noarch will be updated to python3-dnf-4.2.17-1

python3-gpgme-1.13.1-0.1beta.ppc will be updated to python3-gpgme-1.13.1-1

python3-hawkey-0.39.1-0.2beta.ppc will be updated to python3-hawkey-0.39.1-1

python3-libcomps-0.1.11-0.1beta.ppc will be updated to python3-libcomps-0.1.11-1

python3-libdnf-0.39.1-0.2beta.ppc will be updated to python3-libdnf-0.39.1-1

python3-librepo-1.11.0-0.1beta.ppc will be updated to python3-librepo-1.11.0-1

rpm-python3-4.15.1-1.ppc will be updated to rpm-python3-4.15.1-1_py3

yum-4.2.17-0.2beta.noarch will be updated to yum-4.2.17-1

zchunk-1.1.4-0.2beta.ppc will be updated to zchunk-1.1.4-1

zchunk-devel-1.1.4-0.2beta.ppc will be updated to zchunk-devel-1.1.4-1

zchunk-libs-1.1.4-0.2beta.ppc will be updated to zchunk-libs-1.1.4-1

 

Installing the packages...

 

Verifying...                          ################################# [100%]

Preparing...                          ################################# [100%]

Updating / installing...

   1:libzstd-1.4.4-1                  ################################# [  2%]

   2:zchunk-libs-1.1.4-1              ################################# [  5%]

   3:librepo-1.11.0-1                 ################################# [  7%]

   4:libmodulemd-1.5.2-1              ################################# [ 10%]

   5:libsolv-0.7.9-1                  ################################# [ 12%]

   6:libsmartcols-2.34-1              ################################# [ 14%]

   7:rpm-python3-4.15.1-1_py3         ################################# [ 17%]

   8:libdnf-0.39.1-1                  ################################# [ 19%]

   9:python3-libdnf-0.39.1-1          ################################# [ 21%]

  10:dnf-data-4.2.17-1                ################################# [ 24%]

  11:python3-hawkey-0.39.1-1          ################################# [ 26%]

  12:python3-gpgme-1.13.1-1           ################################# [ 29%]

  13:libcomps-0.1.11-1                ################################# [ 31%]

  14:python3-libcomps-0.1.11-1        ################################# [ 33%]

  15:python3-dnf-4.2.17-1             ################################# [ 36%]

  16:dnf-4.2.17-1                     ################################# [ 38%]

  17:dnf-automatic-4.2.17-1           ################################# [ 40%]

  18:yum-4.2.17-1                     ################################# [ 43%]

  19:python3-librepo-1.11.0-1         ################################# [ 45%]

  20:zchunk-1.1.4-1                   ################################# [ 48%]

  21:zchunk-devel-1.1.4-1             ################################# [ 50%]

Cleaning up / removing...

  22:python3-librepo-1.11.0-0.1beta   ################################# [ 52%]

  23:zchunk-1.1.4-0.2beta             ################################# [ 55%]

  24:yum-4.2.17-0.2beta               ################################# [ 57%]

  25:dnf-automatic-4.2.17-0.2beta     ################################# [ 60%]

  26:dnf-4.2.17-0.2beta               ################################# [ 62%]

  27:python3-dnf-4.2.17-0.2beta       ################################# [ 64%]

  28:python3-hawkey-0.39.1-0.2beta    ################################# [ 67%]

  29:python3-libdnf-0.39.1-0.2beta    ################################# [ 69%]

  30:libdnf-0.39.1-0.2beta            ################################# [ 71%]

  31:librepo-1.11.0-0.1beta           ################################# [ 74%]

  32:zchunk-devel-1.1.4-0.2beta       ################################# [ 76%]

  33:python3-libcomps-0.1.11-0.1beta  ################################# [ 79%]

  34:zchunk-libs-1.1.4-0.2beta        ################################# [ 81%]

  35:libsolv-0.7.9-0.2beta            ################################# [ 83%]

  36:libzstd-1.4.4-0.1beta            ################################# [ 86%]

  37:libcomps-0.1.11-0.1beta          ################################# [ 88%]

  38:libmodulemd-1.5.2-0.1beta        ################################# [ 90%]

  39:libsmartcols-2.34-0.1beta        ################################# [ 93%]

  40:rpm-python3-4.15.1-1             ################################# [ 95%]

  41:dnf-data-4.2.17-0.2beta          ################################# [ 98%]

  42:python3-gpgme-1.13.1-0.1beta     ################################# [100%]

 

dnf installed successfully.

Please run 'dnf update' to update packages to the latest level.

 

# dnf repolist

repo id                                                                                                    repo name

AIX_Toolbox                                                                                                AIX generic repository

AIX_Toolbox_71                                                                                             AIX 7.1 specific repository

AIX_Toolbox_noarch                                                                                         AIX noarch repository

 

3 comments
132 views

Permalink

Comments

3 days ago

Hi Sangamesh,
Thank you for your quick reply. I'm  very happy to here your plan.

Takashi

4 days ago

Hi Takashi,

Thanks for trying DNF and providing the feedback.
We might need to have createrepo_c which doesn't have dependency on yum.
We have already started working createrepo_c and will make createrepo_c soon available.

Thanks,
Sangamesh

5 days ago

After upgrade to dnf, createrepo does not work.
The createrepo command says following message . 
Is  yum.packages deprecated?

#createrepo
Traceback (most recent call last):
  File "/opt/freeware/share/createrepo/genpkgmetadata.py", line 29, in <module>
    import createrepo
  File "/opt/freeware/lib/python2.7/site-packages/createrepo/__init__.py", line 21, in <module>
    import yumbased
  File "/opt/freeware/lib/python2.7/site-packages/createrepo/yumbased.py", line 27, in <module>
    from yum.packages import YumLocalPackage
ImportError: No module named yum.packages​