Summary: | app-portage/eix-0.26.4: eix-sync should call emerge --metadata for cache method sqlite | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ronny Perinke <brainkiller_01> |
Component: | Current packages | Assignee: | Martin Väth <martin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darkside, immerdabeiundnie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
example output
example of missing package version |
Description
Ronny Perinke
2012-09-10 17:49:10 UTC
Created attachment 323440 [details]
example output
example output that shows the difference between eix-diff and 'emerge -uvpDN world' and that alsa-utils-1.0.26 is missing in eix
eix is just a cache, if the cache is outdated there will be outdated results shown. But the cache should be up to date because eix-update was/is called automatically at the end of eix-sync (http://git.berlios.de/cgi-bin/gitweb.cgi?p=eix;a=blob;f=src/eix-sync.in;hb=HEAD#l498) eix-sync (and eix-diff) only shows the packages which changed _since the last eix-sync_. So e.g. you probably have seen the alsa upgrade at some earlier eix-sync but at that time ignored it. At the next eix-sync, it is not shown again, no matter whether you updated alsa or not (unless there was yet another alsa upgrade in the tree). What you expected to see is perhaps the output of eix -uc (which does not care what happened at an earlier eix-sync). In case that you really suspect that eix-sync (i.e. eix-diff) does not show all packages, verify it manually as follows: Call eix [name of the missing package] and compare it with EIX_CACHEFILE=/var/cache/eix/previous.eix eix [name of the missing package] If there really is a difference in the stability of an upgrade version but the package is not shown by eix-diff please post this occurrence (and just to be sure safe the files /var/cache/eix/portage.eix and /var/cache/eix/previous.eix) I have an issue that looks incredibly similar to this one. Starting roughly (don't remember exactly) six weeks ago, using "eix-sync" has not been performing a metadata cache update (like emerge --metadata) anymore. Since I'm using the sqlite cache implementation, eix-update + eix-diff obviously cannot show me any updates. Only after I manually perform "emerge --metadata; eix-update; eix-diff", those updates show up. My FEATURES still include "metadata-transfer". Is this related, and what can I do to help make this go back to the way it was? Thanks for your attention. (In reply to comment #5) > Starting roughly (don't remember exactly) six weeks ago, using "eix-sync" > has not been performing a metadata cache update (like emerge --metadata) > anymore. It is no longer default. You need eix-sync -M. Use echo -M >>/etc/eix-sync.conf to make it default. Created attachment 323812 [details] example of missing package version (In reply to comment #4) > eix-sync (and eix-diff) only shows the packages which > changed _since the last eix-sync_. > > So e.g. you probably have seen the alsa upgrade at some earlier eix-sync > but at that time ignored it. At the next eix-sync, it is not shown again, > no matter whether you updated alsa or not (unless there was yet > another alsa upgrade in the tree). > > What you expected to see is perhaps the output of eix -uc > (which does not care what happened at an earlier eix-sync). > > In case that you really suspect that eix-sync (i.e. eix-diff) does not > show all packages, verify it manually as follows: Call > eix [name of the missing package] > and compare it with > EIX_CACHEFILE=/var/cache/eix/previous.eix eix [name of the missing package] > If there really is a difference in the stability of an upgrade version > but the package is not shown by > eix-diff > please post this occurrence (and just to be sure safe the files > /var/cache/eix/portage.eix and /var/cache/eix/previous.eix) here we go ... sync before 9/10/2012, sync after 9/14/2012 sephiroth-pc eix # eix app-emulation/virtualbox-bin [I] app-emulation/virtualbox-bin Available versions: 4.1.12^m (~)4.1.16^m 4.1.18^m (~)4.1.20^m (~)4.1.22^m {{+additions +chm debug headless python rdesktop-vrdp sdk vboxwebsrv}} Installed versions: 4.1.22^m(21:15:15 10.09.2012)(additions chm -debug -headless -python -rdesktop-vrdp -sdk -vboxwebsrv) Homepage: http://www.virtualbox.org/ Description: Family of powerful x86 virtualization products for enterprise as well as home use sephiroth-pc eix # EIX_CACHEFILE=/var/cache/eix/previous.eix eix app-emulation/virtualbox-bin [I] app-emulation/virtualbox-bin Available versions: 4.1.12^m (~)4.1.16^m 4.1.18^m (~)4.1.20^m (~)4.1.22^m {{+additions +chm debug headless python rdesktop-vrdp sdk vboxwebsrv}} Installed versions: 4.1.22^m(21:15:15 10.09.2012)(additions chm -debug -headless -python -rdesktop-vrdp -sdk -vboxwebsrv) Homepage: http://www.virtualbox.org/ Description: Family of powerful x86 virtualization products for enterprise as well as home use sephiroth-pc eix # emerge -s @app-emulation/virtualbox-bin Searching... [ Results for search key : app-emulation/virtualbox-bin ] [ Applications found : 1 ] * app-emulation/virtualbox-bin Latest version available: 4.2.0 Latest version installed: 4.1.22 Size of files: 89,034 kB Homepage: http://www.virtualbox.org/ Description: Family of powerful x86 virtualization products for enterprise as well as home use License: GPL-2 PUEL sephiroth-pc eix # eix cache before sync -> http://ul.to/j7jzz6nh eix cache after sync -> http://ul.to/rttwrp88 (size of allowed attachment is to low) @Ronny Perinke: For you holds the same as for Hans: With PORTDIR_CACHE_METHOD=sqlite, you must force emerge --metadata before updating the eix database, i.e. you have to put -M into /etc/eix-sync.conf or otherwise your eix database is lagging one sync behind (or even more). I think I will make this option the default if PORTDIR_CACHE_METHOD=sqlite is used. (In reply to comment #9) > I think I will make this option the default if > PORTDIR_CACHE_METHOD=sqlite > is used. This is now the case in the just released eix-0.27.0 +*eix-0.27.0 (17 Sep 2012) + + 17 Sep 2012; Jeremy Olexa <darkside@gentoo.org> +eix-0.27.0.ebuild: + Version bump from upstream, fixes bug 434616 as well (In reply to comment #9) > @Ronny Perinke: > > For you holds the same as for Hans: > > With PORTDIR_CACHE_METHOD=sqlite, you must force emerge --metadata before > updating the eix database, i.e. you have to put -M into /etc/eix-sync.conf > or otherwise your eix database is lagging one sync behind (or even more). > > I think I will make this option the default if > PORTDIR_CACHE_METHOD=sqlite > is used. It's working again with the "-M" option. :) |