DEV Community

Santiago Zarate
Santiago Zarate

Posted on • Originally published at foursixnine.io on

1 4

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more