Search This Blog

Total Pageviews

Saturday, 25 December 2021

Error: Error: rpmdb failed to list provides. Try: rpm --rebuilddb


oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm Error: Error: rpmdb failed to list provides. Try: rpm --rebuilddb
Error: Error: rpmdb failed to list provides. Try: rpm --rebuilddb

Download from ... 

https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/

	oracle-database-preinstall-19c-1.0-1.el8.x86_64.rpm
        oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
	oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm


curl -o oracle-database-preinstall-19c-1.0-1.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/oracle-database-preinstall-19c-1.0-1.el8.x86_64.rpm


curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm


curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm


[root@ora19c /]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 (Ootpa)


getting below error !!!
dnf install -y oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
Error: Error: rpmdb failed to list provides. Try: rpm --rebuilddb


[root@ora19c /]# ps aux | grep -E 'rpm|yum'
root       79568  0.0  0.0  12128  1100 pts/1    R+   17:06   0:00 grep --color=auto -E rpm|yum

[root@ora19c /]# rm /var/lib/rpm/__db*
rm: remove regular file '/var/lib/rpm/__db.001'? y
rm: remove regular file '/var/lib/rpm/__db.002'? y
rm: remove regular file '/var/lib/rpm/__db.003'? y

[root@ora19c /]# dnf install -y oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
Error: Error: rpmdb failed to list provides. Try: rpm --rebuilddb

Do below !!

[root@ora19c /]# rpm --rebuilddb
[root@ora19c /]# yum clean all
558 files removed
======================================================================================================================================================================================================


[root@ora19c /]# dnf install -y oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
Oracle Linux 8 BaseOS Latest (x86_64)                                                                                                                                        3.7 MB/s |  41 MB     00:11
Oracle Linux 8 Application Stream (x86_64)                                                                                                                                   3.6 MB/s |  31 MB     00:08
Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)                                                                                                   3.6 MB/s |  31 MB     00:08
Last metadata expiration check: 0:00:18 ago on Sat 25 Dec 2021 17:10:01 GMT.
Dependencies resolved.
=============================================================================================================================================================================================================
 Package                                                   Architecture                      Version                                                      Repository                                    Size
=============================================================================================================================================================================================================
Installing:
 oracle-database-preinstall-19c                            x86_64                            1.0-2.el8                                                    @commandline                                  31 k
Installing dependencies:
 findutils                                                 x86_64                            1:4.6.0-20.el8                                               ol8_baseos_latest                            528 k
 glibc-devel                                               x86_64                            2.28-164.0.1.el8                                             ol8_baseos_latest                            1.0 M
 ksh                                                       x86_64                            20120801-254.0.1.el8                                         ol8_appstream                                927 k
 libaio-devel                                              x86_64                            0.3.112-1.el8                                                ol8_baseos_latest                             19 k
 libnsl                                                    x86_64                            2.28-164.0.1.el8                                             ol8_baseos_latest                            104 k
 libstdc++-devel                                           x86_64                            8.5.0-4.0.1.el8_5                                            ol8_appstream                                2.1 M
 libxcrypt-devel                                           x86_64                            4.1.1-6.el8                                                  ol8_baseos_latest                             25 k
 lm_sensors-libs                                           x86_64                            3.4.0-23.20180522git70f7e08.el8                              ol8_baseos_latest                             59 k
 make                                                      x86_64                            1:4.2.1-10.el8                                               ol8_baseos_latest                            498 k
 net-tools                                                 x86_64                            2.0-0.52.20160912git.el8                                     ol8_baseos_latest                            322 k
 sysstat                                                   x86_64                            11.7.3-6.0.1.el8                                             ol8_appstream                                425 k
 unzip                                                     x86_64                            6.0-45.el8_4                                                 ol8_baseos_latest                            195 k
 util-linux                                                x86_64                            2.32.1-28.el8                                                ol8_baseos_latest                            2.5 M

Transaction Summary
=============================================================================================================================================================================================================
Install  14 Packages

Total size: 8.6 M
Total download size: 8.6 M
Installed size: 33 M
Downloading Packages:
(1/13): findutils-4.6.0-20.el8.x86_64.rpm                                                                                                                                    1.3 MB/s | 528 kB     00:00
(2/13): libnsl-2.28-164.0.1.el8.x86_64.rpm                                                                                                                                   1.6 MB/s | 104 kB     00:00
(3/13): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm                                                                                                                               829 kB/s |  25 kB     00:00
(4/13): lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64.rpm                                                                                                           1.1 MB/s |  59 kB     00:00
(5/13): glibc-devel-2.28-164.0.1.el8.x86_64.rpm                                                                                                                              1.5 MB/s | 1.0 MB     00:00
(6/13): make-4.2.1-10.el8.x86_64.rpm                                                                                                                                         2.1 MB/s | 498 kB     00:00
(7/13): net-tools-2.0-0.52.20160912git.el8.x86_64.rpm                                                                                                                        2.0 MB/s | 322 kB     00:00
(8/13): unzip-6.0-45.el8_4.x86_64.rpm                                                                                                                                        2.2 MB/s | 195 kB     00:00
(9/13): ksh-20120801-254.0.1.el8.x86_64.rpm                                                                                                                                  1.8 MB/s | 927 kB     00:00
(10/13): util-linux-2.32.1-28.el8.x86_64.rpm                                                                                                                                 2.0 MB/s | 2.5 MB     00:01
(11/13): libstdc++-devel-8.5.0-4.0.1.el8_5.x86_64.rpm                                                                                                                        2.2 MB/s | 2.1 MB     00:00
(12/13): sysstat-11.7.3-6.0.1.el8.x86_64.rpm                                                                                                                                 1.8 MB/s | 425 kB     00:00
(13/13): libaio-devel-0.3.112-1.el8.x86_64.rpm                                                                                                                               4.3 kB/s |  19 kB     00:04
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                        2.0 MB/s | 8.6 MB     00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                     1/1
  Installing       : libxcrypt-devel-4.1.1-6.el8.x86_64                                                                                                                                                 1/14
  Installing       : glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                                2/14
  Running scriptlet: glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                                2/14
  Installing       : libstdc++-devel-8.5.0-4.0.1.el8_5.x86_64                                                                                                                                           3/14
  Installing       : ksh-20120801-254.0.1.el8.x86_64                                                                                                                                                    4/14
  Running scriptlet: ksh-20120801-254.0.1.el8.x86_64                                                                                                                                                    4/14
  Installing       : util-linux-2.32.1-28.el8.x86_64                                                                                                                                                    5/14
