-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eix lists deleted ebuilds from overlays #109
Comments
There can be many reasons for your experience. You might have configured eix in some way to keep the data from the previous eix file. A simple way to do this for overlays not existing anymore is by setting KEEP_VIRTUALS. A more likely possibility is that the cache eix is reading its data from is stale. I suggest you to check where eix-update is reading the data from your overlay and what cache method it is using for that overlay: eix-update shows this information. Then depending on your cache method, check whether there is data in the metadata/cache directory of your overlay which contains this information. Or in /var/cache/edb/$PATH_TO_YOUR_OVERLAY. |
I use sqlite cache method for my repostories. Is there any way to make sure packages are removed from sqlite cache if they do not exist in the overlay? |
Okay, removing sqlite file and then running |
I think emerge --metadata alone should be enough. You should always run this before eix-update if you use cache method sqlite. |
Portage does it automatically after every |
I think emerge --metadata should remove nonexistent ebuilds from the sqlite cache. There might be a bug in the portage implementation. It might be worth filing a bug against portage. |
Just tried it - did |
I experienced the same issue, some old ebuilds from my local overlay were still showing up. This worked for me:
rm /var/cache/eix/*
emerge --metadata
eix-update I'm using |
I had a ebuild in my local overlay, but I removed it long ago. It is still listed in eix even though it doesn't exist in the overlay. The database was updated many times since then.
The text was updated successfully, but these errors were encountered: