Red HatThis forum is for the discussion of Red Hat Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am working with a RHEL 5.6 server and having a very difficult time getting an issue with yum resolved. After many hours scouring the internet I still have yet to discover the right fix. I noticed this is a common problem which has many variant. In general yum fails with about every switch except
yum clean all
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 665, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 254, in _getConfig
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 111, in init_hook
login_info = up2dateAuth.getLoginInfo()
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 219, in getLoginInfo
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 186, in login
li = server.up2date.login(systemId)
File "/usr/share/rhn/up2date_client/rhnserver.py", line 64, in __call__
up2date_client.up2dateErrors.SSLCertificateVerifyFailedError: The SSL certificate failed verification.
Here is what I have tried so far:
yum clean all
Check for failed dependencies:
rpm -Va python\* yum\*
Rebuild rpm database:
Rebuild urandom in /dev:
mv urandom urandom.old
mknod -m 644 /dev/urandom c 1 9
I'm very anxious to get this resolved without rebuilding the entire server. Any help is greatly appreciated.
I'm actually trying to install packages from a locally mounted RHEL iso file and am not using RHN. I'm not sure if that makes a difference. I have tried disble all repos and just used the one I created for the iso file.
Sorry to say. I have already created a the repo in /etc/yum.repos.d. I get this error just by doing some thing as simple as a yum repolist. I have also tried to disable all repos and just used the one for the mounted ISO.
Anyone know of a way to completely bypass the RHN?
If you mean bypass as in "not polling any remote resources" when using local sources only then there's the Yum "-C" switch to try. OTOH if you mean bypass as in "circumventing access methods" then jkirchner is right and the question would become one we'd rather not like to see on LQ. So please be clear and careful what you ask for.