warning: /etc/adjtime created as /etc/adjtime.rpmnew

  Running scriptlet: util-linux-2.32.1-28.el8.x86_64                                                                                                                                                    5/14
  Installing       : unzip-6.0-45.el8_4.x86_64                                                                                                                                                          6/14
  Installing       : net-tools-2.0-0.52.20160912git.el8.x86_64                                                                                                                                          7/14
  Running scriptlet: net-tools-2.0-0.52.20160912git.el8.x86_64                                                                                                                                          7/14
  Installing       : make-1:4.2.1-10.el8.x86_64                                                                                                                                                         8/14
  Running scriptlet: make-1:4.2.1-10.el8.x86_64                                                                                                                                                         8/14
  Installing       : lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                                                                                                                             9/14
  Running scriptlet: lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                                                                                                                             9/14
/sbin/ldconfig: /etc/ld.so.conf.d/kernel-5.4.17-2102.201.3.el8uek.x86_64.conf:6: hwcap directive ignored

  Installing       : libnsl-2.28-164.0.1.el8.x86_64                                                                                                                                                    10/14
  Installing       : libaio-devel-0.3.112-1.el8.x86_64                                                                                                                                                 11/14
  Installing       : findutils-1:4.6.0-20.el8.x86_64                                                                                                                                                   12/14
  Running scriptlet: findutils-1:4.6.0-20.el8.x86_64                                                                                                                                                   12/14
  Installing       : sysstat-11.7.3-6.0.1.el8.x86_64                                                                                                                                                   13/14
  Running scriptlet: sysstat-11.7.3-6.0.1.el8.x86_64                                                                                                                                                   13/14
  Running scriptlet: oracle-database-preinstall-19c-1.0-2.el8.x86_64                                                                                                                                   14/14
  Installing       : oracle-database-preinstall-19c-1.0-2.el8.x86_64                                                                                                                                   14/14
  Running scriptlet: oracle-database-preinstall-19c-1.0-2.el8.x86_64                                                                                                                                   14/14
/sbin/ldconfig: /etc/ld.so.conf.d/kernel-5.4.17-2102.201.3.el8uek.x86_64.conf:6: hwcap directive ignored

  Verifying        : findutils-1:4.6.0-20.el8.x86_64                                                                                                                                                    1/14
  Verifying        : glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                                2/14
  Verifying        : libaio-devel-0.3.112-1.el8.x86_64                                                                                                                                                  3/14
  Verifying        : libnsl-2.28-164.0.1.el8.x86_64                                                                                                                                                     4/14
  Verifying        : libxcrypt-devel-4.1.1-6.el8.x86_64                                                                                                                                                 5/14
  Verifying        : lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                                                                                                                             6/14
  Verifying        : make-1:4.2.1-10.el8.x86_64                                                                                                                                                         7/14
  Verifying        : net-tools-2.0-0.52.20160912git.el8.x86_64                                                                                                                                          8/14
  Verifying        : unzip-6.0-45.el8_4.x86_64                                                                                                                                                          9/14
  Verifying        : util-linux-2.32.1-28.el8.x86_64                                                                                                                                                   10/14
  Verifying        : ksh-20120801-254.0.1.el8.x86_64                                                                                                                                                   11/14
  Verifying        : libstdc++-devel-8.5.0-4.0.1.el8_5.x86_64                                                                                                                                          12/14
  Verifying        : sysstat-11.7.3-6.0.1.el8.x86_64                                                                                                                                                   13/14
  Verifying        : oracle-database-preinstall-19c-1.0-2.el8.x86_64                                                                                                                                   14/14

Installed:
  findutils-1:4.6.0-20.el8.x86_64       glibc-devel-2.28-164.0.1.el8.x86_64             ksh-20120801-254.0.1.el8.x86_64                       libaio-devel-0.3.112-1.el8.x86_64
  libnsl-2.28-164.0.1.el8.x86_64        libstdc++-devel-8.5.0-4.0.1.el8_5.x86_64        libxcrypt-devel-4.1.1-6.el8.x86_64                    lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64
  make-1:4.2.1-10.el8.x86_64            net-tools-2.0-0.52.20160912git.el8.x86_64       oracle-database-preinstall-19c-1.0-2.el8.x86_64       sysstat-11.7.3-6.0.1.el8.x86_64
  unzip-6.0-45.el8_4.x86_64             util-linux-2.32.1-28.el8.x86_64

Complete!
[root@ora19c /]#


shmmax -->Half the size of physical memory in bytes
shmall -->Greater than or equal to the value of shmmax, in pages.

shmmni is set to recommended value 4096

Maximum SHMMAX values for Linux x86 and x86-64 ( Doc ID 567506.1 )
Relationship Between SGA_TARGET and SHMMAX ( Doc ID 1527109.1 )

https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/minimum-parameter-settings-for-installation.html


No comments:

Oracle DBA

anuj blog Archive