microsoft / omi

Open Management Infrastructure
Other
360 stars 114 forks source link

Unable to install omi-1.6.8-0.ssl_100.ulinux.x64.rpm on Oracle Linux 8.4 #689

Closed chris-deluca closed 3 years ago

chris-deluca commented 3 years ago

Issue: $ sudo yum upgrade -y

Package Architecture Version Repository Size

Upgrading: omi x86_64 1.6.8-0 packages-microsoft-com-prod 1.8 M

Transaction Summary

Upgrade 1 Package

Total download size: 1.8 M Downloading Packages: omi-1.6.8-0.ssl_100.ulinux.x64.rpm 1.8 MB/s | 1.8 MB 00:01

Total 1.8 MB/s | 1.8 MB 00:01
Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: omi-1.6.8-0.x86_64 1/2 Expecting SSL version (compatible with): 1.0.0 SSL version found on system: 1.1.1g

Incorrect version of OMI for your system, please check SSL version. error: %prein(omi-1.6.8-0.x86_64) scriptlet failed, exit status 3

Error in PREIN scriptlet in rpm package omi Verifying : omi-1.6.8-0.x86_64 1/2 Verifying : omi-1.6.4-0.x86_64 2/2

Failed: omi-1.6.4-0.x86_64 omi-1.6.8-0.x86_64

Error: Transaction failed

chris-deluca commented 3 years ago

omi-error

Here is a photo of the error as it has better formatting.

JumpingYang001 commented 3 years ago

thanks for filing it! we have both openssl 1.0 omi package and openssl 1.1 omi package , but yum cannot recognize which version to install.

JumpingYang001 commented 3 years ago

@chris-deluca it seems Oracle isn't in https://packages.microsoft.com/, I guess you installed Red Hat MS Repo version, maybe you can try this command wget https://packages.microsoft.com/rhel/8/prod/omi-1.6.8-0.ssl_110.ulinux.x64.rpm;rpm -Uvh omi-1.6.8-0.ssl_110.ulinux.x64.rpm to install the correct version directly.

chris-deluca commented 3 years ago

Thank you for the follow up! I was able to manually download and install the package as you've noted above. No errors present. Thanks again!!

chris-deluca commented 3 years ago

Actually - I'll leave this issue open for now in case you want to drive this to get Oracle Enterprise Linux in the repo above.

JumpingYang001 commented 3 years ago

@chris-deluca according to https://docs.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software#enterprise-linux-rhel-and-variants , you are Oracle Linux 8+, so try Enterprise Linux 8 (EL8) sudo rpm -Uvh https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm which is for RHEL and variants, so it is ok for Oracle 8. I think your existed repo was used redhat 7 repo.

JumpingYang001 commented 3 years ago

Since the issue has been fixed, I close this issue, thanks.