LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2012, 02:52 PM   #1
CassieLinux
LQ Newbie
 
Registered: Mar 2012
Distribution: RedHat
Posts: 2

Rep: Reputation: Disabled
How to solve package dependency problem when install Octave ?


Hi
My machine has RedHat 5 linux.
I guess I have installed epel-release-5-4.noarch.rpm because I can run "yum" command.
However, when I ran "yum install octave", it complained "Missing dependency" as

Code:
gcc-gfortran-4.1.2-44.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: libgfortran = 4.1.2-44.el5 is needed by package gcc-gfortran-4.1.2-44.el5.x86_64 (installed)
Error: Missing Dependency: libgfortran = 4.1.2-44.el5 is needed by package gcc-gfortran-4.1.2-44.el5.x86_64 (installed)
However, when I typed "yum list libgfortran", the system showed something as

Code:
Loaded plugins: rhnplugin, security  
Installed Packages  
libgfortran.x86_64               4.1.2-44.el5               installed             
Available Packages  
libgfortran.i386                 4.1.2-52.el5               rhel-x86_64-client-5  
libgfortran.x86_64               4.1.2-52.el5               rhel-x86_64-client-5
I guess it meant that I already have libgfortran.x86_64 installed. If so, why cannot the "yum" command solve the dependency problem ? Anyone has any idea ?
Or should I install epel-release-5-4.noarch.rpm again to solve this problem ?

Thank you very much,

Cassie
 
Old 03-08-2012, 03:03 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Possibly (blind guess) that the packages/dependencies are not in your PATH, you can (if needed) append this:

Quote:
PATH=the/path/you/wanna/add:$PATH
(no spaces) anywhere in a startup script.

By the way, is your distro THAT old? Redhat 5 -hmm, I started with 8 wayway back. Maybe a newer install??? Unless I'm missing a stitch in the "needle work"???

By the way, welcome here!!!

Just a thought

Good luck

Thor
 
Old 03-08-2012, 04:55 PM   #3
CassieLinux
LQ Newbie
 
Registered: Mar 2012
Distribution: RedHat
Posts: 2

Original Poster
Rep: Reputation: Disabled
Unhappy

Hi Thanks for reply.
I add some path such as "/usr/bin/yum" to the bash_profile file at my root directory
as PATH=$PATH:$HOME/bin:/usr/bin/yum.
However, when I typed command "yum install octave again", it still can not work.Very frustrating~
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install software dependency package need very difficult. hocheetiong Linux - Newbie 1 09-11-2007 09:19 AM
Octave won't install because of dependency jwheel83 Linux - Desktop 1 10-08-2006 07:58 AM
How to solve dependency problem? (sarge vs backport) kaz2100 Debian 2 05-31-2006 04:42 PM
octave install problem. bruse Linux - Newbie 1 08-13-2005 01:40 PM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM


All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration