AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  yum to dnf migration

    Posted Thu March 10, 2022 07:39 AM
    After migrating from yum to dnf some yum rpms (plugins/utils) are still installed:

    dnf list installed|grep yum
    yum.noarch 4.2.17-32_1 @System
    yum-metadata-parser.ppc 1.1.4-2 @System
    yum-plugin-changelog.noarch 1.1.31-2 @AIX_Toolbox_noarch
    yum-plugin-list-data.noarch 1.1.31-2 @AIX_Toolbox_noarch
    yum-plugin-versionlock.noarch 1.1.31-2 @AIX_Toolbox_noarch
    yum-utils.noarch 1.1.31-2 @System

    yum versionlock list
    No such command: versionlock. Please use /opt/freeware/bin/yum --help
    It could be a YUM plugin command, try: "yum install 'dnf-command(versionlock)'"
    not working anymore....

    these dnf related rpms are installed:
    dnf list installed|grep dnf
    dnf.noarch 4.2.17-32_1 @System
    dnf-automatic.noarch 4.2.17-32_1 @System
    dnf-data.noarch 4.2.17-32_1 @System
    libdnf.ppc 0.39.1-32_1 @System
    python3-dnf.noarch 4.2.17-32_1 @System
    python3-dnf-plugin-migrate.noarch 4.0.16-32_1 @System
    python3-dnf-plugins-core.noarch 4.0.16-32_1 @System
    python3-libdnf.ppc 0.39.1-32_1 @System

    dnf versionlock list
    No such command: versionlock. Please use /opt/freeware/bin/dnf --help
    It could be a DNF plugin command, try: "dnf install 'dnf-command(versionlock)'"

    But the dnf plugins does not contain "versionlock" yet?

    When will versionlock be available? 
    can i remove the installed yum RPMs without problems?

    Regards, Emiel

    ------------------------------
    Emiel van ter Beek
    ------------------------------


  • 2.  RE: yum to dnf migration

    Posted Fri March 11, 2022 05:21 AM
    Hi Emiel, when I was trying to remove yum RPMs after I migrated to dnf, it broke it. I didn't save the logs, so I can't share the specifics. It was done on test so no harm was done.

    Martin

    ------------------------------
    Martin Boban
    ------------------------------



  • 3.  RE: yum to dnf migration

    Posted Fri March 11, 2022 10:45 AM
    We are working on providing other dnf plugins like version lock and these would be mostly be available in a month.

    @Martin Boban, You tried to remove all YUM related plugins and that broke dnf ?​

    ------------------------------
    SANGAMESH
    ------------------------------



  • 4.  RE: yum to dnf migration

    Posted Fri March 11, 2022 10:53 AM
    I have tried to remove YUM itself along with everything with YUM in name. After that DNF didn't work. I can try it again sometimes when I have some free time.

    ------------------------------
    Martin Boban
    ------------------------------



  • 5.  RE: yum to dnf migration

    Posted Mon March 14, 2022 07:33 AM
    Edited by SANKET RATHI Mon March 14, 2022 07:33 AM
    What option did you use to install dnf ? If you use "-y" then yum4 will also get installed and there is no need to remove that. Probably you removed something that was necessary but without log and all information it is difficult to tell.

    ------------------------------
    SANKET RATHI
    ------------------------------