Solved

Resolve RPM Dependencies

Posted on 2011-09-05
7
1,328 Views
Last Modified: 2012-05-12
I'm trying to install 11gR2 on Oracle's unbreakable Linux 64 bit.  In the documentation the pre-installation requirements include RPM(s) one of which is elfutils-libelf-devel-0.125.   When I try rpm -ivhelfutils-libelf-devel-0-137.3 el5.x86_64rpm, I get a message missing dependency elfutils-libelf-sevel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0135-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64)
Im trying to use the 5.7 of Oracle's Unbreakable Linux.  The more i try to resolve one the dependencies the more dependencies pop up.
Has anyone gone through that install and figured how to resolve and move on to the install short of just installing on Windows?? :-)
0
Comment
Question by:xoxomos
  • 4
  • 3
7 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36485740
Use (as root)
yum install elfutils-libelf-devel

Here is hot to setup yum repository if your yum doesn't work
http://www.oracle.com/technetwork/topics/linux/yum-repository-setup-085606.html
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36485778
This URL has more details:
http://apps2fusion.com/apps/installation-mainmenu-51/27-virtual-machine/451-install-rpm-oracle-enterprise-linux-5
------------- Quote ----
cd /etc/yum.repos.d
To download files here
wget http://public-yum.oracle.com/public-yum-el5.repo

A file named public-yum-el5.repo will be created in your directory
Edit this file and enter enabled=1 against the operating systems which is relevant to you
vi public-yum-el5.repo

Next run the yum command
yum install package-name
0
 

Author Comment

by:xoxomos
ID: 36486110
Yum is installed on the machine, so that is not the problem.  If instead of rpm, i enter:
[root@localhost Server]# yum install elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Examining elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: elfutils-libelf-devel-0.137-3.el5.x86_64
Marking elfutils-libelf-devel-0.137-3.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 for package: elfutils-libelf-devel
--> Finished Dependency Resolution
elfutils-libelf-devel-0.137-3.el5.x86_64 from /elfutils-libelf-devel-0.137-3.el5.x86_64 has depsolving problems
  --> Missing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64)
Error: Missing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64)
 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.


OK, so if i go for the *static* business, it puts me into some other loop.
-rw-r--r-- 1 ion root  65200 Nov 17  2010 elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
[root@localhost Server]# yum install elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Examining elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm: elfutils-libelf-devel-static-0.137-3.el5.x86_64
Marking elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel-static.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 for package: elfutils-libelf-devel-static
--> Finished Dependency Resolution
elfutils-libelf-devel-static-0.137-3.el5.x86_64 from /elfutils-libelf-devel-static-0.137-3.el5.x86_64 has depsolving problems
  --> Missing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-static-0.137-3.el5.x86_64 (/elfutils-libelf-devel-static-0.137-3.el5.x86_64)
Error: Missing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-static-0.137-3.el5.x86_64 (/elfutils-libelf-devel-static-0.137-3.el5.x86_64)
 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.


0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:xoxomos
ID: 36486162
for the devel it's telling me i first need the static.
for the static it 's telling me i first need the devel?????
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36486239
1. Make sure internet connection

2. No .rpm, you are install from internet, not local rpm file, just
yum  install  elfutils-libelf-devel  elfutils-libelf-devel-static
0
 

Author Comment

by:xoxomos
ID: 36486340
Now i seem to be going in circles here:

[root@localhost Server]# yum install elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Examining elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm: elfutils-libelf-devel-static-0.137-3.el5.x86_64
Marking elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel-static.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 for package: elfutils-libelf-devel-static
--> Finished Dependency Resolution
elfutils-libelf-devel-static-0.137-3.el5.x86_64 from /elfutils-libelf-devel-static-0.137-3.el5.x86_64 has depsolving problems
  --> Missing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-static-0.137-3.el5.x86_64 (/elfutils-libelf-devel-static-0.137-3.el5.x86_64)
Error: Missing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-static-0.137-3.el5.x86_64 (/elfutils-libelf-devel-static-0.137-3.el5.x86_64)
 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.
[root@localhost Server]# ls -la elfutils-libelf-devel-*
-rw-r--r-- 1 ion root 25032 Nov 17  2010 elfutils-libelf-devel-0.137-3.el5.i386.rpm
-rw-r--r-- 1 ion root 25004 Nov 17  2010 elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 ion root 67474 Nov 17  2010 elfutils-libelf-devel-static-0.137-3.el5.i386.rpm
-rw-r--r-- 1 ion root 65200 Nov 17  2010 elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
[root@localhost Server]# yum install elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Examining elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: elfutils-libelf-devel-0.137-3.el5.x86_64
Marking elfutils-libelf-devel-0.137-3.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.137-3.el5 set to be updated
--> Processing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 for package: elfutils-libelf-devel
--> Finished Dependency Resolution
elfutils-libelf-devel-0.137-3.el5.x86_64 from /elfutils-libelf-devel-0.137-3.el5.x86_64 has depsolving problems
  --> Missing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64)
Error: Missing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64)
 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.
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 400 total points
ID: 36486348
> # yum install elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm    <===== (X)
Again, Please DO NOT run yum with .rpm. Just type EXACTLY command I give
yum  install  elfutils-libelf-devel  elfutils-libelf-devel-static
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now