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.  how to dnf verbose?

    Posted Tue June 21, 2022 06:52 AM

    Hello Folks,

    I need some help with dnf...

    What dnf switch would generate a similar output to rpm -ihvvv ???

    Situation is following:

    With the firstboot_script from the nim server we are installing some RPM we build for environment and config changes.
    The strange thing is, one RPM seems to hang when installing within the firstboot_script and it seems to be the "restart" of cron that hangs:

    -bash-5.1$ proctree 6947112
    7078384 /usr/bin/alog -tboot
          6619406 /bin/ksh /usr/sbin/fbcheck
                7930118 /bin/ksh /usr/sbin/fbcheck
                      6947112 /opt/freeware/bin/python3_32 /usr/bin/dnf -y install COOPcheckrpms COOProotpw C
                            15991276 /usr/bin/ksh /var/tmp/rpm-tmp.L717ew 1
                                    8847844 /usr/sbin/cron

    When I log on and kill the cron daemon manually the script continues running.
    I've already "set -x" to the RPM script and would like to see where exactly is the problem, but dnf shows no output.

    The problem occurs only within the firstboot_script. When I install the RPM manually there is no Problem and no error at all...

    Thanks in advance...

    best regards,
    Joerg



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------


  • 2.  RE: how to dnf verbose?

    Posted Wed June 22, 2022 02:17 AM
    Hi Joerg,

    You can pass this option to dnf commands "--rpmverbosity=debug".
    For example "dnf install grep --rpmverbosity=debug"
    Also, you can add "rpmverbosity=debug" in the dnf.conf file.

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



  • 3.  RE: how to dnf verbose?

    Posted Wed June 22, 2022 10:37 AM
    Hello Sangamesh,

    thanks for your help. It worked well... error found.

    best regards,
    Joerg

    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------