Adding python3 in the "provides" is creating problems for dnf users trying to update any python3 dependent packages through dnf as the "provides" is already satisfying the dependency requirement and the required python3 version is not getting pulled. For that reason , we have removed python3 as a provides.
Original Message:
Sent: Mon March 06, 2023 09:39 AM
From: Peter Furtado
Subject: bash as dependency on AIX 7.3
Hello Sangamesh,
I saw this post and would like to ask you something else about /usr/sbin/updtvpkg file.
It seems, at least on AIX 7300-01-01-2246, IBM has added bash and removed python3 from "provides". Is there any special reason for this?
I would like to understand better "python3 removal" in case we need to take actions in advance for our future AIX7.3 machines.
# Check for shellsshells="sh bsh csh ksh tsh ksh93 python3"for sh in $shellsdo if [[ -r /usr/bin/$sh ]] then echo "Provides: /usr/bin/$sh, /bin/$sh" fidonefor other in perl awk env bash ???????do if [[ -r /usr/bin/$other ]] then echo "Provides: /usr/bin/$other" echo "Provides: /bin/$other" echo "Provides: $other" fidone
------------------------------
Peter Furtado
Original Message:
Sent: Wed May 18, 2022 11:11 AM
From: SANGAMESH MALLAYYA
Subject: bash as dependency on AIX 7.3
Hi Henning,
Thanks for reporting the issue.
Though, AIX-rpm seems to be adding provides for /bin/bash & /usr/bin/bash we missed to add the package name.
We will update the rpm.rte and include bash as provides.
One workaround if it is feasible for you is to add bash to the end of this line "for other in perl awk env python3" in /usr/sbin/updtvpkg file and run updtvpkg again.
In our latest bash rpm packages we have taken care that it won't overwrite bash.rte files.
Please let me know which version of bash rpm package you tried.
------------------------------
SANGAMESH
Original Message:
Sent: Wed May 18, 2022 06:15 AM
From: Henning Bösch
Subject: bash as dependency on AIX 7.3
Hello,
we are currently testing on AIX 7.3 and wanted to install some rpms that have bash as a dependency. As AIX 7.3 has already a bash in /usr/bin, we have not installed the bash rpm. In our understanding the AIX-rpm rpm should provide the necessary information to the rpms.
But installing the rpms (via bundle file) throws a dependency error:
The following errors occurred during installation:
error: Failed dependencies:
bash is needed by apr-1.5.2-1.ppc
bash is needed by info-6.4-1.ppc
We also tried updtvpkg, but it does not change anything. We installed the bash rpm, but this uses the same location as the bash from bash.rte and overwrites some things, so we are not comfortable with this.
Are there any suggestions how to solve this problem?
Regards
Henning
------------------------------
Henning Bösch
------------------------------