LinuxQuestions.org
Review your favorite Linux distribution.
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 02-15-2013, 08:27 AM   #1
droodle
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
RHEL 5.8 SVR adding source packages


I have installed RHEL 5.8 and need to test an application - when i try and install the application it it says ..

FAIL -- The 64-bit RPM package of openmotif is not installed
FAIL -- Error RPM openmotif not installed
FAIL -- Error RPM sharutils not installed
FAIL -- The 64-bit RPM package of compat-db is not installed
FAIL -- Error RPM compat-db not installed
FAIL -- Error RPM gcc not installed
FAIL -- Error RPM gcc-c++ not installed
FAIL -- The 64-bit RPM package of glibc-devel is not installed
FAIL -- Error RPM glibc-devel not installed
FAIL -- The 64-bit RPM package of libstdc++-devel is not installed
FAIL -- Error RPM libstdc++-devel not installed
FAIL -- Error RPM libXp not installed
FAIL -- The 32-bit RPM package of libXpm is not installed
FAIL -- Error RPM libXpm not installed
FAIL -- The 64-bit RPM package of gd is not installed
FAIL -- Error RPM gd not installed
FAIL -- Required utility uudecode was not found in /usr/bin.

So i can see the src packages on the DVD i used to install the server in /media/RHEL_5.8 Source/SRPMS

when i try and use software installer i get

"cannot install source packages"

if i try and use yum i get

"[root@localhost SRPMS]# yum install gd-2.0.33-9.4.el5_4.2.src.rpm
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Examining gd-2.0.33-9.4.el5_4.2.src.rpm: gd-2.0.33-9.4.el5_4.2.src
Cannot add package gd-2.0.33-9.4.el5_4.2.src.rpm to transaction. Not a compatible architecture: src
Nothing to do
[root@localhost SRPMS]#

PLS help - thanks.
 
Old 02-15-2013, 08:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Didn't know it personally, but it looks like you can't install src.rpms through yum. just use rpm directly...

rpm -Uvh whatever.src.rpm
 
Old 02-15-2013, 09:07 AM   #3
droodle
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
[root@localhost home]# rpm -Uvh subscription-manager-0.98.16.3-1.el5_8.src.rpm
warning: subscription-manager-0.98.16.3-1.el5_8.src.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
1:subscription-manager warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
[root@localhost home]#

then i get ..

Missing Dependency: subscription-manager = 0.98.16.3-1.el5_8 is needed by package subscription-manager-gnome-0.98.16.3-1.el5_8.x86_64 (rhel-x86_64-server-5)
 
Old 02-15-2013, 03:26 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
when do you get that? You've not DONE anything...??

As far as the error itself goes, yes, that's a conventional dependency, an yum can install that just fine.
 
Old 02-16-2013, 07:49 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Why install the src pkgs?
The original post just says it can't find the required pkgs (ok; rpms; but even so ..).
How about using yum to install them?

What app are you trying to install and what cmd are you using?
Do the App docs say you need the src rpms; that would be very unusual.
 
Old 05-28-2013, 05:16 AM   #6
thijz
LQ Newbie
 
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
hi

i am experiencing the same issue while updating via 'pup' (rh5.8)
i have registered my server (rhn_register) and now i'm running pup and i get the same error message :

"Missing Dependency: subscription-manager = 0.98.16.3-1.el5_8 is needed by package subscription-manager-gnome-0.98.16.3-1.el5_8.x86_64 (rhel-x86_64-server-5)"

this is a brand new system ...

all tips are welcome
 
Old 05-28-2013, 05:27 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
Try it from the cmd line and show what you did and the responses you got.
Use code tags to post them https://www.linuxquestions.org/quest...do=bbcode#code
 
Old 05-28-2013, 08:40 AM   #8
thijz
LQ Newbie
 
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
hi Chris
thanks for the code tag tip
i'm new to redhat (been using ubuntu for about 6 years) : what is the cli equivalent of pup ?

grtz
Thijs

edit : btw, i have this issue on 2 servers (installed both at the same time using the same procedure)

Last edited by thijz; 05-28-2013 at 08:42 AM.
 
Old 05-28-2013, 09:06 AM   #9
thijz
LQ Newbie
 
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
ok 'yum update'
got it
let me try
 
Old 05-29-2013, 02:22 AM   #10
thijz
LQ Newbie
 
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
yum update seems to work just fine ...
when i start pup after the yum update has completed it shows 'there are no updates available'

wierd ...
ah well seems ok now

thanks for you time !

grtz
Thijs
 
Old 05-29-2013, 02:51 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
top tip... don't use pup. silly little toy that it is.
 
  


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
Ubuntu Maverick live CD repository packages not found / adding packages to repository phed0ra Linux - Newbie 1 01-10-2012 03:00 AM
Installation of packages in RHEL-5.3 using X windows menu Add/Remove packages akluthra Linux - Newbie 2 09-21-2010 05:34 AM
how to show up all available packages in system-config-packages (RHEL 5) sean_zhang Linux - Newbie 1 03-10-2008 05:05 AM
RHEL 3 WS & Windows 2003 Svr Problems sfagundes Linux - Networking 1 07-07-2004 01:03 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 PM.

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