Re: 21c preinstall RPM package on RHEL 8

From: Mikhail Velikikh <mvelikikh_at_gmail.com>
Date: Wed, 11 Jan 2023 11:26:29 +0000
Message-ID: <CALe4Hp=TE_QXomnP6uTy2DsKmkYm-Y0QwR1FrqNTiVUuSODqKQ_at_mail.gmail.com>



Hi Nenad,

I did it now on RHEL 8.7 without any issues. Your RPM must be corrupted. It should be about 30K, not 10 bytes:

[root_at_rac1 tmp]# ls -l oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm -rw-r--r-- 1 root root 30772 Jan 11 11:16 oracle-database-preinstall- 21c-1.0-1.el8.x86_64.rpm

I can get the same errors if I provide a "corrupt" RPM:

[root_at_rac1 tmp]# echo "somestring" > 1.rpm [root_at_rac1 tmp]# yum -y localinstall 1.rpm Updating Subscription Management repositories. Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:04:22 ago on Wed 11 Jan 2023 11:18:36 AM UTC.
Can not load RPM file: 1.rpm.
Could not open: 1.rpm

On Wed, 11 Jan 2023 at 11:03, Nenad Noveljic <nenad.noveljic_at_gmail.com> wrote:

> Has anyone run database 21c preinstall RPM package on RHEL 8?
>
> yum -y localinstall oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
>
> Updating Subscription Management repositories.
>
> Unable to read consumer identity
>
>
> This system is not registered with an entitlement server. You can use
> subscription-manager to register.
>
>
> Repository ol8_baseos_latest is listed more than once in the configuration
>
> Last metadata expiration check: 0:00:41 ago on Wed 11 Jan 2023 10:54:03 AM
> UTC.
>
> Can not load RPM file: oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm.
>
> Could not open: oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
>
>
>
> [root_at_ip-172-21-50-154 tmp]# ls -l
> oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
>
> -rw-r--r--. 1 root root 10 Jan 11 10:22
> oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
>
>
> Best regards,
>
>
> Nenad
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 11 2023 - 12:26:29 CET

Original text of this message