Asset ID: |
1-72-1663549.1 |
Update Date: | 2014-08-01 |
Keywords: | |
Solution Type
Problem Resolution Sure
Solution
1663549.1
:
ODA: Upgrade To 2.9.0.0.0 fails with error "Failed To Update The OS" due to rpm dependencies.
Related Items |
- Oracle Database Appliance
- Oracle Database Appliance Software
- Linux OS
|
Related Categories |
- PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
|
Created from <SR 3-8858549831>
Applies to:
Oracle Database Appliance Software - Version 2.6.0.0 to 2.9.0.0 [Release 2.6 to 2.9]
Linux OS - Version Oracle Linux 5.8 and later
Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Linux x86-64
Symptoms
Upgrading to ODA 2.9.0.0.0 is failing with rpm dependency check. The following error messages can be seen from upgrade logs:
> --> Running transaction check
> --> Processing Dependency: e2fsprogs-libs = 1.39-35.0.1.el5 for package: e2fsprogs-devel
> --> Processing Dependency: e2fsprogs-libs = 1.39-35.0.1.el5 for package: e2fsprogs-devel
> --> Processing Dependency: krb5-libs = 1.6.1-70.el5 for package: krb5-devel
> ---> Package perl-Digest-SHA1.x86_64 0:2.11-1.2.1 set to be updated
> --> Finished Dependency Resolution
> e2fsprogs-devel-1.39-35.0.1.el5.x86_64 from installed has depsolving problems
> --> Missing Dependency: e2fsprogs-libs = 1.39-35.0.1.el5 is needed by package e2fsprogs-devel-1.39-35.0.1.el5.x86_64 (installed)
> e2fsprogs-devel-1.39-35.0.1.el5.x86_64 from installed has depsolving problems
> --> Missing Dependency: e2fsprogs-libs = 1.39-35.0.1.el5 is needed by package e2fsprogs-devel-1.39-35.0.1.el5.x86_64 (installed)
> krb5-devel-1.6.1-70.el5.x86_64 from installed has depsolving problems
> --> Missing Dependency: krb5-libs = 1.6.1-70.el5 is needed by package krb5-devel-1.6.1-70.el5.x86_64 (installed)
> Error: Missing Dependency: e2fsprogs-libs = 1.39-35.0.1.el5 is needed by package e2fsprogs-devel-1.39-35.0.1.el5.x86_64 (installed) <<<<<<<<
> Error: Missing Dependency: krb5-libs = 1.6.1-70.el5 is needed by package krb5-devel-1.6.1-70.el5.x86_64 (installed) <<<<<<<<
> You could try using --skip-broken to work around the problem
> You could try running: package-cleanup --problems
> package-cleanup --dupes
> rpm -Va --nofiles --nodigest
> The program package-cleanup is found in the yum-utils package. ,
>End Command output
2014-04-14 18:40:56: ERROR: Failed to run /usr/bin/yum --exclude=kmod-mpt2sas update --disablerepo=* --enablerepo=ODA_REPOS_LOC -y
2014-04-14 18:40:56: Executing cmd: /opt/oracle/oak/bin/oakcli inventory -pq -compname OS
2014-04-14 18:40:56: Command output:
> OS=5.9
> cur_version:5.9 ,
>End Command output
2014-04-14 18:40:56: ERROR: Failed to update the OS <<<<<<<<
2014-04-14 18:40:56: Executing /usr/bin/yum --disablerepo=* --enablerepo=ODA_REPOS_LOC clean all
2014-04-14 18:40:56: Executing cmd: /usr/bin/yum --disablerepo=* --enablerepo=ODA_REPOS_LOC clean all
2014-04-14 18:40:57: Command output:
> Loaded plugins: security
> Cleaning up Everything ,
>End Command output
The rpms in your case may be different.
Changes
Non-default RPMs or any third party software RPMs were installed.
Cause
Non-default or any third party software RPMs installed on ODA may cause dependency issues for the next ODA patching session.
When the ODA is updated, these non-default RPMs are not found in repository, and the patching session fails.
In the example above, the non-default rpms are:
openssl-devel-0.9.8e-26.el5_9.1.x86_64
krb5-devel-1.6.1-70.el5.x86_64
e2fsprogs-devel-1.39-35.0.1.el5.x86_64
Solution
1. Remove any non-default RPMs or any RPMs installed by third party softwares from both nodes before proceeding with the ODA upgrade.
a. To check when the RPM was installed:
# rpm -qa --last | grep <rpm_name>
b. To remove the RPM use:
#rpm -e <rpm_name>
In this example above, you would use the following commands:
#rpm -e openssl-devel-0.9.8e-26.el5_9.1.x86_64
#rpm -e krb5-devel-1.6.1-70.el5.x86_64
#rpm -e e2fsprogs-devel-1.39-35.0.1.el5.x86_64
2. After non default RPMs are removed, rerun the ODA infra upgrade. Now the upgrade should finish successfully.
3. After the upgrade is successful, add back the removed RPMs if required for the functioning of any third party software.
NOTE: Verify if there is a newer rpm version for the OS kernel just upgraded on the ODA nodes.
References
<NOTE:1461798.1> - How to download Linux RPM's directly on the Oracle Database Appliance (ODA)
<NOTE:1578415.1> - Dependency Error In OS Upgrade While Applying ODA Patch 2.7.0.0.0
Attachments
This solution has no attachment