Originally posted by: jifr03
<Environment>
AIX7.1 TL05 SP04
rpm.rte 4.13.0.3
<Event>
bzip2 already existed because rpm.rte was installed.
# lslpp -f rpm.rte | grep bzip2
/usr/opt/freeware/bin/bzip2
/usr/opt/freeware/bin/bzip2recover
#
However, when trying to install pbzip2 from Toolbox, it was dependent on bzip2.
# rpm --test -ivh ppc/pbzip2/pbzip2-1.1.13-1.aix6.1.ppc.rpm
error: Failed dependencies:
bzip2 >= 1.0.6-3 is needed by pbzip2-1.1.13-1.ppc
#
To solve the dependency, bzip2 was also installed from Toolbox.
The installation of pbzip2 and bzip2 was successful.
I wanted to undo and tried to uninstall pbzip2 and bzip2, but
bzip2 was required for another package (AIX-rpm-7.1.4.31-2.ppc) and could not be uninstalled.
# rpm --test -evh bzip2-1.0.6-3.ppc pbzip2-1.1.13-1.ppc
error: Failed dependencies:
bzip2 is needed by (installed) AIX-rpm-7.1.4.31-2.ppc
#
<Q1>
Shouldn't the Toolbox bzip2 be installed, ignoring dependencies when installing pbzip2?
<Q2>
How do I get it back?
Do I have to restore from a system backup?
Thank you.