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')

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*

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

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.