DEV Community

Santiago Zarate
Santiago Zarate

Posted on • Originally published at foursixnine.io on

gentoo eix-update failure

Summary

If you are having the following error on your Gentoo system:

Can't open the database file '/var/cache/eix/portage.eix' for writing (mode = 'wb')
Enter fullscreen mode Exit fullscreen mode

Don’t waste your time, simply the /var/cache/eix directory is not present and/or writeable by the eix/portage use

mkdir -p /var/cache/eix
chmod +w /var/cache/eix*
Enter fullscreen mode Exit fullscreen mode

Basic story is that eix will drop privileges to portage user when ran as root.

Top comments (0)