Link to home
Start Free TrialLog in
Avatar of xoxomos
xoxomos

asked on

Resolve RPM Dependencies

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?? :-)
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

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
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
Avatar of xoxomos
xoxomos

ASKER

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.


Avatar of xoxomos

ASKER

for the devel it's telling me i first need the static.
for the static it 's telling me i first need the devel?????
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
Avatar of xoxomos

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial