I install eix on clean system - from stage3 and have an error: (chroot) livecd / # eix-update Reading Portage settings... Building database (/var/cache/eix/portage.eix)... [0] "gentoo" /usr/portage/ (cache: metadata-md5-or-flat) Reading category 164|164 (100) Finished Applying masks... Calculating hash tables... Writing database file /var/cache/eix/portage.eix... cannot open database file /var/cache/eix/portage.eix for writing (mode = 'wb') For work eix directory I have wrong owner (root, need portage): (chroot) livecd / # ls -al /var/cache/eix/ total 8 drwxr-xr-x 2 root root 4096 Nov 22 07:31 . drwxr-xr-x 6 root root 4096 Nov 22 07:31 .. -rw-r--r-- 1 root root 0 Nov 22 07:31 .keep_app-portage_eix-0 This directory create by installation system (part of emerge message in console): --- /var/ --- /var/cache/ >>> /var/cache/eix/ >>> /var/cache/eix/.keep_app-portage_eix-0 Than I change directory owner to portage eix-update final its work correctly: (chroot) livecd / # chown -R portage:portage /var/cache/eix (chroot) livecd / # eix-update Reading Portage settings... Building database (/var/cache/eix/portage.eix)... [0] "gentoo" /usr/portage/ (cache: metadata-md5-or-flat) Reading category 164|164 (100) Finished Applying masks... Calculating hash tables... Writing database file /var/cache/eix/portage.eix... Database contains 19614 packages in 164 categories
Stage is: stage3-amd64-20181113T214502Z.tar.xz
This is stable release system with sys-apps/opentmpfiles-0.1.3.
Than I install the newest version of sys-apps/opentmpfiles (sys-apps/opentmpfiles-0.2) and reinstall sys-apps/eix I have success eix-update command result (and correct owner of /var/cache/eix directory): (chroot) livecd / # ls -l /var/cache/ total 16 drwxr-xr-x 3 root portage 4096 Nov 22 09:25 edb drwxrwxr-x 2 portage portage 4096 Nov 22 09:25 eix drwx------ 2 root root 4096 Nov 22 09:25 ldconfig drwxr-xr-x 2 man man 4096 Nov 14 00:04 man (chroot) livecd / # eix-update Reading Portage settings... Building database (/var/cache/eix/portage.eix)... [0] "gentoo" /usr/portage/ (cache: metadata-md5-or-flat) Reading category 164|164 (100) Finished Applying masks... Calculating hash tables... Writing database file /var/cache/eix/portage.eix... Database contains 19614 packages in 164 categories
*** This bug has been marked as a duplicate of bug 671318 ***