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
------------------------------
Original Message:
Sent: Fri November 25, 2022 01:55 AM
From: C- -T
Subject: strange error during yum update
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 directoryrpm_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 jinpython3-jinja2-2.10.3-1.noarch
this behaviour drives our configuration management really crazy...
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Fri September 23, 2022 10:33 AM
From: SANGAMESH MALLAYYA
Subject: strange error during yum update
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
Original Message:
Sent: Thu September 22, 2022 10:24 AM
From: C- -T
Subject: strange error during yum update
got errors while applying latest security updates...
example, but packges names differ:
du: /sbin/install-info/: Not a directoryrpm_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 repairsdu: /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop/: Not a directoryrpm_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.ppcdu: /opt/RPM_inst_root/etc/X11/applnk/Utilities/info.desktop/: Not a directoryrpm_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
------------------------------