Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
#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
#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"??
$ 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.
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.
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.
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.