AIX Open Source

 View Only
  • 1.  strange error during yum update

    Posted Thu September 22, 2022 10:25 AM
    got errors while applying latest security updates...

    example, but packges names differ:

    du: /sbin/install-info/: Not a directory
    rpm_share: 0645-004 Error getting file size of /sbin/install-info.
    rpm_share: 0645-040 Error processing space requirements.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
       error: Error installing package 'grep'
       error: Method 'install_packages' failed in some repairs
    du: /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop/: Not a directory
    rpm_share: 0645-004 Error getting file size of /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop.
    rpm_share: 0645-040 Error processing space requirements.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
    Only Upgrade available on package: info-6.7-1.ppc
    du: /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop/: Not a directory
    rpm_share: 0645-004 Error getting file size of /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop.
    rpm_share: 0645-040 Error processing space requirements.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
    Only Upgrade available on package: 1:make-4.3-1.ppc
       error: Method 'parent_manage_packages' failed in some repairs
       error: Method 'b0035_itsv_package_management' failed in some repairs
       error: Method 'itsv_autorun' failed in some repairs
    ​


    seems to get fixed by running updtvpkg but i rather like to know the real reason.



    ------------------------------
    I regret starting this entire conversation
    ------------------------------


  • 2.  RE: strange error during yum update

    Posted Fri September 23, 2022 10:35 AM
    Edited by SANGAMESH MALLAYYA Fri September 23, 2022 10:34 AM
    Hi Chris,

    I guess the rpm command is being used to update the packages.
    It's the du command from one of the AIX install script is failing.
    So, the problem occurred only once and resolved after running updtvpkg ?




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



  • 3.  RE: strange error during yum update

    Posted Fri November 25, 2022 01:56 AM
    the error occurs again this night while installing python3-jinja2. i m using bog standard "yum install" command line.


    funny enough it says it failed installing the package (rc > 0)...

    du: /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop/: Not a directory
    rpm_share: 0645-004 Error getting file size of /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop.
    rpm_share: 0645-040 Error processing space requirements.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
    ​

    while the package was installed...

    root@kug01112: /var/cfengine/outputs # rpm -qa | grep jin
    python3-jinja2-2.10.3-1.noarch
    


    this behaviour drives our configuration management really crazy...



    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 4.  RE: strange error during yum update

    Posted Fri December 02, 2022 07:48 AM
    Hi Chris,

    Sorry for the delay in response.

    Looks like  you have XPG_SUS_ENV environment variable set to ON.
    du command called during the installation is throwing this error.
    When the XPG_SUS_ENV is set and if we pass file path with / at end then du throws the error.
    We will check if it's a expected behavior.

    Meanwhile, can you unset XPG_SUS_ENV and check if you see the error again ?


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