RPM won't work / dbpath error Print

  • 0

If you receive error(s) similar to these you will likely need to re-create /dev/urandom as it's a known OpenVZ kernel bug:

[root@vps ~]# yum update
Loaded plugins: fastestmirror
error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}

To fix this error issue the following commands:

rm -f /dev/urandom
mknod -m 644 /dev/urandom c 1 9

You should now be able to run RPM / Yum. If you're still experiencing issues please contact our VPS support department.

Was this answer helpful?

« Back

Ready to get started? Build your site from
$2.24/mo
GET STARTED NOW