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.
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.
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.