after yum update, can't yum update yet, some error occured
Linux - NewbieThis 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
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.
after yum update, can't yum update yet, some error occured
i have installed centos6.4, after have yum update i cannot yum update again, there are some trouble as follows:
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 46, in <module>
import tempfile
File "/usr/lib/python2.6/tempfile.py", line 34, in <module>
from random import Random as _Random
File "/usr/lib/python2.6/random.py", line 873, in <module>
_inst = Random()
File "/usr/lib/python2.6/random.py", line 96, in __init__
self.seed(x)
File "/usr/lib/python2.6/random.py", line 110, in seed
a = long(_hexlify(_urandom(16)), 16)
OSError: [Errno 2] No such file or directory: '/dev/urandom'
can someone tell how to resolve this problem?
thanks
The problem reported is the /dev/urandom is not available on your system. Since that device is a kernel psudo-device, its absence suggests that you installation was not done correctly.
As superuser ("root"), try the command mknod -m 644 /dev/urandom c 1 9 to create the (psudo) device. (See man random for details.)
That might clear up your current problem, but I strongly suspect that you'll have additional problems until you re-install your system.
thank you for your advice, after following your advice, i try the command mknod -m 644 /dev/urandom c 1 9, then yum update again , there is not new error prompt.
i have installed centos 6.4 in my PC with DVD1 completely,but not DVD2, i have not met this kind of problem in previous veriosn.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.