Before deploying 19c rac, I checked and found that the error is as follows
+ASM1:/home/grid@db1> ./runcluvfy.sh stage -pre crsinst -n db1,db2
Pre-check for cluster services setup was successful.
Verifying RPM Package Manager database ...INFORMATION
PRVG-11250 : The check "RPM Package Manager database" was not performed because it needs 'root' user privileges.
The reason is as follows
Certain CVU checks require the exclusive privileges of the root account to obtain the necessary information from the system. In these cases, if the user executing CVU does not have root status, the following message will be reported:
"PRVG-11250 : The check "RPM Package Manager database" was not performed because it needs 'root' user privileges."
MOS document: Cluvfy execution error: PRVG-11250 The Check "RPM Package Manager Database" Was Not Performed (Doc ID 2639911.1)
Solution:
./runcluvfy.sh stage -pre crsinst -n db1,db2 -method root
Enter "ROOT" password:
+ASM1:/home/grid@db1> /u01/app/19.0.0/grid_1/runcluvfy.sh stage -pre crsinst -n db1,db2
Performing following verification checks ...
Physical Memory ...PASSED
Available Physical Memory ...PASSED
Swap Size ...PASSED
Free Space: db2:/usr,db2:/var,db2:/etc,db2:/u01/app/19.0.0/grid_1,db2:/sbin,db2:/tmp ...PASSED
Free Space: db1:/usr,db1:/var,db1:/etc,db1:/u01/app/19.0.0/grid_1,db1:/sbin,db1:/tmp ...PASSED
...........
...........
RPM Package Manager database ...INFORMATION
PRVG-11250 : The check "RPM Package Manager database" was not performed because
it needs 'root' user privileges.
Refer to My Oracle Support notes "2548970.1" for more details regarding errors
PRVG-11250".
...........
...........
+ASM1:/home/grid@db1> /u01/app/19.0.0/grid_1/runcluvfy.sh stage -pre crsinst -n db1,db2 -method root
Enter "ROOT" password:
...........
...........
There is no similar alarm, indicating that the problem has been avoided