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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay