While updating to AIX7.2 TL4 SP4, the fileset, "bos.adt.prof", failed to update. Turning on the option, "-V4", for the command, "installp"; revealed it was a conflict with the subdirectory, "/usr/lib/profiled", which the command, "rpm -qf /usr/lib/profiled", showed as belonging to an RPM package, "cdrtools-devel-3.01-3.ppc". Uninstalling the RPM package, "cdrtools-devel", allowed the fileset, "bos.adt.prof", to be installed. The RPM package, "cdrtools-devel", was then able to be reinstalled.
Here are the commands to recreate the problem:
PS1='$ '
server=[...]
lpp=[...]
sudo -v
(
PS4='$ '
set -x
oslevel -s
oslevel -sg $(oslevel -s)
sudo dnf remove -y cdrtools-devel
sudo nim -o maint -a installp_flags='u -V4' -a filesets='bos.adt.prof' $server
sudo dnf install -y cdrtools-devel
sudo nim -o cust -a lpp_source=$lpp -a installp_flags='acNgXYb -V4' -a filesets='bos.adt.prof' $server
sudo dnf remove -y cdrtools-devel
sudo nim -o cust -a lpp_source=$lpp -a installp_flags='acNgXYb -V4' -a filesets='bos.adt.prof' $server
lslpp -l bos.adt.prof
sudo dnf install -y cdrtools-devel
oslevel -s
)
Here is the output:
$ oslevel -s
7200-04-04-2114
$$ oslevel -s
$ oslevel -sg 7200-04-04-2114
Fileset Actual Level Service Pack Level
-----------------------------------------------------------------------------
Java7_64.jre 7.0.0.690 7.0.0.675
Java7_64.sdk 7.0.0.690 7.0.0.675
Java8_64.jre 8.0.0.635 8.0.0.620
Java8_64.sdk 8.0.0.635 8.0.0.620
libc++.rte 16.1.0.6 16.1.0.3
openssh.base.client 8.1.102.2103 8.1.102.2102
openssh.base.server 8.1.102.2103 8.1.102.2102
openssh.man.en_US 8.1.102.2103 8.1.102.2102
openssh.msg.EN_US 8.1.102.2103 8.1.102.2102
openssh.msg.en_US 8.1.102.2103 8.1.102.2102
openssl.base 1.0.2.2102 1.0.2.2101
openssl.license 1.0.2.2102 1.0.2.2101
openssl.man.en_US 1.0.2.2102 1.0.2.2101
xlC.aix61.rte 16.1.0.6 16.1.0.3
xlC.msg.en_US.rte 16.1.0.6 16.1.0.3
xlC.rte 16.1.0.6 16.1.0.3
$ /usr/bin/sudo ODMDIR=/etc/objrepos dnf remove -y cdrtools-devel
Dependencies resolved.
========================================================================================================
Package Architecture Version Repository Size
========================================================================================================
Removing:
cdrtools-devel ppc 3:3.01-3 @AIX_Toolbox 5.3 M
Transaction Summary
========================================================================================================
Remove 1 Package
Freed space: 5.3 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : cdrtools-devel-3:3.01-3.ppc 1/1
Verifying : cdrtools-devel-3:3.01-3.ppc 1/1
Removed:
cdrtools-devel-3:3.01-3.ppc
Complete!
$ /usr/bin/sudo ODMDIR=/etc/objrepos nim -o maint -a 'installp_flags=u -V4' -a filesets=bos.adt.prof master
+-----------------------------------------------------------------------------+
Pre-deinstall Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-deinstall verification
and will be removed.
-- Filesets are listed in the order in which they will be removed.
-- The reason for deinstalling each fileset is indicated with a keyword
in parentheses and explained by a "Success Key" following this list.
-- If a fileset has dependents they are listed (indented)
beneath the fileset.
bos.adt.prof 7.2.4.3 (Selected)
Base Profiling Support
Success Key:
Selected -- Explicitly selected by user to be deinstalled.
Dependent -- Dependent of other filesets being deinstalled; dependents
are always deinstalled when "auto-deinstall" (-g flag) is
specified.
<< End of Success Section >>
FILESET STATISTICS
------------------
1 Selected to be deinstalled, of which:
1 Passed pre-deinstall verification
----
1 Total to be deinstalled
+-----------------------------------------------------------------------------+
Deinstalling Software...
+-----------------------------------------------------------------------------+
installp: DEINSTALLING software for:
bos.adt.prof 7.2.4.3
Finished processing all filesets. (Total time: 1 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
bos.adt.prof 7.2.4.3 USR DEINSTALL SUCCESS
$ /usr/bin/sudo ODMDIR=/etc/objrepos dnf install -y cdrtools-devel
Last metadata expiration check: 1:18:02 ago on Wed Aug 18 14:32:08 EDT 2021.
Dependencies resolved.
========================================================================================================
Package Architecture Version Repository Size
========================================================================================================
Installing:
cdrtools-devel ppc 3:3.01-3 AIX_Toolbox 1.5 M
Transaction Summary
========================================================================================================
Install 1 Package
Total size: 1.5 M
Installed size: 1.5 M
Downloading Packages:
[SKIPPED] cdrtools-devel-3.01-3.aix6.1.ppc.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : cdrtools-devel-3:3.01-3.ppc 1/1
Verifying : cdrtools-devel-3:3.01-3.ppc 1/1
Installed:
cdrtools-devel-3:3.01-3.ppc
Complete!
$ /usr/bin/sudo ODMDIR=/etc/objrepos nim -o cust -a lpp_source=[...] -a 'installp_flags=acNgXYb -V4' -a filesets=bos.adt.prof [...]
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
-- Filesets are listed in the order in which they will be installed.
-- The reason for installing each fileset is indicated with a keyword
in parentheses and explained by a "Success Key" following this list.
-- If a fileset has requisites they are listed (indented)
beneath the fileset.
bos.adt.prof 7.2.4.3 (Selected)
Base Profiling Support
Requisites:
bos.rte 7.2.2.0 (INSTALLED)
bos.rte.Dt 7.2.0.0 (INSTALLED)
bos.rte.ILS 7.2.1.0 (INSTALLED)
bos.rte.SRC 7.2.2.0 (INSTALLED)
bos.rte.X11 7.2.0.0 (INSTALLED)
bos.rte.aio 7.2.2.0 (INSTALLED)
bos.rte.archive 7.2.2.0 (INSTALLED)
bos.rte.bind_cmds 7.2.2.0 (INSTALLED)
bos.rte.boot 7.2.2.0 (INSTALLED)
bos.rte.bosinst 7.2.2.0 (INSTALLED)
bos.rte.commands 7.2.2.0 (INSTALLED)
bos.rte.compare 7.2.2.0 (INSTALLED)
bos.rte.console 7.2.1.0 (INSTALLED)
bos.rte.control 7.2.2.0 (INSTALLED)
bos.rte.cron 7.2.2.0 (INSTALLED)
bos.rte.date 7.2.2.0 (INSTALLED)
bos.rte.devices 7.2.2.0 (INSTALLED)
bos.rte.devices_msg 7.2.2.0 (INSTALLED)
bos.rte.diag 7.2.2.0 (INSTALLED)
bos.rte.edit 7.2.2.0 (INSTALLED)
bos.rte.filesystem 7.2.2.0 (INSTALLED)
bos.rte.iconv 7.2.2.0 (INSTALLED)
bos.rte.ifor_ls 7.2.2.0 (INSTALLED)
bos.rte.im 7.2.0.0 (INSTALLED)
bos.rte.install 7.2.2.0 (INSTALLED)
bos.rte.jfscomp 7.2.0.0 (INSTALLED)
bos.rte.libc 7.2.2.0 (INSTALLED)
bos.rte.libcfg 7.2.2.0 (INSTALLED)
bos.rte.libcur 7.2.2.0 (INSTALLED)
bos.rte.libdbm 7.2.0.0 (INSTALLED)
bos.rte.libnetsvc 7.2.0.0 (INSTALLED)
bos.rte.libpthreads 7.2.2.0 (INSTALLED)
bos.rte.libqb 7.2.0.0 (INSTALLED)
bos.rte.libs 7.2.0.0 (INSTALLED)
bos.rte.loc 7.2.1.0 (INSTALLED)
bos.rte.lvm 7.2.2.0 (INSTALLED)
bos.rte.man 7.2.0.0 (INSTALLED)
bos.rte.methods 7.2.2.0 (INSTALLED)
bos.rte.misc_cmds 7.2.2.0 (INSTALLED)
bos.rte.mlslib 7.2.0.0 (INSTALLED)
bos.rte.net 7.2.0.0 (INSTALLED)
bos.rte.odm 7.2.2.0 (INSTALLED)
bos.rte.printers 7.2.2.0 (INSTALLED)
bos.rte.security 7.2.2.0 (INSTALLED)
bos.rte.serv_aid 7.2.2.0 (INSTALLED)
bos.rte.shell 7.2.2.0 (INSTALLED)
bos.rte.streams 7.2.1.0 (INSTALLED)
bos.rte.tty 7.2.2.0 (INSTALLED)
Success Key:
Selected -- Explicitly selected by user for installation.
Maintenance -- Maintenance Level fileset update; being installed
automatically to enable the level of the system to be
tracked.
Mandatory -- Considered to be important to the system; will always
be installed when detected on the installation media.
Requisite -- Requisite of other filesets being installed.
P_Requisite -- Previously installed fileset's requisite; being installed
automatically now to ensure system's consistency. (Only
installed automatically when "auto-install" (-g flag)
is specified.)
Supersedes -- Superseding fileset update; not selected, chosen instead
of an older, selected update. (Only chosen in this fashion
when "auto-install" is specified (-g flag)).
<< End of Success Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Passed pre-installation verification
----
1 Total to be installed
+-----------------------------------------------------------------------------+
Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
bos.adt.prof 7.2.4.3
. . . . . << Copyright notice for bos.adt >> . . . . . . .
Licensed Materials - Property of IBM
5765CD200
Copyright International Business Machines Corp. 1987, 2021.
Copyright AT&T 1984, 1985, 1986, 1987, 1988, 1989.
Copyright Regents of the University of California 1982, 1983, 1986, 1987.
Copyright INTERACTIVE Systems Corporation 1983.
Copyright Silicon Graphics, Inc. 1987.
Copyright Sun Microsystems, Inc. 1988.
All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for bos.adt >>. . . .
New volume on /[...]/installp/ppc/bos.adt.7.2.4.0.I:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Fri May 28 12:55:42 EDT 2021
Files are backed up by name.
The user is BUILD.
x 77098 ./usr/ccs/bin/gprof
x 69126 ./usr/ccs/bin/prof
x 12746 ./usr/ccs/lib/gcrt0.o
x 0 ./usr/ccs/lib/libp
x 176392 ./usr/ccs/lib/libp/libbsd.a
x 14334634 ./usr/ccs/lib/libp/libc.a
x 7781492 ./usr/ccs/lib/libp/libm.a
x 1042988 ./usr/ccs/lib/libp/libmsaa.a
x 1458565 ./usr/ccs/lib/libp/libpthreads.a
x 15478 ./usr/ccs/lib/libp/libpthreads_compat.a
x 0 ./usr/ccs/lib/libt
x 1524965 ./usr/ccs/lib/libt/libpthreads.a
x 15252 ./usr/ccs/lib/libt/libpthreads_compat.a
x 0 ./usr/ccs/lib/perf
x 1370770 ./usr/ccs/lib/perf/libpthreads.a
x 15252 ./usr/ccs/lib/perf/libpthreads_compat.a
x 12746 ./usr/ccs/lib/mcrt0.o
x 14276 ./usr/ccs/lib/gcrt0_64.o
The number of restored files is 19.
x 14276 ./usr/ccs/lib/mcrt0_64.o
The total size is 27936056 bytes.
rmdir(/usr/lib/profiled): Do not specify an existing file.
sysck: 3001-017 Errors were detected validating the files
for package bos.adt.prof.
0503-464 installp: The installation has FAILED for the "usr" part
of the following filesets:
bos.adt.prof 7.2.4.3
installp: Cleaning up software for:
bos.adt.prof 7.2.4.3
Finished processing all filesets. (Total time: 3 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
bos.adt.prof 7.2.4.3 USR APPLY FAILED
bos.adt.prof 7.2.4.3 USR CLEANUP SUCCESS
0042-001 nim: processing error encountered on "master":
0042-001 m_cust: processing error encountered on "master":
0042-175 c_script: An unexpected result was returned by the "/export/nim/scripts/master.script" command:
0042-175 c_installp: An unexpected result was returned by the "/usr/sbin/installp" command:
See the log file:
/var/adm/ras/nim.installp
for details or use the "showlog" operation.
$ /usr/bin/sudo ODMDIR=/etc/objrepos dnf remove -y cdrtools-devel
Dependencies resolved.
========================================================================================================
Package Architecture Version Repository Size
========================================================================================================
Removing:
cdrtools-devel ppc 3:3.01-3 @AIX_Toolbox 5.3 M
Transaction Summary
========================================================================================================
Remove 1 Package
Freed space: 5.3 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : cdrtools-devel-3:3.01-3.ppc 1/1
Verifying : cdrtools-devel-3:3.01-3.ppc 1/1
Removed:
cdrtools-devel-3:3.01-3.ppc
Complete!
$ /usr/bin/sudo ODMDIR=/etc/objrepos nim -o cust -a lpp_source=[...] -a 'installp_flags=acNgXYb -V4' -a filesets=bos.adt.prof [...]
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
-- Filesets are listed in the order in which they will be installed.
-- The reason for installing each fileset is indicated with a keyword
in parentheses and explained by a "Success Key" following this list.
-- If a fileset has requisites they are listed (indented)
beneath the fileset.
bos.adt.prof 7.2.4.3 (Selected)
Base Profiling Support
Requisites:
bos.rte 7.2.2.0 (INSTALLED)
bos.rte.Dt 7.2.0.0 (INSTALLED)
bos.rte.ILS 7.2.1.0 (INSTALLED)
bos.rte.SRC 7.2.2.0 (INSTALLED)
bos.rte.X11 7.2.0.0 (INSTALLED)
bos.rte.aio 7.2.2.0 (INSTALLED)
bos.rte.archive 7.2.2.0 (INSTALLED)
bos.rte.bind_cmds 7.2.2.0 (INSTALLED)
bos.rte.boot 7.2.2.0 (INSTALLED)
bos.rte.bosinst 7.2.2.0 (INSTALLED)
bos.rte.commands 7.2.2.0 (INSTALLED)
bos.rte.compare 7.2.2.0 (INSTALLED)
bos.rte.console 7.2.1.0 (INSTALLED)
bos.rte.control 7.2.2.0 (INSTALLED)
bos.rte.cron 7.2.2.0 (INSTALLED)
bos.rte.date 7.2.2.0 (INSTALLED)
bos.rte.devices 7.2.2.0 (INSTALLED)
bos.rte.devices_msg 7.2.2.0 (INSTALLED)
bos.rte.diag 7.2.2.0 (INSTALLED)
bos.rte.edit 7.2.2.0 (INSTALLED)
bos.rte.filesystem 7.2.2.0 (INSTALLED)
bos.rte.iconv 7.2.2.0 (INSTALLED)
bos.rte.ifor_ls 7.2.2.0 (INSTALLED)
bos.rte.im 7.2.0.0 (INSTALLED)
bos.rte.install 7.2.2.0 (INSTALLED)
bos.rte.jfscomp 7.2.0.0 (INSTALLED)
bos.rte.libc 7.2.2.0 (INSTALLED)
bos.rte.libcfg 7.2.2.0 (INSTALLED)
bos.rte.libcur 7.2.2.0 (INSTALLED)
bos.rte.libdbm 7.2.0.0 (INSTALLED)
bos.rte.libnetsvc 7.2.0.0 (INSTALLED)
bos.rte.libpthreads 7.2.2.0 (INSTALLED)
bos.rte.libqb 7.2.0.0 (INSTALLED)
bos.rte.libs 7.2.0.0 (INSTALLED)
bos.rte.loc 7.2.1.0 (INSTALLED)
bos.rte.lvm 7.2.2.0 (INSTALLED)
bos.rte.man 7.2.0.0 (INSTALLED)
bos.rte.methods 7.2.2.0 (INSTALLED)
bos.rte.misc_cmds 7.2.2.0 (INSTALLED)
bos.rte.mlslib 7.2.0.0 (INSTALLED)
bos.rte.net 7.2.0.0 (INSTALLED)
bos.rte.odm 7.2.2.0 (INSTALLED)
bos.rte.printers 7.2.2.0 (INSTALLED)
bos.rte.security 7.2.2.0 (INSTALLED)
bos.rte.serv_aid 7.2.2.0 (INSTALLED)
bos.rte.shell 7.2.2.0 (INSTALLED)
bos.rte.streams 7.2.1.0 (INSTALLED)
bos.rte.tty 7.2.2.0 (INSTALLED)
Success Key:
Selected -- Explicitly selected by user for installation.
Maintenance -- Maintenance Level fileset update; being installed
automatically to enable the level of the system to be
tracked.
Mandatory -- Considered to be important to the system; will always
be installed when detected on the installation media.
Requisite -- Requisite of other filesets being installed.
P_Requisite -- Previously installed fileset's requisite; being installed
automatically now to ensure system's consistency. (Only
installed automatically when "auto-install" (-g flag)
is specified.)
Supersedes -- Superseding fileset update; not selected, chosen instead
of an older, selected update. (Only chosen in this fashion
when "auto-install" is specified (-g flag)).
<< End of Success Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Passed pre-installation verification
----
1 Total to be installed
+-----------------------------------------------------------------------------+
Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
bos.adt.prof 7.2.4.3
. . . . . << Copyright notice for bos.adt >> . . . . . . .
Licensed Materials - Property of IBM
5765CD200
Copyright International Business Machines Corp. 1987, 2021.
Copyright AT&T 1984, 1985, 1986, 1987, 1988, 1989.
Copyright Regents of the University of California 1982, 1983, 1986, 1987.
Copyright INTERACTIVE Systems Corporation 1983.
Copyright Silicon Graphics, Inc. 1987.
Copyright Sun Microsystems, Inc. 1988.
All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for bos.adt >>. . . .
New volume on /[...]/installp/ppc/bos.adt.7.2.4.0.I:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Fri May 28 12:55:42 EDT 2021
Files are backed up by name.
The user is BUILD.
x 77098 ./usr/ccs/bin/gprof
x 69126 ./usr/ccs/bin/prof
x 12746 ./usr/ccs/lib/gcrt0.o
x 0 ./usr/ccs/lib/libp
x 176392 ./usr/ccs/lib/libp/libbsd.a
x 14334634 ./usr/ccs/lib/libp/libc.a
x 7781492 ./usr/ccs/lib/libp/libm.a
x 1042988 ./usr/ccs/lib/libp/libmsaa.a
x 1458565 ./usr/ccs/lib/libp/libpthreads.a
x 15478 ./usr/ccs/lib/libp/libpthreads_compat.a
x 0 ./usr/ccs/lib/libt
x 1524965 ./usr/ccs/lib/libt/libpthreads.a
x 15252 ./usr/ccs/lib/libt/libpthreads_compat.a
x 0 ./usr/ccs/lib/perf
x 1370770 ./usr/ccs/lib/perf/libpthreads.a
x 15252 ./usr/ccs/lib/perf/libpthreads_compat.a
x 12746 ./usr/ccs/lib/mcrt0.o
x 14276 ./usr/ccs/lib/gcrt0_64.o
The number of restored files is 19.
x 14276 ./usr/ccs/lib/mcrt0_64.o
The total size is 27936056 bytes.
Finished processing all filesets. (Total time: 2 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
bos.adt.prof 7.2.4.3 USR APPLY SUCCESS
$ lslpp -l bos.adt.prof
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.adt.prof 7.2.4.3 COMMITTED Base Profiling Support
$ /usr/bin/sudo ODMDIR=/etc/objrepos dnf install -y cdrtools-devel
Last metadata expiration check: 1:18:31 ago on Wed Aug 18 14:32:08 EDT 2021.
Dependencies resolved.
========================================================================================================
Package Architecture Version Repository Size
========================================================================================================
Installing:
cdrtools-devel ppc 3:3.01-3 AIX_Toolbox 1.5 M
Transaction Summary
========================================================================================================
Install 1 Package
Total size: 1.5 M
Installed size: 1.5 M
Downloading Packages:
[SKIPPED] cdrtools-devel-3.01-3.aix6.1.ppc.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : cdrtools-devel-3:3.01-3.ppc 1/1
Verifying : cdrtools-devel-3:3.01-3.ppc 1/1
Installed:
cdrtools-devel-3:3.01-3.ppc
Complete!
$ oslevel -s
7200-04-04-2114
$
------------------------------
Edward Davignon
------------------------------