LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2012, 11:05 AM   #1
redhat6user
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Rep: Reputation: Disabled
Problem with yum on RedHat 6


Hello, I have a supposedly registered RH 6 server (uname -a output: Linux xxx.domain.com 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux)
I have problems using yum on the box. When I try to get a list of packages, nothing gets returned:
#yum list available
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
[root@xxx tmp]# yum list updates

When I try to install a package, I get an error:
[root@xxx tmp]# yum install ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
No package ld-linux.so.2 available.
Error: Nothing to do

Can someone please help me resolve this issue? Thanks in advance for any help!
 
Old 03-19-2012, 11:11 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
try:

Code:
yum provides ld-linux.so.2
this should tell you the actual name of the package you actually have to install.
 
Old 03-19-2012, 11:24 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
To add to what snowpine said, since you've got a RedHat subscription, just call RedHat support...that's what you're paying them for.
 
Old 03-19-2012, 11:56 AM   #4
redhat6user
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
#yum provides ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/ld-linux.so.2" and/or "*bin/ld-linux.so.2" to get that behaviour
No Matches found

# yum provides */ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
No Matches found

# yum provides *bin/ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
No Matches found
 
Old 03-19-2012, 01:56 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by redhat6user View Post
#yum provides ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/ld-linux.so.2" and/or "*bin/ld-linux.so.2" to get that behaviour
No Matches found

# yum provides */ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
No Matches found

# yum provides *bin/ld-linux.so.2
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
No Matches found
Again, have you called RedHat?? If you're paying for a subscription, you are paying for support...call them, and they can walk you through things and answer questions.

That said, what are you trying to install??? That package is part of another package, and is in fact, a symlink to another library. Have you tried just putting in "yum install ld"??
 
Old 03-19-2012, 02:02 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
DISCLAIMER: I am not a Red Hat 6 user!!!!

On my system:

Code:
$ yum provides ld-linux.so.2
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
glibc-2.13-2.i686 : The GNU libc libraries
Repo        : fuduntu
Matched from:
Other       : ld-linux.so.2



glibc-2.13-2.i686 : The GNU libc libraries
Repo        : @locals/$releasever
Matched from:
Other       : ld-linux.so.2
So on Fuduntu, at least, looks like it is provided by glibc. Since you are paying Red Hat the required $299+ per year, give them a call and see if they can confirm this for their distro.
 
Old 03-19-2012, 02:08 PM   #7
redhat6user
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Actually, that may be the problem. Another group (at different location) was supposed to register that instance with rhn and although they confirmed doing it, it doesn't seem to be really done. I will try to get it resolved with them and hopefully that will resolve the issues with yum. What I really need to install is X Window System to get GUI enabled.
 
Old 03-19-2012, 02:13 PM   #8
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
So your actual question is "How do I install X Window System in Red Hat 6?"

Code:
yum group install "X Windows System"
It goes without saying that you must be registered & connected to Red Hat Network for this operation to succeed. If yum is not seeing glibc then that is the likely explanation for the problem.
 
Old 03-19-2012, 02:18 PM   #9
redhat6user
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes, sorry. Running pretty much the command you mentioned above "yum groupinstall "X Window System" " started my path to discovering problems. I mentioned the other package as that was what I successfully installed on another server recently, and when tried on RH 6 system, failed.
What I actually should have asked was why my server doesn't boot into GUI mode, even though I selected KDE desktop package during OS installation. I had never had that problem with earlier distributions like RH 3, 4, or 5.
 
Old 03-19-2012, 02:22 PM   #10
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Try:

Code:
startx
If it doesn't work, any error messages?

If it does work, then the question becomes, how to boot to X by default?

The answer is /etc/inittab; for GUI-by-default, it should say 5 (maybe yours says 3?) Here is the last line of my /etc/inittab file:

Code:
id:5:initdefault:
 
1 members found this post helpful.
Old 03-19-2012, 02:41 PM   #11
redhat6user
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes, mine says 3 so I can change it once I get it to work. Here is the error I get when try to run startx

[root@dhcp-172-21-126-157 ~]# startx
xauth: creating new authority file /root/.serverauth.7331
xauth: creating new authority file /root/.Xauthority
xauth: creating new authority file /root/.Xauthority

xinit: No such file or directory (errno 2): no server "/usr/bin/X" in PATH

Use the -- option, or make sure that /usr/bin is in your path and
that "/usr/bin/X" is a program or a link to the right type of server
for your display. Possible server names include:

Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server

giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.


Yes, /usr/bin is in my path:
[root@dhcp-172-21-126-157 ~]# echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 
Old 03-19-2012, 02:48 PM   #12
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The error message suggests to me that maybe Xorg has not been successfully installed? I would be curious to see the output of:

Code:
yum group install "X Windows System"
 
Old 03-19-2012, 03:21 PM   #13
redhat6user
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
That brings us back to the problem with yum not being able to find any packages. I think I should wait until the system is registered and try again then.
Thanks snowpine!

[root@xxx ~]# yum groupinstall "X Windows System"
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Setting up Group Process
Warning: Group X Windows System does not exist.
No packages in any requested group available to install or update
 
Old 03-19-2012, 04:39 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
please post the output of
Code:
su -
yum repolist all
that will inform you and us as to just what repos are installed and what ones are on or off

also double check the name of "X Windows System"
with
Code:
su -
yum grouplist
 
Old 03-19-2012, 07:57 PM   #15
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you have root access, then
Code:
rhn_register
is the cmd you need, but you will need the RH subscription number ... and of course network access to the internet
 
  


Reply



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
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
yum on redhat 5.3 not work python module problem cormanstnl Red Hat 1 04-10-2009 09:26 AM
problem installing yum on redhat 9 raman_31181 Linux - Newbie 7 09-05-2008 11:57 PM
yum problem while installing vlc in RedHat FC4 g_srinivas Linux - Software 1 07-20-2005 10:18 PM
RE: Redhat 9, yum update and nvidia problem MunCH Red Hat 2 06-12-2004 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:36 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
Open Source Consulting | Domain Registration