Accueil Product Support Operating Systems AIX Upgrade & Migration Warning changes with RPM 4.13.1

Warning changes with RPM 4.13.1

To summarize change in new RPM process :

  • RPM-3 ( which used a Berkeley db1 database format )  is no longer used .
  • RPM-4 ( which uses Berkeley db3 and db4 format ) is now the new RPM process.

 

During the installation of RPM 4.x.x, a migration script is running and files are created in both directories :

  • /tmp/tmprpm ( log for individual rpm migration )

 

# ls -l
320 total
-rw-r--r--    1 root     system        19432 08 mar 11:52 mkvirtpkg.AIX-rpm-7.1.4.30-7.10158238.out
-rw-r--r--    1 root     system          499 08 mar 11:52 mkvirtpkg.apr-1.4.6-1.10158238.out
-rw-r--r--    1 root     system          503 08 mar 11:52 mkvirtpkg.bash-4.2-7.10158238.out

 

Example of log file :

# cat mkvirtpkg.bash-4.2-7.10158238.out
Executing(%prep): /bin/sh -e /var/opt/freeware/tmp/rpm-tmp.9380
Executing(%build): /bin/sh -e /var/opt/freeware/tmp/rpm-tmp.9380
Executing(%install): /bin/sh -e /var/opt/freeware/tmp/rpm-tmp.9380
Processing files: bash-4.2-7
Finding  Provides: (using /opt/freeware/lib/rpm/find-provides)...
Finding  Requires: (using /opt/freeware/lib/rpm/find-requires)...
PreReq: /bin/sh
Requires: /bin/sh /bin/bash libc.a(shr.o) libcurses.a(shr42.o) libdl.a(shr.o) libiconv.a(libiconv.so.2) libpthreads.a(shr_xpg5.o)

 

  • /var/tmp ( virtual packages created during the migration )

 

# cd /var/tmp
# ls -l
...
drwxr-xr-x    2 root     system          256 08 mar 11:52 AIX-rpm-7.1.4.30-7
drwxr-xr-x    4 root     system          256 08 mar 11:48 apr-1.4.6-1
drwxr-xr-x    5 root     system          256 08 mar 11:49 bash-4.2-7
...

 

After a save of this 2 directories you can delete them.


IBM Technotes :


Demande d'assistance
Création et suivi
Recherche