Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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

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

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

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,

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

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

(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

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

Original Poster
Rep: Reputation: Disabled

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~


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 08:19 AM
Octave won't install because of dependency jwheel83 Linux - Desktop 1 10-08-2006 06:58 AM
How to solve dependency problem? (sarge vs backport) kaz2100 Debian 2 05-31-2006 03:42 PM
octave install problem. bruse Linux - Newbie 1 08-13-2005 12:40 PM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM > Forums > Linux Forums > Linux - Newbie

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

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