As a proxy maintainer of some packages, I need to keep their test versions in local overlay. Soon I've find it inconsistent with my system's portage tree: # eix-update Reading Portage settings .. Building database (/var/cache/eix/portage.eix) .. [0] 'gentoo' /usr/portage/gentoo/ (cache: sqlite) Reading Packages .. Finished [1] 'local_hdd' /usr/portage/local (cache: sqlite) Reading Packages .. Finished Applying masks .. Calculating hash tables .. Writing database file /var/cache/eix/portage.eix .. Database contains 15785 packages in 164 categories. # eix -Ie tora [I] dev-db/tora Available versions: 2.1.1 (~)2.1.3-r1 2.1.3-r2 (~)2.1.3-r3{tbz2} (~)3.0.0_pre201409-r2^m[1] (~)3.0.0_pre20140918^m[1] (~)3.0.0_pre20140924^m[1] (~)3.0.0_pre20140928^m[1] (~)3.0.0_pre20140928-r1^m[1] (~)3.0.0_pre20140928-r2^m[1] (~)3.0.0_pre20140929 (~)3.0.0_pre20140929[1] (~)3.0.0_pre20140929-r1[1] (~)3.0.0_pre20141223[1] (~)3.0.0_pre20141223-r1[1] **9999 **9999[1] {debug mysql oci8-instant-client oracle postgres} [1] "local_hdd" /usr/portage/local But 2.1.1 version was removed for rather long ago… Next one: # eix -I fbtools [I] app-officeext/ooofbtools Available versions: 2.12 ~2.18^p[1] ~2.21^p[1] ~2.24^p[1] ~2.25[1] ~2.26[1] ~2.26-r1 ~2.26-r1[1] ~2.27[1] ~2.28[1] ~2.29^p[1] 2.30 ~2.30^p[1] ~2.31[1] (~)2.32[1] {doc examples OFFICE_IMPLEMENTATION="libreoffice openoffice"} Installed versions: 2.32[1](15:42:40 02/04/15)(OFFICE_IMPLEMENTATION="libreoffice -openoffice") Homepage: https://sourceforge.net/projects/fbtools/ Description: Extension for converting and processing eBooks in FictionBook2 format with validator [1] "local_hdd" /usr/portage/local 2.12 was gone away many months ago. And 2.26-r1 too. Outdated (removed from main tree, but present in portage's cache) were installed. Not ever installed (for example =app-officeext/ooofbtools-2.25 or 2.26 from gentoo overlay) are cleaned as expected. Switching to default (parse) cache method (see bug #538916) changes nothing. Outdated versions still present in eix cache.
Does it help to clear /var/cache/edb/dep/*
(In reply to Martin Väth from comment #1) > Does it help to clear /var/cache/edb/dep/* After cleaning this cache eix fails to rebuild database using sqlite cache at all: # eix-update Reading Portage settings .. Building database (/var/cache/eix/portage.eix) .. [0] 'gentoo' /usr/portage/gentoo/ (cache: sqlite) Reading Packages .. Can't open cache file /var/cache/edb/dep/usr/portage/gentoo.sqlite Reading Packages .. ABORTED! [1] 'local_hdd' /usr/portage/local (cache: sqlite) Reading Packages .. Can't open cache file /var/cache/edb/dep/usr/portage/local.sqlite Reading Packages .. ABORTED! Applying masks .. Calculating hash tables .. Writing database file /var/cache/eix/portage.eix .. Database contains 0 packages in 164 categories.
I forgot that the sqlite files also reside in this directory. You have to recreate them as usual (e.g. with emerge --metadata).
Closing as CANTFIX for the reasons explained in the related bug 538916